FDO API Reference Feature Data Objects

FdoSchemaCollection< OBJ > Class Template Reference

#include <SchemaCollection.h>

Inherits FdoNamedCollection< OBJ, FdoSchemaException >.

Inheritance diagram for FdoSchemaCollection< OBJ >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class OBJ>
class FdoSchemaCollection< OBJ >

FdoSchemaCollection is an abstract template class that is used to define schema collections; FdoClassCollection, FdoDatapropertyDefinitionCollection, FdoFeatureClassCollection, FdoFeatureSchemaCollection, FdoPropertyDefinitionCollection, and FdoRelationCollection.

Definition at line 35 of file SchemaCollection.h.


Public Member Functions

virtual FDO_API FdoInt32 Add (OBJ *value)
 Adds the specified item to the end of the collection. Returns the index of the newly added item.
virtual FDO_API void Clear ()
 Removes all items from the collection.
virtual FDO_API void Insert (FdoInt32 index, OBJ *value)
 Inserts the specified item at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item. Throws an invalid argument exception if the specified index is out of range.
virtual FDO_API void Remove (const OBJ *value)
 Removes the specified item from the collection. Throws an invalid argument exception if the item does not exist within the collection.
virtual FDO_API void RemoveAt (FdoInt32 index)
 Removes the specified item from the collection. Throws an invalid argument exception if the item does not exist within the collection.
virtual FDO_API void SetItem (FdoInt32 index, OBJ *value)
 Sets the item in the collection at the specified index to the specified value. Throws an invalid argument exception if the index is out of range.

Protected Member Functions

virtual void _AcceptChanges ()
virtual void _BeginChangeProcessing ()
virtual void _EndChangeProcessing ()
virtual void _RejectChanges ()
virtual void _StartChanges ()

Protected Attributes

FdoByte m_changeInfoState
 FdoFeatureSchema::RejectChanges() support.
OBJ ** m_listCHANGED
FdoSchemaElementm_parent
bool m_setItemParent
FdoInt32 m_sizeCHANGED

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

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.