C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Array for registration of objects with information about reading/writing position. More...
#include <io_tape.h>
Public Member Functions | |
TapeRegistratorEx () | |
Constructor. | |
virtual TapeBase * | Get (const ClusterReference &ref) const |
Get the pointer of the registered object by the position in the cluster. | |
virtual ClusterReference | GetClusterRef (size_t ind) const |
Get position in the cluster by given index. | |
virtual void | AddClusterRef (size_t ind, const ClusterReference &ref) |
Add the object position in the cluster. | |
virtual void | FlushRegistered () |
Flush the array of registered objects. | |
virtual void | FlushObj (const TapeBase *) |
Flush the registered object. | |
![]() | |
TapeRegistrator () | |
Map of [index]-[object] pairs. More... | |
virtual | ~TapeRegistrator () |
Destructor. | |
size_t | Count () const |
Get a number of registered objects. | |
bool | Reserve (size_t n) |
Reserve space for a given number of elements. | |
size_t | FindIt (const TapeBase *e) const |
Find the object in array. | |
bool | IsExist (const TapeBase *e) const |
Whether the object is in the array. | |
size_t | GetMaxCount () const |
Get the maximal possible number of registered objects. | |
TapeBase * | operator[] (size_t ind) const |
Get the pointer from the registered object array by the given index. More... | |
size_t | Add (const TapeBase *e) |
Add the object to the array. | |
Additional Inherited Members | |
![]() | |
void | FlushObjInd (size_t) |
Flush the registered object. | |
![]() | |
size_t | maxCount |
Map of [object]-[index] pairs. | |
IndexTapeMap | indexesAndObjs |
Maximal number of registered objects. | |
Array for registration of objects with information about reading/writing position.
Array for registration of objects with information about reading/writing position.