Public Member Functions | Protected Member Functions | Protected Attributes

PropertySet Class Reference

List of all members.

Public Member Functions

 PropertySet ()
 PropertySet (const PropertyRefSelection &)
 Creates ValueProperty's.
virtual ~PropertySet ()
int size () const
bool isEmpty () const
int indexOf (const char *, bool matchaliases=false) const
bool isPresent (const char *nm, bool ma=false) const
Propertyget (int idx)
const Propertyget (int idx) const
const Propertyfind (const char *nm, bool ma=false) const
Propertyfind (const char *nm, bool ma=false)
int indexOf (const PropertyRef &pr) const
int indexOf (PropertyRef::StdType, int occ=0) const
bool add (Property *)
 refuses to add with identical name
int set (Property *)
 add or change into. returns index.
void remove (int)
void replace (int, Property *)
void erase ()
bool prepareUsage () const
 init()'s all Properties
const char * errMsg () const

Protected Member Functions

Propertyfnd (const char *, bool) const

Protected Attributes

ObjectSet< Propertyprops_
BufferString errmsg_

Constructor & Destructor Documentation

PropertySet::PropertySet (  )  [inline]
PropertySet::PropertySet ( const PropertyRefSelection  ) 

Creates ValueProperty's.

virtual PropertySet::~PropertySet (  )  [inline, virtual]

Member Function Documentation

bool PropertySet::add ( Property  ) 

refuses to add with identical name

void PropertySet::erase (  )  [inline]
const char* PropertySet::errMsg (  )  const [inline]
const Property* PropertySet::find ( const char *  nm,
bool  ma = false 
) const [inline]
Property* PropertySet::find ( const char *  nm,
bool  ma = false 
) [inline]
Property* PropertySet::fnd ( const char *  ,
bool   
) const [protected]
Property& PropertySet::get ( int  idx  )  [inline]
const Property& PropertySet::get ( int  idx  )  const [inline]
int PropertySet::indexOf ( const PropertyRef pr  )  const [inline]
int PropertySet::indexOf ( const char *  ,
bool  matchaliases = false 
) const
int PropertySet::indexOf ( PropertyRef::StdType  ,
int  occ = 0 
) const
bool PropertySet::isEmpty (  )  const [inline]
bool PropertySet::isPresent ( const char *  nm,
bool  ma = false 
) const [inline]
bool PropertySet::prepareUsage (  )  const

init()'s all Properties

void PropertySet::remove ( int   ) 
void PropertySet::replace ( int  ,
Property  
)
int PropertySet::set ( Property  ) 

add or change into. returns index.

int PropertySet::size (  )  const [inline]

Member Data Documentation

BufferString PropertySet::errmsg_ [mutable, protected]