Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

LinkedPropertyList Class Reference

#include <LinkedPropertyList.hpp>

Inheritance diagram for LinkedPropertyList:

PropertyList List of all members.

Public Methods

 LinkedPropertyList ()
 ~LinkedPropertyList ()
virtual PropertygetProperty (char *name)
virtual void startIteration ()
 Starts iteration over properties.

virtual PropertynextEntry ()
virtual bool hasMore ()
 Tests to see whether there are more properties in the iteration.

virtual void setProperty (Property *property)
virtual void removeProperty (char *name)
virtual void clear ()
 Clears all properties from the list.


Protected Methods

virtual PropertygetAProperty ()
virtual PropertygetPropertyInternal (char *name)

Protected Attributes

plist::iterator iterator
plist properties
plist cache
Property returnProp

Constructor & Destructor Documentation

LinkedPropertyList::LinkedPropertyList  
 

LinkedPropertyList::~LinkedPropertyList  
 


Member Function Documentation

void LinkedPropertyList::clear   [virtual]
 

Clears all properties from the list.

Implements PropertyList.

Property * LinkedPropertyList::getAProperty   [protected, virtual]
 

Property * LinkedPropertyList::getProperty char *    name [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 PropertyList.

Property * LinkedPropertyList::getPropertyInternal char *    name [protected, virtual]
 

bool LinkedPropertyList::hasMore   [virtual]
 

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

Implements PropertyList.

Property * LinkedPropertyList::nextEntry   [virtual]
 

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

Implements PropertyList.

void LinkedPropertyList::removeProperty char *    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 PropertyList.

void LinkedPropertyList::setProperty 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 PropertyList.

void LinkedPropertyList::startIteration   [virtual]
 

Starts iteration over properties.

Implements PropertyList.


Member Data Documentation

plist LinkedPropertyList::cache [protected]
 

plist::iterator LinkedPropertyList::iterator [protected]
 

plist LinkedPropertyList::properties [protected]
 

Property LinkedPropertyList::returnProp [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Nov 25 11:27:13 2003 for Lemur Toolkit by doxygen1.2.18