cee::PropertySetCollection Class Reference

A collection of property sets. More...

Public Member Functions

 PropertySetCollection ()
 Creates an empty property set collection. More...
 
 PropertySetCollection (const PropertySetCollection &other)
 Constructs a property set collection as a copy of other. More...
 
PropertySetCollectionoperator= (const PropertySetCollection &rhs)
 Assigns rhs to this collection and returns a reference to this collection. More...
 
size_t count () const
 Returns the number of property sets in this collection. More...
 
PropertySetpropertySet (size_t index)
 Returns the property set at index index. More...
 
const PropertySetpropertySet (size_t index) const
 Returns the property set at index index. More...
 
void addPropertySet (PropertySet *propertySet)
 Adds a property set to the collection. More...
 
size_t countOfType (const Str &classType) const
 Returns the number of property sets with the class type classType. More...
 
PropertySetpropertySetOfType (const Str &classType, size_t index)
 Returns the property set number index among all property sets with class type classType. More...
 
const PropertySetpropertySetOfType (const Str &classType, size_t index) const
 Returns the property set number index among all property sets with class type classType. More...
 
- Public Member Functions inherited from cee::RefCountedObject
void addRef () const
 Increments the reference count for this object. More...
 
void release () const
 Decrements the reference count for this object. More...
 
int refCount () const
 Returns the reference count for this object. More...
 
void setRefCountZero () const
 Sets the ref count to zero, but DOES NOT delete the object. More...
 
Inheritance diagram for cee::PropertySetCollection:
cee::RefCountedObject

Detailed Description

A collection of property sets.

Constructor & Destructor Documentation

cee::PropertySetCollection::PropertySetCollection ( )

Creates an empty property set collection.

cee::PropertySetCollection::PropertySetCollection ( const PropertySetCollection other)

Constructs a property set collection as a copy of other.

Member Function Documentation

void cee::PropertySetCollection::addPropertySet ( PropertySet propertySet)

Adds a property set to the collection.

size_t cee::PropertySetCollection::count ( ) const

Returns the number of property sets in this collection.

size_t cee::PropertySetCollection::countOfType ( const Str classType) const

Returns the number of property sets with the class type classType.

PropertySetCollection & cee::PropertySetCollection::operator= ( const PropertySetCollection rhs)

Assigns rhs to this collection and returns a reference to this collection.

PropertySet * cee::PropertySetCollection::propertySet ( size_t  index)

Returns the property set at index index.

const PropertySet * cee::PropertySetCollection::propertySet ( size_t  index) const

Returns the property set at index index.

PropertySet * cee::PropertySetCollection::propertySetOfType ( const Str classType,
size_t  index 
)

Returns the property set number index among all property sets with class type classType.

const PropertySet * cee::PropertySetCollection::propertySetOfType ( const Str classType,
size_t  index 
) const

Returns the property set number index among all property sets with class type classType.