FDO API Reference Feature Data Objects

PhysicalSchemaMappingCollection Class Reference

List of all members.

Detailed Description

FdoPhysicalSchemaMappingCollection defines a collection of Schema Override sets. This is a generic collection which can contain override sets for different FDO Providers.


Public Member Functions

System::Int32 Add (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
 Adds a NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping object into the collection.
System::Void Clear ()
 Removes all elements from the collection.
System::Boolean Contains (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
 Determines whether the collection contains a specific NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping object.
System::Void CopyTo (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *array[], System::Int32 size)
 Copies the elements of the collection to an array.
__property System::Int32 get_Count (System::Void)
 Gets the count of items in collection.
__property NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping * get_Item (System::Int32 index)
__property NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping * get_RealTypeItem (System::Int32 index)
 Gets or sets a NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping in the collection.
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 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.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * GetFromInternalStylesheet ()
 Gets the stylesheet for converting the XML document from internal to external format. When classes derived from FdoXmlSerializable define an internal format, they must override this function to return a stylesheet that does the conversion.
NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping * GetItem (NAMESPACE_OSGEO_FDO_CONNECTIONS::IConnection *connection, System::String *schemaName)
 Gets the Schema Override set for the specified Feature Schema and the FDO provider for the specified connection. This function allows an application to retrieve the Schema Overrides for an active provider without knowing the provider name.
NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping * GetItem (System::String *providerName, System::String *schemaName)
 Gets the Schema Override set for the specified FDO provider and Feature Schema.
NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping * GetItem (System::Int32 item)
 Gets the Schema Override set in the collection at the specified index. Throws an invalid argument exception if the index is out of range.
NAMESPACE_OSGEO_COMMON_XML::XmlSaxContext * GetSaxContext ()
 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 (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
 Determines the index of a specific NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping object.
System::Void Insert (System::Int32 index, NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
 Inserts a NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping object into the collection at the specified position.
 PhysicalSchemaMappingCollection ()
 Constructs a new empty string collection.
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 (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
 Removes the first occurrence of a specific NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping object.
System::Void RemoveAt (System::Int32 index)
 Removes the index-th NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping from this collection.
__property System::Void set_Item (System::Int32 index, NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
__property System::Void set_RealTypeItem (System::Int32 index, NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *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.