FDO API Reference | Feature Data Objects |
#include <FeatureSchema.h>
Inherits FdoSchemaElement, and FdoXmlSerializable.
Inheritance diagram for FdoFeatureSchema:
Definition at line 44 of file FeatureSchema.h.
Public Member Functions | |
virtual void | _writeXml (FdoSchemaXmlContext *pContext) |
Write this element to XML. | |
virtual void | _writeXml (FdoXmlWriter *xmlWriter, const FdoXmlFlags *flags) |
FDO_API void | AcceptChanges () |
Accepts all of the changes that have been made to the feature schema. All child elements with a schema element state set to FdoSchemaElementState_Deleted are physically removed from the schema. All other child elements have their schema element state values set to FdoSchemaElementState_Unchanged. This method would usually be only called from an FDO Provider (IApplySchema implementation). It would not normally called by an FDO Client. | |
FDO_API FdoClassCollection * | GetClasses () |
Returns an FdoClassCollection that contains all of the classes defined in the feature schema. | |
virtual FDO_API FdoXmlReader * | GetFromInternalStylesheet () |
Gets the stylesheet for converting a Feature Schema collection from internal to external XML format. The internal format is very similar to the Feature Schema class hierarchy. The external format is OGC GML. | |
FDO_API FdoRelationCollection * | GetRelations () |
Returns an FdoRelationCollection that contains all of the relations defined in the feature schema. | |
FDO_API void | RejectChanges () |
Rejects all of the changes that have been made to the feature schema. All child elements with a schema element state set to FdoSchemaElementState_Added are physically removed from the schema. All other child elements are restored to their original states and have their schema element state values set to FdoSchemaElementState_Unchanged. | |
void | Set (FdoFeatureSchema *pSchema, FdoSchemaXmlContext *pContext) |
Public non-API functions for XML serialization. | |
virtual FdoXmlSaxHandler * | XmlStartElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname, FdoXmlAttributeCollection *atts) |
FdoXmlDeserializabe callback override to handle start of sub-elements. | |
Static Public Member Functions | |
static FdoXmlReader * | _getFromInternalStylesheet () |
Allows FeatureSchemaCollection to get the stylesheet. | |
static FDO_API FdoFeatureSchema * | Create (FdoString *name, FdoString *description) |
Constructs an instance of an FdoFeatureSchema using the specified arguments. | |
static FDO_API FdoFeatureSchema * | Create () |
Constructs a default empty instance of an FdoFeatureSchema. | |
Protected Member Functions | |
virtual void | Dispose () |
Dispose this object. | |
FdoFeatureSchema (FdoString *name, FdoString *description) | |
Constructs an instance of an FdoFeatureSchema using the specified arguments. | |
FdoFeatureSchema () | |
Constructs a default empty instance of an FdoFeatureSchema. | |
virtual | ~FdoFeatureSchema () |
Comments or suggestions? Send us feedback. |