#include <OpenGUI_ObjectAccessor.h>
Public Member Functions | |
| ObjectAccessorList () | |
| constructor | |
| ~ObjectAccessorList () | |
| destructor | |
| void | setParent (ObjectAccessorList *parent) |
| Sets the parent of this ObjectAccessorList. | |
| ObjectAccessorList * | getParent () |
| Retrieves the current parent of this ObjectAccessorList. | |
| void | addAccessor (ObjectAccessor *accessor) |
| Adds a new ObjectAccessor. | |
| ObjectAccessor * | getAccessor (const std::string &accessorName, bool recursive=true) |
Gets the ObjectAccessor by accessorName. | |
| OpenGUI::ObjectAccessorList::ObjectAccessorList | ( | ) |
constructor
| OpenGUI::ObjectAccessorList::~ObjectAccessorList | ( | ) |
destructor
| 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.
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.