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

  PUBLIC
VLSpaceSetC::VLSpaceSetC(void)
VLSpaceSetC::VLSpaceSetC(const HSetC &)
VLSpaceSetC::VLSpaceSetC(const VLSpaceSetC &)
VLSpaceSetC::Copy(void) const
VLSpaceSetC::List(void) const
HSetC::Copy(void) const
HSetC::IsMember(const T &) const
HSetC::Insert(const T &)
HSetC::Remove(const T &)
HSetC::Empty(void)
HSetC::Size(void) const
HSetC::operator+=(const T &)
HSetC::operator-=(const T &)
HSetC::operator+=(const HSetC &)
HSetC::operator-=(const HSetC &)
HSetC::Random(void) const
HSetC::First(void) const
HSetC::IsEmpty(void) const
HSetC::Union(const HSetC &) const
HSetC::UnionIP(const HSetC &)
HSetC::Intersect(const HSetC &) const
HSetC::IntersectIP(const HSetC &)
HSetC::Disjunction(const HSetC &) const
HSetC::DisjunctionIP(const HSetC &)
HSetC::IsSubset(const HSetC &) const
HSetC::operator==(const HSetC &) const
HSetC::operator!=(const HSetC &) const
VLSpaceSetC
 
Set of spaces.
 
include "amma/Logic2/SpaceSet.hh"
User Level:Default
Library:Logic2
Example:exIndex.cc
Section:Logic.Core
In Scope:std

Comments:
BIG OBJECT

Parent Classes: Methods:
VLSpaceSetC()
Default constructor.

VLSpaceSetC(const HSetC<VLSpaceC> & oth)
Base constructor.

VLSpaceSetC(const VLSpaceSetC & oth)
Copy constructor.

VLSpaceSetC Copy() const
Copy set.
This does a shallow copy.

DListC<VLSpaceC> List() const
Turn contents of this set into a list.

#include "amma/HSet.hh"
HSetC<VLSpaceC> Copy() const
Make a Shallow copy of the set.

BooleanT IsMember(const VLSpaceC & It) const
Is It a member of the set ?

BooleanT Insert(const VLSpaceC & It)
Insert an element into the set.
Ret = False, member already present. True, new member added.

BooleanT Remove(const VLSpaceC & It)
Remove an item from the set.
Ret = True, item removed. False, item not in set.

void Empty()
Remove everthing from the set.

UIntT Size() const
Number of elements in set.

HSetC<VLSpaceC> & operator+=(const VLSpaceC & dat)
Add a member to the set.

HSetC<VLSpaceC> & operator-=(const VLSpaceC & dat)
Remove a member from the set.

HSetC<VLSpaceC> & operator+=(const HSetC<VLSpaceC> & dat)
Add a set to this set.

HSetC<VLSpaceC> & operator-=(const HSetC<VLSpaceC> & dat)
Remove a set from this one.

const VLSpaceC & Random() const
Select a random member of the set.
NOTE: It is the user's responsibility to ensure the set it not empty when this function is called.

const VLSpaceC & First() const
Return the first member of the set.
The exact member this returns is undefined, but it is not random.

NOTE: It is the user's responsibility to ensure the set it not empty when this function is called.


BooleanT IsEmpty() const
Test if the set is empty.

HSetC<VLSpaceC> Union(const HSetC<VLSpaceC> & Oth) const
Get Union of another set with this one.

BooleanT UnionIP(const HSetC<VLSpaceC> & Oth)
Get Union of another set with this one.
Returns true when resulting set in non-empty.

HSetC<VLSpaceC> Intersect(const HSetC<VLSpaceC> & Oth) const
Get intersection of another set with this one.

BooleanT IntersectIP(const HSetC<VLSpaceC> & Oth)
Intersect this set with another (In Place)
Returns true when resulting set in non-empty.

HSetC<VLSpaceC> Disjunction(const HSetC<VLSpaceC> & Oth) const
Return the items in either set but not in both.

BooleanT DisjunctionIP(const HSetC<VLSpaceC> & Oth)
Return the items in either set but not in both. (In Place).
Returns true when resulting set in non-empty.

BooleanT IsSubset(const HSetC<VLSpaceC> & oth) const
is oth a subset of this ?

BooleanT operator==(const HSetC<VLSpaceC> & oth) const
Is equal, ie contains all the same members ?

BooleanT operator!=(const HSetC<VLSpaceC> & oth) const
Is not equal, ie contains different members ?
More comming soon.... (Or on request. )


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001