#include <PropertyList.hpp>
Inheritance diagram for lemur::parse::PropertyList:
Public Member Functions | |
virtual | ~PropertyList () |
virtual const Property * | getProperty (const string name) const =0 |
virtual void | startIteration () const =0 |
Starts iteration over properties. | |
virtual const Property * | nextEntry () const =0 |
virtual bool | hasMore () const =0 |
Tests to see whether there are more properties in the iteration. | |
virtual void | setProperty (const Property *property)=0 |
virtual void | removeProperty (const string name)=0 |
virtual void | clear ()=0 |
Clears all properties from the list. |
|
|
|
Clears all properties from the list.
Implemented in lemur::parse::LinkedPropertyList. |
|
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. Implemented in lemur::parse::LinkedPropertyList. |
|
Tests to see whether there are more properties in the iteration.
Implemented in lemur::parse::LinkedPropertyList. |
|
Returns the next Property in the iteration. Do not deallocate the returned pointer. Implemented in lemur::parse::LinkedPropertyList. |
|
Removes a property from the list with the passed in name. If no property in the list has the name, the function fails silently. Implemented in lemur::parse::LinkedPropertyList. |
|
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. Implemented in lemur::parse::LinkedPropertyList. |
|
Starts iteration over properties.
Implemented in lemur::parse::LinkedPropertyList. |