Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
SurfaceElementC::SurfaceElementC(SurfaceC &)
SurfaceElementC::SurfaceElementC(const SurfaceElementC &)
SurfaceElementC::operator=(const SurfaceElementC &)
SurfaceElementC::~SurfaceElementC(void)
SurfaceElementC::Num(void)
SurfaceElementC::List(void)
SurfaceElementC::Print(void)
SurfaceElementC::Delete(void)
SurfaceElementC::Copy(const SurfaceElementC &)
SurfaceElementC::Valid(void)
SurfaceElementC::IsValid(void)
SurfaceElementC::UpdateElem(void)
RefCounterC::ToBeDeleted(void) const
RefCounterC::Count(void) const
RefCounterC::IsSingleReference(void)
RefCounterC::operator=(const RefCounterC &)
RefCounterC::ToBeDeletedUpdate(const RefCounterC &)
RefCounterC::ReportInvalidObject(char *)
RefCounterBaseC::Label(void) const
SurfaceElementC
 
include "amma/SurfElem.hh"
User Level:Default
Library:surf
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
-------------------------------------------------------------- ALL SURFACE ELEMENT CLASS class SurfaceElementC {

Parent Classes: Variables:
SurfaceC & surface;
surface to which these elements belong

DListC elems;
List of surface elements

int num_elem;
Number of surface elements

Methods:
SurfaceElementC(SurfaceC & s)
constructor SurfaceElementC(const SurfaceC& s); constructor

SurfaceElementC(const SurfaceElementC & e)
copy constructor

const SurfaceElementC & operator=(const SurfaceElementC & e)

~SurfaceElementC()
destructor

int Num()
Number of surface elements

DListC<ElementC> & List()
Access to list of surface elements

void Print()
print surface elements

void Delete()
delete contents

void Copy(const SurfaceElementC & elem)
copy contents as big object

void Valid()
Set surface flag for valid element list -INVALID FOR MULTIPLE ELEM LISTS

int IsValid()
Is this element list valid

void UpdateElem()
update element list

#include "amma/RefCount.hh"
BooleanT ToBeDeleted() const
Returns TRUE if the content should be deleted.

RCCountT Count() const
Returns the number of refrences to this object. NB. The following definition is now obsolete, The value 0 means there is no other reference to this object.

BooleanT IsSingleReference()
Tests is there is only one reference to this object.

const RefCounterC & operator=(const RefCounterC & rC)

BooleanT ToBeDeletedUpdate(const RefCounterC & rC)
This function is the condition and the assigment together. It returns TRUE if the content should be deleted before assigning of the new object. The function automatically solves the reference counter of this object as well as the other object reference counter 'rC'.

void ReportInvalidObject(char * Msg = 0)
This function reports an error to the user if a problem is detected in the refrence counting mechanism.

#include "amma/RefCBase.hh"
LabelT Label() const
Returns the label of this reference counter.
The member function is useful mainly to recognize objects during debugging. The value of the label is uniquely defined pointer.


Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001