|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
'Bod' must be derived from BodyRefCounterC.
Derived Classes:
Variables:
- BRCPtrC body;
-
Methods:
- RCHandleC()
-
Default constructor.
- RCHandleC(const RCHandleC<Bod> & oth)
-
Copy constructor.
- RCHandleC(const Bod & dat)
-
Create copy of another body.
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<Bod> & operator=(const RCHandleC<Bod> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<Bod> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<Bod> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- RCHandleC(Bod & newbod)
-
Constructor.
- void Invalidate()
-
Turn this into an invalid handle.
- Bod & Body()
-
Direct access to body.
- const Bod & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|