AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgFeatureSchemaCollection Class Reference
[MgFeatureSchemaCollection]

Inherits MgCollection.

List of all members.


Detailed Description

FeatureSchemaCollection represents a collection of feature schemas.

Remarks:
All feature schemas are objects of MgFeatureSchema class
Note:
Collections are not thread safe and ordered in the sequence of add operation.

Public Member Functions

void Add (MgFeatureSchema *value)
 Adds the specified item to the end of the collection.
void Clear ()
 Removes all items from the collection.
bool Contains (const MgFeatureSchema *value) const
 Returns true if the collection contains the specified item, false otherwise.
INT32 GetCount () const
 Gets the number of items in the collection.
MgFeatureSchemaGetItem (INT32 index) const
 Gets the item in the collection at the specified index.
INT32 IndexOf (const MgFeatureSchema *value) const
 Returns the index of the specified item in the collection or -1 if the item does not exist.
void Insert (INT32 index, MgFeatureSchema *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.
 MgFeatureSchemaCollection ()
 Constructs a MgFeatureSchemaCollection. The collection is initially empty.
bool Remove (MgFeatureSchema *value)
 Removes the specified item from the collection.
void RemoveAt (INT32 index)
 Removes the specified item from the collection.
void SetItem (INT32 index, MgFeatureSchema *value)
 Sets the item in the collection at the specified index to the specified value.