OpenGUI::ObjectAccessorList Class Reference

#include <OpenGUI_ObjectAccessor.h>

List of all members.


Detailed Description

The ObjectAccessorList is a inheritance capable string -> ObjectAccessor mapping.


Public Member Functions

 ObjectAccessorList ()
 constructor
 ~ObjectAccessorList ()
 destructor
void setParent (ObjectAccessorList *parent)
 Sets the parent of this ObjectAccessorList.
ObjectAccessorListgetParent ()
 Retrieves the current parent of this ObjectAccessorList.
void addAccessor (ObjectAccessor *accessor)
 Adds a new ObjectAccessor.
ObjectAccessorgetAccessor (const std::string &accessorName, bool recursive=true)
 Gets the ObjectAccessor by accessorName.


Constructor & Destructor Documentation

OpenGUI::ObjectAccessorList::ObjectAccessorList (  ) 

constructor

OpenGUI::ObjectAccessorList::~ObjectAccessorList (  ) 

destructor


Member Function Documentation

void OpenGUI::ObjectAccessorList::addAccessor ( ObjectAccessor accessor  ) 

Adds a new ObjectAccessor.

ObjectAccessor * OpenGUI::ObjectAccessorList::getAccessor ( const std::string &  accessorName,
bool  recursive = true 
)

Gets the ObjectAccessor by accessorName.

If the requested ObjectAccessor cannot be found in this ObjectAccessorList, then the parent ObjectAccessorList will be queried. If no parent is available then an exception is thrown.

Note:
Throws an exception whenever the requested accessorName cannot be found, and there is no available parent in which to defer the call.

ObjectAccessorList * OpenGUI::ObjectAccessorList::getParent (  ) 

Retrieves the current parent of this ObjectAccessorList.

void OpenGUI::ObjectAccessorList::setParent ( ObjectAccessorList parent  ) 

Sets the parent of this ObjectAccessorList.


The documentation for this class was generated from the following files:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Fri Jan 5 23:05:25 2007