Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::parse::LinkedPropertyList Class Reference

#include <LinkedPropertyList.hpp>

Inheritance diagram for lemur::parse::LinkedPropertyList:

lemur::parse::PropertyList lemur::parse::BasicCollectionProps List of all members.

Public Member Functions

 LinkedPropertyList ()
virtual ~LinkedPropertyList ()
virtual const PropertygetProperty (const string name) const
virtual void startIteration () const
 Starts iteration over properties.

virtual const PropertynextEntry () 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 PropertygetAProperty ()
virtual PropertygetPropertyInternal (const string name) const

Protected Attributes

plist::iterator iterator
plist properties
plist cache
Property returnProp

Constructor & Destructor Documentation

lemur::parse::LinkedPropertyList::LinkedPropertyList  ) 
 

lemur::parse::LinkedPropertyList::~LinkedPropertyList  )  [virtual]
 


Member Function Documentation

void lemur::parse::LinkedPropertyList::clear  )  [virtual]
 

Clears all properties from the list.

Implements lemur::parse::PropertyList.

lemur::parse::Property * lemur::parse::LinkedPropertyList::getAProperty  )  [protected, virtual]
 

const lemur::parse::Property * lemur::parse::LinkedPropertyList::getProperty const string  name  )  const [virtual]
 

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.

lemur::parse::Property * lemur::parse::LinkedPropertyList::getPropertyInternal const string  name  )  const [protected, virtual]
 

bool lemur::parse::LinkedPropertyList::hasMore  )  const [virtual]
 

Tests to see whether there are more properties in the iteration.

Implements lemur::parse::PropertyList.

const lemur::parse::Property * lemur::parse::LinkedPropertyList::nextEntry  )  const [virtual]
 

Returns the next Property in the iteration. Do not deallocate the returned pointer.

Implements lemur::parse::PropertyList.

void lemur::parse::LinkedPropertyList::removeProperty const string  name  )  [virtual]
 

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.

void lemur::parse::LinkedPropertyList::setProperty const Property property  )  [virtual]
 

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.

void lemur::parse::LinkedPropertyList::startIteration  )  const [virtual]
 

Starts iteration over properties.

Implements lemur::parse::PropertyList.


Member Data Documentation

plist lemur::parse::LinkedPropertyList::cache [protected]
 

plist::iterator lemur::parse::LinkedPropertyList::iterator [mutable, protected]
 

plist lemur::parse::LinkedPropertyList::properties [mutable, protected]
 

Property lemur::parse::LinkedPropertyList::returnProp [mutable, protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4