Web API Reference MapGuide Open Source

MgCollection Class Reference
[MgCollection]

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

Inherits MgSerializable.

Inherited by MgBatchPropertyCollection, MgClassDefinitionCollection, MgFeatureSchemaCollection, MgIntCollection, MgPropertyCollection, MgPropertyDefinitionCollection, and MgStringCollection.

List of all members.


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.

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.

Comments or suggestions? Send us feedback.