|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Derived Classes:
Methods:
- VLSpaceC()
-
Default constructor, creates null handle.
- VLSpaceC(VLSpace & ns)
-
Construct a handle to a space.
- VLSpaceC Copy() const
-
Make a copy of the space.
- BooleanT IsMember(const VLSymbC & s) const
-
Is symbol defined in space.
- BooleanT operator[](const VLSymbC & s) const
-
Is symbol defined in space ?
NB. This can NOT be used to define and undefine
symbols.
- BooleanT IsMember(const VLSymbC & s,VLBindLst & bnds) const
-
Is symbol defined in space, with binds.
- VLSymbIterC Solutions(const VLSymbC & s,VLBindLst & bnds) const
-
Iterate through all matching expressions.
- VLSymbIterC ListAsserted() const
-
List asserted symbols.
- BooleanT Assert(const VLSymbC & s)
-
Assert a symbol as true.
- BooleanT Retract(const VLSymbC & s)
-
Assert a symbol as false.
- BooleanT operator+=(const VLSymbC & s)
-
Short hand for assert.
- BooleanT operator-=(const VLSymbC & s)
-
Short hand for retract.
- BooleanT operator+=(const VLMinTermC & s)
-
Short hand for assert/retract conditions within minterm.
- BooleanT operator-=(const VLMinTermC & s)
-
Short hand for assert/retract inverse minterm.
NOT SUPPORTED!
- VLMinTermC Differences(const VLSpaceC & other) const
-
List differences between this space and another.
Positive differences are symbols in this space but not 'other'
Netagive differences are symbols in the 'other' space but not this one
- IntT Size() const
-
How many symbols are there in the space ?
return: -1 = Unknown.
- VLSymbC Random() const
-
Select random member of the space.
- void Dump(ostream & out) const
-
Dump to stream in human readable format.
- BooleanT operator==(const VLSpaceC & oth) const
-
Is equal ?
- unsigned int Hash() const
-
Hash function.
This is simply the sum of the hash values of its members.
- 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<VLSpace> & operator=(const RCHandleC<VLSpace> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<VLSpace> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<VLSpace> & 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:
- void Invalidate()
-
Turn this into an invalid handle.
- VLSpace & Body()
-
Direct access to body.
- const VLSpace & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|