FDO API Reference | Feature Data Objects |
#include <SchemaElement.h>
Inherits FdoIDisposable, and FdoXmlSaxHandler.
Inherited by FdoClassDefinition, FdoFeatureSchema, and FdoPropertyDefinition.
Inheritance diagram for FdoSchemaElement:
Definition at line 39 of file SchemaElement.h.
Public Member Functions | |
virtual FDO_API FdoBoolean | CanSetName () |
Indicates that this object allows its name to change. This function is defined so that this class can be a FdoNamedCollection element. | |
FDO_API void | Delete () |
Marks the schema element for deletion by setting the element state to FdoSchemaElementState_Deleted. If the schema elements current state is FdoSchemaElementState_Added then the element is physically removed. If the current state is FdoSchemaElementState_Detached this method does nothing. | |
FDO_API FdoSchemaAttributeDictionary * | GetAttributes () |
Gets an FdoSchemaAttributeDictionary that contains the attributes associated with this FdoSchemaElement. | |
virtual FDO_API FdoString * | GetDescription () |
Gets the description of the schema object. | |
FDO_API FdoSchemaElementState | GetElementState () |
Returns the current state of the schema element. | |
virtual FDO_API FdoFeatureSchema * | GetFeatureSchema () |
Gets the FdoFeatureSchema this object is a part of. Returns null if this object has not been added to a feature schema. | |
virtual FDO_API FdoString * | GetName () |
Gets the name of the schema object. | |
virtual FDO_API FdoSchemaElement * | GetParent () |
Gets the parent of this FdoSchemaElement or null if this object has not been added to a parent object. | |
virtual FDO_API FdoStringP | GetQualifiedName () |
Gets the fully qualified name of this schema element. | |
virtual void | InitFromXml (FdoSchemaXmlContext *pContext, FdoXmlAttributeCollection *attrs) |
Initialize this property from its XML attributes. | |
virtual void | Set (FdoSchemaElement *pElement, FdoSchemaXmlContext *pContext) |
Update a schema element from the given element. | |
virtual FDO_API void | SetDescription (FdoString *value) |
Sets the description of the schema object. | |
virtual FDO_API void | SetName (FdoString *value) |
Sets the name of the schema object. | |
virtual FdoBoolean | XmlEndElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname) |
Handle the end of a sub-element. | |
virtual FdoXmlSaxHandler * | XmlStartElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname, FdoXmlAttributeCollection *atts) |
Handle the start of a sub-element. | |
Protected Member Functions | |
virtual void | _AcceptChanges () |
virtual void | _BeginChangeProcessing () |
virtual void | _EndChangeProcessing () |
virtual void | _RejectChanges () |
virtual void | _StartChanges () |
FdoFeatureSchema::RejectChanges() support. | |
virtual void | _writeXml (FdoSchemaXmlContext *pContext) |
Write this element to XML. | |
FdoSchemaElement (FdoString *name, FdoString *description) | |
Constructs an instance of an FdoSchemaElement using the specified arguments. | |
FdoSchemaElement () | |
Constructs a default instance of an FdoSchemaElement. | |
virtual bool | IsProperty (const FdoPropertyDefinition *property) |
Is this a property of this element? | |
virtual bool | IsSubClass () |
Does this element have a base class? | |
virtual void | PropertyRemoved (const FdoPropertyDefinition *property) |
Notification method called whenever a property of this element is removed. | |
void | SetElementState (FdoSchemaElementState value) |
virtual void | SetParent (FdoSchemaElement *value) |
void | VldName (FdoString *name) |
virtual | ~FdoSchemaElement () |
Protected Attributes | |
unsigned int | m_changeInfoState |
wchar_t * | m_descriptionCHANGED |
wchar_t * | m_nameCHANGED |
FdoSchemaElement * | m_parentCHANGED |
FdoXmlCharDataHandlerP | m_XmlContentHandler |
SAX Handler for reading simple sub-element contents. | |
FdoPtr< FdoSchemaXmlError > | m_XmlErrorHandler |
Static Protected Attributes | |
static const unsigned int | CHANGEINFO_PRESENT = 0x00000001 |
States stored in the m_changeInfoState bitfield flag. | |
static const unsigned int | CHANGEINFO_PROCESSED = 0x00000004 |
static const unsigned int | CHANGEINFO_PROCESSING = 0x00000002 |
Friends | |
class | FdoDataPropertyDefinitionCollection |
class | FdoFeatureSchema |
class | FdoNetworkFeatureClass |
class | FdoNetworkLinkFeatureClass |
class | FdoNetworkNodeFeatureClass |
class | FdoPropertyDefinitionCollection |
class | FdoSchemaAttributeDictionary |
class | FdoSchemaCollection |
Comments or suggestions? Send us feedback. |