Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Arrays - Buffer - Buffer2dC<class DataT>
 

  PUBLIC
Buffer2dC::Buffer2dC(void)
Buffer2dC::Buffer2dC(SizeT,SizeT)
Buffer2dC::Buffer2dC(const BufferC &,SizeT)
Buffer2dC::Buffer2dC(SizeT,SizeT,DataT *,bool,bool)
Buffer2dC::Body(void)
Buffer2dC::Body(void) const
Buffer2dC::Data(void)
Buffer2dC::Data(void) const
Buffer2dC::Size1(void) const
Buffer2dC::Size2(void) const
BufferC::Body(void)
BufferC::Body(void) const
BufferC::Size(void) const
BufferC::ReferenceElm(void) const
BufferC::Fill(const DataT &)
BufferC::BufferAccess(void) const
BufferC::operator SizeBufferAccessC &(void) const
RCHandleVC::Body(void) const
RCHandleVC::Body(void)
RCHandleVC::Save(ostream &) const
RCHandleVC::Save(BinOStreamC &) const
RCHandleVC::Abstract(void)
RCHandleVC::operator >>(istream &,RCHandleVC &)
RCHandleVC::operator >>(BinIStreamC &,RCHandleVC &)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   Buffer2dC<class DataT>   
 
Buffer2D
 
include "Ravl/Buffer2d.hh"
Source file:Ravl/Core/Container/Buffer/Buffer2d.hh
User Level:Develop
Library:RavlCore
In Scope:RavlN

Comments:
This holds a handle to data used in various 2d arrays.

Parent Classes: Methods:
Buffer2dC()
Default constructor.
creates an invalid handle.

Buffer2dC(SizeT size1,SizeT size2)
Sized constructor.

Buffer2dC(const BufferC<DataT> & dat,SizeT size1)
Construct a buffer with data area 'dat' and an access buffer with 'size1' entries.

Buffer2dC(SizeT size1,SizeT size2,DataT * data,bool copy = false,bool deletable = true)
Construct from an existing buffer.

Buffer2dBodyC<DataT> & Body()
Access body.

const Buffer2dBodyC<DataT> & Body() const
Constant access to body.

BufferC<DataT> & Data()
Access data buffer.

const BufferC<DataT> & Data() const
Access data buffer.

SizeT Size1() const
Get size of buffer along dimention 1

SizeT Size2() const
Get size of buffer along dimention 2 (estimate.)

#include "Ravl/Buffer.hh"
BufferBodyC<BufferAccessC<DataT>> & Body()
Access body.

const BufferBodyC<BufferAccessC<DataT>> & Body() const
Constant access to body.

UIntT Size() const
Access size of buffer.

BufferAccessC<DataT> * ReferenceElm() const
Returns the pointer to the reference element of the attached buffer.
The reference element need not to be the valid element of the buffer.

void Fill(const BufferAccessC<DataT> & val)
Fill buffer with value.

const SizeBufferAccessC<BufferAccessC<DataT>> & BufferAccess() const
Access buffer.

operator SizeBufferAccessC<BufferAccessC<DataT>> &() const
Access as a size buffer.
I don't like this, but it gets around an irritating warning from gcc.

#include "Ravl/RCHandleV.hh"
const BufferBodyC<DataT> & Body() const
Constant access to body of object.

BufferBodyC<DataT> & Body()
Constant access to body of object.

bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCAbstractC Abstract()
Create an abstract handle.

istream & operator >>(istream & strm,RCHandleVC<BufferBodyC<DataT>> & obj)

BinIStreamC & operator >>(BinIStreamC & strm,RCHandleVC<BufferBodyC<DataT>> & obj)

#include "Ravl/RefCounter.hh"
const RCHandleC<BufferBodyC<DataT>> & operator =(const RCHandleC<BufferBodyC<DataT>> & oth)
Assign handle.

RCHandleC<BufferBodyC<DataT>> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<BufferBodyC<DataT>> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<BufferBodyC<DataT>> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

BufferBodyC<DataT> & Body()
Access body of object.

const BufferBodyC<DataT> & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<BufferBodyC<DataT>> & obj)

istream & operator >>(istream & strm,RCHandleC<BufferBodyC<DataT>> & obj)


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002