#include <Root.h>
Inheritance diagram for Atlas::Objects::Root:
Public Member Functions | |
Root () | |
Construct a Root instance. | |
Root (const char *id) | |
Construct a Root class definition. | |
virtual | ~Root () |
Default destructor. | |
virtual bool | hasAttr (const std::string &name) const |
Check whether the attribute "name" exists. | |
virtual Atlas::Message::Element | getAttr (const std::string &name) const throw (NoSuchAttrException) |
Retrieve the attribute "name". | |
virtual void | setAttr (const std::string &name, const Atlas::Message::Element &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::Element::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::Element::ListType & | getParents () const |
Retrieve the "parents" attribute. | |
Atlas::Message::Element::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::Element | asObject () const |
Convert this object to a Message::Element. | |
virtual Atlas::Message::Element::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 | Class () |
Create a new class for Root. | |
Protected Member Functions | |
Root (const char *id, const char *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::Element > | attributes |
Atlas::Message::Element::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.