FDO API Reference Feature Data Objects

FeatureSchemaCollection Class Reference

List of all members.

Detailed Description

The FdoFeatureSchemaCollection class represents a collection of FdoFeatureSchema objects.


Public Member Functions

System::Int32 Add (FeatureSchema *value)
 Adds a FeatureSchema object into the collection.
System::Void Clear ()
 Removes all elements from the collection.
System::Boolean Contains (String *name)
System::Boolean Contains (FeatureSchema *value)
 Determines whether the collection contains a specific FeatureSchema object.
System::Void CopyTo (FeatureSchema *array[], System::Int32 size)
 Copies the elements of the collection to an array.
 FeatureSchemaCollection (System::IntPtr unmanaged, System::Boolean autoDelete)
 FeatureSchemaCollection (NAMESPACE_OSGEO_FDO_SCHEMA::SchemaElement *parent)
NAMESPACE_OSGEO_FDO::IDisposableCollection * FindClass (System::String *className)
 Takes a qualified or unqualified class name and return a collection of class definitions that match the class name. For qualified name, the collection contains at most one class definition.
__property System::Int32 get_Count (System::Void)
 Gets the count of items in collection.
__property FeatureSchemaget_Item (System::Int32 index)
__property FeatureSchemaget_RealTypeItem (System::String *index)
__property FeatureSchemaget_RealTypeItem (System::Int32 index)
 Gets or sets a FeatureSchema in the collection.
__property NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMappingCollection * get_XmlSchemaMappings ()
 Gets a Schema Mapping Collection that describes the mappings between the elements in the GML Schema that were read and the FDO Feature Schema Elements that were created. This function returns the Schema Mapping Collection generated by the last call to ReadXml(). The collection contains one FdoXmlSchemaMapping per schema that was read.
NAMESPACE_OSGEO_FDO_XML::XmlFlags * GetDeserializationFlags ()
 Gets the XML Flags that were passed to the ReadXml() function that is currently being executed. This function would typically be called by the FdoXmlSaxHandler callbacks.
__sealed System::Collections::IEnumerator * GetEnumerator (System::Void)
 Gets an enumerator that can iterate through a collection.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * GetFromExternalStylesheet ()
 Gets the stylesheet for converting a Feature Schema collection from external to internal XML format. The internal format is very similar to the Feature Schema class hierarchy. The external format is OGC GML.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * 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.
NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext * GetSaxContext ()
 Gets the stylesheet for converting the XML document from external to internal format. When classes derived from FdoXmlDeserializable define an internal format, they must override this function to return a stylesheet that does the conversion. Gets the SAX context to pass to the FdoXmlSaxHandler callbacks. Classes derived from FdoXmlDeserializable can override this function to specify a SAX context with class-specific information.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * GetXmlReader ()
 Gets the current XML Reader. This function would typically be called by the FdoXmlSaxHandler callbacks when ReadXml() is being invoked. When ReadXml() reads from a file, stream, or text reader, a wrapping XML reader is automatically created.
System::Int32 IndexOf (String *name)
System::Int32 IndexOf (FeatureSchema *value)
 Determines the index of a specific FeatureSchema object.
System::Void Insert (System::Int32 index, FeatureSchema *value)
 Inserts a FeatureSchema object into the collection at the specified position.
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream)
 Reads an XML document from a stream.
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoTextReader *textReader, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_IO::IoTextReader *textReader)
 Reads an XML document from a text reader.
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_XML::XmlReader *xmlReader, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (NAMESPACE_OSGEO_COMMON_XML::XmlReader *xmlReader)
 Reads an XML document from an XML reader.
System::Void ReadXml (System::String *fileName, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void ReadXml (System::String *fileName)
 Reads from an XML document in a file.
System::Void Remove (FeatureSchema *value)
 Removes the first occurrence of a specific FeatureSchema object.
System::Void RemoveAt (System::Int32 index)
 Removes the index-th FeatureSchema from this collection.
__property System::Void set_Item (System::Int32 index, FeatureSchema *value)
__property System::Void set_RealTypeItem (System::Int32 index, FeatureSchema *value)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream)
 Writes to a stream. A complete XML document, containing this object, is written.
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoTextWriter *textWriter, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoTextWriter *textWriter)
 Writes to a text writer. A complete XML document, containing this object, is written.
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_XML::XmlWriter *xmlWriter, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_XML::XmlWriter *xmlWriter)
 Writes to an XML writer. This object is appended to the XML document being written. Unlike the other WriteXml() functions it is not necessarily the only object in its document.
System::Void WriteXml (String *fileName, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (String *fileName)
 Writes this object to a file. A complete XML document, containing this object, is written.
System::Void XmlCharacters (NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext *context, System::String *characters)
 Default Sax callback that is called when the FdoXmlReader reads a chunk of simple content for the current element. Does nothing by default. This function may be called multiple times for the same element, if the the content is long. Applications must not make any assumptions about the chunk size or number of chunks for each element.
System::Void XmlEndDocument (NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext *context)
 Default Sax callback that is called when the FdoXmlReader finishes reading an XML document. Does nothing.
System::Boolean XmlEndElement (NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext *context, System::String *resourceLocation, System::String *name, System::String *qualifiedName)
 Default Sax callback that is called when the FdoXmlReader reads the end tag for an XML element in the document. Does nothing.
NAMESPACE_OSGEO_COMMON_XML::IXmlSaxHandlerXmlStartDocument (NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext *context)
 Default Sax callback that is called when the FdoXmlReader starts reading an XML document. Does nothing.
NAMESPACE_OSGEO_COMMON_XML::IXmlSaxHandlerXmlStartElement (NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext *context, String *resourceLocation, String *name, String *qualifiedName, NAMESPACE_OSGEO_COMMON_XML::XmlAttributeCollection *attributes)
 Default Sax callback that is called when the FdoXmlReader reads the start tag for an XML element in the document. Does nothing.

Protected Member Functions

System::Void Dispose (System::Boolean disposing)

Classes

class  Enumerator
 Nested class defined to provide Enumerator.

Comments or suggestions? Send us feedback.