kangaroo  1.0
the cbls library
ItemList< item > Class Template Reference

Item list to represent collections of systems, functions, variables, constants, and tabus. More...

#include <itemlist.hpp>

Inheritance diagram for ItemList< item >:
Inheritance graph
[legend]

Public Types

Type Information
typedef item ItemType
 Item type.
 

Public Member Functions

Essential Methods
 ~ItemList ()
 Destructor. More...
 
 ItemList ()
 Default constructor. More...
 
 ItemList (ItemList< item > &&that) noexcept=delete
 Move constructor.
 
 ItemList (ItemList< item > const &that)=delete
 Copy constructor.
 
ItemList< item > & operator= (ItemList< item > &&that) noexcept=delete
 Move assignment.
 
ItemList< item > & operator= (ItemList< item > const &that)=delete
 Copy assignment.
 
Memory Methods
void reallocMemAuto ()
 Reallocate memory automatically. More...
 
void adjustMemAuto ()
 Adjust memory automatically. More...
 
void allocMemSafe (Dim const Alloc)
 Allocate more memory. More...
 
Accessor Methods
Dim ItemCount () const
 Return the item count. More...
 
Serial defineItem (item *const Item)
 Define an item and return serial. More...
 
item const * operator[] (Serial const ItemSerial) const
 Return an item for a given serial. More...
 
item * operator[] (Serial const ItemSerial)
 Return an item for a given serial. More...
 
item const * LocateItem (Serial const ItemSerial) const
 Locate an item for a given serial. More...
 
item * LocateItem (Serial const ItemSerial)
 Locate an item for a given serial. More...
 
item ** Items ()
 Return the items. More...
 
item const *const * Items () const
 Return the items. More...
 

Private Attributes

Data Members
xtendMem mMemory
 Memory manager.
 
item ** mItems
 The items.
 

Detailed Description

template<typename item>
class ItemList< item >

Item list to represent collections of systems, functions, variables, constants, and tabus.

Constructor & Destructor Documentation

template<typename item >
ItemList< item >::~ItemList ( )
inline

Destructor.

template<typename item >
ItemList< item >::ItemList ( )
inline

Default constructor.

Member Function Documentation

template<typename item >
void ItemList< item >::reallocMemAuto ( )
inline

Reallocate more memory automatically.

template<typename item >
void ItemList< item >::adjustMemAuto ( )
inline

Adjust the memory automatically.

template<typename item >
void ItemList< item >::allocMemSafe ( Dim const  Alloc)
inline

Allocate more memory.

template<typename item >
Dim ItemList< item >::ItemCount ( ) const
inline

Get the item count of the item list.

template<typename item>
Serial ItemList< item >::defineItem ( item *const  Item)
inline

Define item and return the item serial.

template<typename item >
item const * ItemList< item >::operator[] ( Serial const  ItemSerial) const
inline

Return an item pointer for a given serial.

template<typename item >
item * ItemList< item >::operator[] ( Serial const  ItemSerial)
inline

Return an item pointer for a given serial.

template<typename item >
item const * ItemList< item >::LocateItem ( Serial const  ItemSerial) const
inline

Locate an item in the list using its serial.

template<typename item >
item * ItemList< item >::LocateItem ( Serial const  ItemSerial)
inline

Locate an item in the list using its serial.

template<typename item >
item ** ItemList< item >::Items ( )
inline

Return the item pointer.

template<typename item >
item const *const * ItemList< item >::Items ( ) const
inline

Return the item pointers.


The documentation for this class was generated from the following file: