|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class BodyBufferC is a basic container based of continous storing
of elements randomly accessed by indexing. The container cannot be
shared.
Variables:
Methods:
- BodyBufferC()
-
Creates a default empty buffer that is not valid.
- BodyBufferC(const SizeT n)
-
Creates the buffer able to contain up to 'n' elements. If 'n'==0,
a default empty buffer is created.
- BodyBufferC(DataC * bp)
-
- ~BodyBufferC()
-
Destructor.
- const BodyBufferC & operator=(BodyBufferC & b)
-
This buffer overtakes the memory from buffer 'b'. Buffer 'b'
is not valid after this operation.
Access methods
--------------
- const DataC & operator[](const IndexT i) const
-
Read-only access to the ('i'+1)-th element of the buffer.
- DataC & operator[](const IndexT i)
-
Read-write access to the ('i'+1)-th element of the buffer.
- const BufferAccessC<DataC> & Access() const
-
Returns the access function of this buffer.
- operator const BufferAccessC<DataC> &() const
-
Returns the access function of this buffer.
Defined here because of Visual C++.
Modifications
-------------
- const BodyBufferC<DataC> & Swap(BodyBufferC<DataC> & b)
-
Access methods of both buffers are mutually exchanged. The return
value is this object.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|