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

Public Member Functions | |
| Account () | |
| Construct a Account instance. | |
| virtual | ~Account () |
| 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. | |
| virtual void | sendContents (Atlas::Bridge *b) const |
| Send the contents of this object to a Bridge. | |
| virtual Atlas::Message::Element | asObject () const |
| Convert this object to a Message::Element. | |
| virtual Atlas::Message::Element::MapType | asMap () const |
| Convert this object to a Message::Element::MapType. | |
| void | setPassword (const std::string &val) |
| Set the "password" attribute. | |
| const std::string & | getPassword () const |
| Retrieve the "password" attribute. | |
| std::string & | getPassword () |
| Retrieve the "password" attribute as a non-const reference. | |
Static Public Member Functions | |
| Account | Class () |
| Create a new class for Account. | |
Protected Member Functions | |
| Account (const char *, const char *) | |
| Constructor for sub-classes. | |
| void | sendPassword (Atlas::Bridge *) const |
Protected Attributes | |
| std::string | attr_password |
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
|
|
Retrieve the attribute "name". Throws NoSuchAttrException if it does not exist. Reimplemented from Atlas::Objects::Entity::RootEntity. Reimplemented in Atlas::Objects::Entity::Player. |
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.