Web API Reference MapGuide Open Source

MgCollection Class Reference
[MgCollection]

Inherits MgSerializable.

Inherited by MgBatchPropertyCollection, MgClassDefinitionCollection, MgDisposableCollection, MgFeatureSchemaCollection, MgIntCollection, MgNamedCollection, MgPropertyCollection, MgPropertyDefinitionCollection, MgSerializableCollection, MgStringCollection, and MgStringPropertyCollection.

Inheritance diagram for MgCollection:

Inheritance graph
[legend]
List of all members.

Detailed Description

MgCollection is an abstract class for defining standard collection access for all collection classes.

Note:
Collections are NOT thread safe and ordered in the sequence of add operation.


Public Member Functions

virtual void Clear ()=0
 Removes all items from the collection.
virtual INT32 GetCount () const =0
 Gets the number of items in the collection.
virtual void RemoveAt (INT32 index)=0
 Removes the specified item from the collection.