rtl::ListT< ARLIST, ARSTRUCT, OBJ > Class Template Reference

A template for AR System collections based on std::list. More...

#include <ListT.h>

Inheritance diagram for rtl::ListT< ARLIST, ARSTRUCT, OBJ >:

rtl::AssignableT< ARLIST > List of all members.

Public Member Functions

AssignableT< ARLIST > & operator= (const ARLIST &arList)
 Assign an AR System C API structure to this class.

Detailed Description

template<class ARLIST, class ARSTRUCT, class OBJ>
class rtl::ListT< ARLIST, ARSTRUCT, OBJ >

A template for AR System collections based on std::list.

Use this collection implementation for lists that you typically iterate over, rather than lookup by a key. For example, NameList is an ARNameList implemented based on ListT. On the other hand, FieldValueMap is based on MapT, as it is nearly always used to lookup values by field id. Lookups using a map based collection have O(log N) performance characteristics, where typical lookups in the list implementations (or the AR sytem collections in general) have O(n) performance.


Member Function Documentation

template<class ARLIST, class ARSTRUCT, class OBJ>
AssignableT<ARLIST>& rtl::ListT< ARLIST, ARSTRUCT, OBJ >::operator= const ARLIST &  arList  )  [inline, virtual]
 

Assign an AR System C API structure to this class.

The structure is copied in its entirety, with no dependence on the C API structure once the operation is complete.

Implements rtl::AssignableT< ARLIST >.


The documentation for this class was generated from the following file:
Generated on Thu Dec 29 16:20:28 2005 for RTL by  doxygen 1.4.5