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... | |
PropertySetCollection & | operator= (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... | |
PropertySet * | propertySet (size_t index) |
Returns the property set at index index. More... | |
const PropertySet * | propertySet (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... | |
PropertySet * | propertySetOfType (const Str &classType, size_t index) |
Returns the property set number index among all property sets with class type classType. More... | |
const PropertySet * | propertySetOfType (const Str &classType, size_t index) const |
Returns the property set number index among all property sets with class type classType. More... | |
![]() | |
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... | |
A collection of property sets.
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.
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.