#include <LinkedPropertyList.hpp>
Inheritance diagram for lemur::parse::LinkedPropertyList:
Public Member Functions | |
LinkedPropertyList () | |
virtual | ~LinkedPropertyList () |
virtual const Property * | getProperty (const string 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 string name) |
virtual void | clear () |
Clears all properties from the list. | |
Protected Member Functions | |
virtual Property * | getAProperty () |
virtual Property * | getPropertyInternal (const string name) const |
Protected Attributes | |
plist::iterator | iterator |
plist | properties |
plist | cache |
Property | returnProp |
|
|
|
|
|
Clears all properties from the list.
Implements lemur::parse::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 lemur::parse::PropertyList. |
|
|
|
Tests to see whether there are more properties in the iteration.
Implements lemur::parse::PropertyList. |
|
Returns the next Property in the iteration. Do not deallocate the returned pointer. Implements lemur::parse::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 lemur::parse::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 lemur::parse::PropertyList. |
|
Starts iteration over properties.
Implements lemur::parse::PropertyList. |
|
|
|
|
|
|
|
|