ConfigDB::ArrayPool Class Reference
This pool stores array data. More...
#include <Pool.h>
Inheritance diagram for ConfigDB::ArrayPool:
Collaboration diagram for ConfigDB::ArrayPool:
Public Member Functions | |
| ArrayPool () | |
| ArrayPool (const ArrayPool &other) | |
| ~ArrayPool () | |
| ArrayId | add (const ObjectInfo &object) |
| ArrayId | add (const PropertyInfo &prop) |
| ArrayData & | operator[] (ArrayId id) |
| const ArrayData & | operator[] (ArrayId id) const |
| void | clear () |
| size_t | usage () const |
Public Member Functions inherited from ConfigDB::PoolData | |
| PoolData (size_t itemSize) | |
| PoolData (const PoolData &other) | |
| PoolData (PoolData &&other) | |
| PoolData & | operator= (const PoolData &other) |
| size_t | getCount () const |
| size_t | getCapacity () const |
| size_t | getItemSize () const |
| size_t | getItemSize (size_t count) const |
| void * | operator[] (unsigned index) |
| const void * | operator[] (unsigned index) const |
| void | clear () |
| bool | ensureCapacity (size_t capacity) |
| size_t | usage () const |
Additional Inherited Members | |
Protected Member Functions inherited from ConfigDB::PoolData | |
| void * | allocate (size_t itemCount) |
| void | deallocate (size_t itemCount) |
| void * | getItemPtr (unsigned index) |
| const void * | getItemPtr (unsigned index) const |
Protected Attributes inherited from ConfigDB::PoolData | |
| void * | buffer {} |
| uint16_t | count {0} |
| uint8_t | space {0} |
| uint8_t | itemSize |
Detailed Description
This pool stores array data.
An array has fixed-size items.
Constructor & Destructor Documentation
◆ ArrayPool() [1/2]
|
inline |
◆ ArrayPool() [2/2]
| ConfigDB::ArrayPool::ArrayPool | ( | const ArrayPool & | other | ) |
◆ ~ArrayPool()
|
inline |
Member Function Documentation
◆ add() [1/2]
|
inline |
◆ add() [2/2]
|
inline |
◆ clear()
| void ConfigDB::ArrayPool::clear | ( | ) |
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ usage()
|
inline |
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.9.1