Public Member Functions | Protected Member Functions

PropertyRefSet Class Reference

Inheritance diagram for PropertyRefSet:
ObjectSet< PropertyRef > OD::Set

List of all members.

Public Member Functions

 PropertyRefSet ()
 ~PropertyRefSet ()
bool isPresent (const char *nm) const
int indexOf (const char *) const
int indexOf (PropertyRef::StdType, int occ=0) const
PropertyReffind (const char *nm)
const PropertyReffind (const char *nm) const
int add (PropertyRef *)
virtual PropertyRefSetoperator+= (PropertyRef *pr)
int ensurePresent (PropertyRef::StdType, const char *nm1, const char *nm2=0, const char *nm3=0)
bool save (Repos::Source) const
void readFrom (ascistream &)
bool writeTo (ascostream &) const

Protected Member Functions

PropertyReffnd (const char *) const

Constructor & Destructor Documentation

PropertyRefSet::PropertyRefSet (  )  [inline]
PropertyRefSet::~PropertyRefSet (  )  [inline]

Member Function Documentation

int PropertyRefSet::add ( PropertyRef  ) 

refuses if another one isKnownAs. If not added, clean up the mess yourself (i.e. delete it)

int PropertyRefSet::ensurePresent ( PropertyRef::StdType  ,
const char *  nm1,
const char *  nm2 = 0,
const char *  nm3 = 0 
)
const PropertyRef* PropertyRefSet::find ( const char *  nm  )  const [inline]
PropertyRef* PropertyRefSet::find ( const char *  nm  )  [inline]
PropertyRef* PropertyRefSet::fnd ( const char *   )  const [protected]
int PropertyRefSet::indexOf ( const char *   )  const
int PropertyRefSet::indexOf ( PropertyRef::StdType  ,
int  occ = 0 
) const [inline]
bool PropertyRefSet::isPresent ( const char *  nm  )  const [inline]
virtual PropertyRefSet& PropertyRefSet::operator+= ( PropertyRef pr  )  [inline, virtual]

Reimplemented from ObjectSet< PropertyRef >.

void PropertyRefSet::readFrom ( ascistream  ) 
bool PropertyRefSet::save ( Repos::Source   )  const
bool PropertyRefSet::writeTo ( ascostream  )  const