kangaroo
1.0
the cbls library
|
Item list to represent collections of systems, functions, variables, constants, and tabus. More...
#include <itemlist.hpp>
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. | |
Item list to represent collections of systems, functions, variables, constants, and tabus.
item | The data type of the items. |
|
inline |
Reallocate more memory automatically.
|
inline |
Adjust the memory automatically.
|
inline |
Allocate more memory.
|
inline |
Get the item count of the item list.
|
inline |
Define item and return the item serial.
|
inline |
Return an item pointer for a given serial.
|
inline |
Return an item pointer for a given serial.
|
inline |
Locate an item in the list using its serial.
|
inline |
Locate an item in the list using its serial.
|
inline |
Return the item pointer.
|
inline |
Return the item pointers.