#include <Root.h>
Inheritance diagram for Atlas::Objects::Root:

Public Member Functions | |
| Root () | |
| Construct a Root class definition. | |
| Root (const std::string &id) | |
| Construct a Root instance. | |
| virtual | ~Root () |
| Default destructor. | |
| virtual bool | HasAttr (const std::string &name) const |
| Check whether the attribute "name" exists. | |
| virtual Atlas::Message::Object | GetAttr (const std::string &name) const throw (NoSuchAttrException) |
| Retrieve the attribute "name". | |
| virtual void | SetAttr (const std::string &name, const Atlas::Message::Object &attr) |
| Set the attribute "name" to the value given by "attr". | |
| virtual void | RemoveAttr (const std::string &name) |
| Remove the attribute "name". This will not work for static attributes. | |
| void | SetParents (const Atlas::Message::Object::ListType &val) |
| Set the "parents" attribute. | |
| void | SetId (const std::string &val) |
| Set the "id" attribute. | |
| void | SetObjtype (const std::string &val) |
| Set the "objtype" attribute. | |
| void | SetName (const std::string &val) |
| Set the "name" attribute. | |
| const Atlas::Message::Object::ListType & | GetParents () const |
| Retrieve the "parents" attribute. | |
| Atlas::Message::Object::ListType & | GetParents () |
| const std::string & | GetId () const |
| Retrieve the "id" attribute. | |
| std::string & | GetId () |
| const std::string & | GetObjtype () const |
| Retrieve the "objtype" attribute. | |
| std::string & | GetObjtype () |
| const std::string & | GetName () const |
| Retrieve the "name" attribute. | |
| std::string & | GetName () |
| virtual Atlas::Message::Object | AsObject () const |
| Convert this object to a Message::Object. | |
| virtual Atlas::Message::Object::MapType | AsMap () const |
| Convert this object to an std::map. | |
| virtual void | SendContents (Atlas::Bridge *b) const |
| Send the contents of this object to a Bridge. | |
Static Public Member Functions | |
| Root | Instantiate () |
| Create a new instance of Root. | |
Protected Member Functions | |
| Root (const std::string &id, const std::string &parent) | |
| Constructor for classes which inherit from this one. | |
| void | SendParents (Atlas::Bridge *) const |
| void | SendId (Atlas::Bridge *) const |
| void | SendObjtype (Atlas::Bridge *) const |
| void | SendName (Atlas::Bridge *) const |
Protected Attributes | |
| std::map< std::string, Atlas::Message::Object > | attributes |
| Atlas::Message::Object::ListType | attr_parents |
| std::string | attr_id |
| std::string | attr_objtype |
| std::string | attr_name |
|
|
Retrieve the attribute "name". Throws NoSuchAttrException if it does not exist. Reimplemented in Atlas::Objects::Entity::Account, Atlas::Objects::Entity::Player, Atlas::Objects::Entity::RootEntity, and Atlas::Objects::Operation::RootOperation. |
Copyright 2000 the respective authors.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.