#include <LinkedPropertyList.hpp>
Inheritance diagram for LinkedPropertyList:
Public Methods | |
LinkedPropertyList () | |
~LinkedPropertyList () | |
virtual const Property * | getProperty (const char *name) const |
virtual void | startIteration () const |
Starts iteration over properties. | |
virtual const Property * | nextEntry () const |
virtual bool | hasMore () const |
Tests to see whether there are more properties in the iteration. | |
virtual void | setProperty (const Property *property) |
virtual void | removeProperty (const char *name) |
virtual void | clear () |
Clears all properties from the list. | |
Protected Methods | |
virtual Property * | getAProperty () |
virtual Property * | getPropertyInternal (const char *name) const |
Protected Attributes | |
plist::iterator | iterator |
plist | properties |
plist | cache |
Property | returnProp |
|
|
|
|
|
Clears all properties from the list.
Implements PropertyList. |
|
|
|
Returns the property with a given name. Returns NULL if there is no property in the list with that name. Do not deallocate the returned pointer. Implements PropertyList. |
|
|
|
Tests to see whether there are more properties in the iteration.
Implements PropertyList. |
|
Returns the next Property in the iteration. Do not deallocate the returned pointer. Implements PropertyList. |
|
Removes a property from the list with the passed in name. If no property in the list has the name, the function fails silently. Implements PropertyList. |
|
Adds/changes a property into the list. Overwrites a property with the same value. The actual property stored is a copy of the property passed in. Changes after calling this function to the property passed in will not affect the property in the list. Implements PropertyList. |
|
Starts iteration over properties.
Implements PropertyList. |
|
|
|
|
|
|
|
|