Home You are here: Home > Support > Reference v1.0

Change language: German

TXmObjectVector Class Template Reference

Inheritance diagram for TXmObjectVector:

TXmVector XmArray TXmObjectVectorObject List of all members.

Detailed Description

template<class C>
class exom::TXmObjectVector< C >

Container template with XmArray interface for managing items of the specified class derived from XmObject.

This template is vector based container, which allow managing an unlimited number of items of the same class. This class have to be derived from XmObject. By design this template has no XmObject interface, to be more flexible for integration.


Public Member Functions

Overridables - XmArray
void manageItems (XmMan &m)
 Implement the handling and iteration for the different XmMan derivations.
void DeleteArrItem (int pos)
 Delete item with the given index.
int MoveArrItem (int pos, int offset)
 Move the item with given index at offset positions.
bool MoveArrItemEnable (int pos, int offset)
 Check, if it is possible to move the given item.
XmObjectObjectAtIndex (int pos) const
 Supply the item with index, if available.
void ClearArray ()
 Delete all items of the container.
void AppendNewItem (XmAppendCx &ac)
 Append an item to the container.
void ArrayProp (XmArrayProp &ap) const
 Set general array properties.

Protected Member Functions

void manageArray (XmMan &m)
 Enable managing the contained items - have to be called within the manage() function of the enclosing object.


Member Function Documentation

void manageItems XmMan m  )  [inline, virtual]
 

Implement the handling and iteration for the different XmMan derivations.

see TXmObjectVectorObject, how to implement this member function.

Implements XmArray.


Copyright © 2006 Praetz Software Development - www.exomware.com