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>

+ Inheritance diagram for TapeRegistratorEx:
+ Collaboration diagram for TapeRegistratorEx:

Public Member Functions

 TapeRegistratorEx ()
 Constructor.
 
virtual TapeBaseGet (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.
 
- Public Member Functions inherited from TapeRegistrator
 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.
 
TapeBaseoperator[] (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

- Protected Member Functions inherited from TapeRegistrator
void FlushObjInd (size_t)
 Flush the registered object.
 
- Protected Attributes inherited from TapeRegistrator
size_t maxCount
 Map of [object]-[index] pairs.
 
IndexTapeMap indexesAndObjs
 Maximal number of registered objects.
 

Detailed Description

Array for registration of objects with information about reading/writing position.

Array for registration of objects with information about reading/writing position.


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