#include <Account.h>
Inheritance diagram for Atlas::Objects::Entity::Account:
Public Member Functions | |
Account () | |
Construct a Account class definition. | |
virtual | ~Account () |
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. | |
virtual void | SendContents (Atlas::Bridge *b) const |
Send the contents of this object to a Bridge. | |
virtual Atlas::Message::Object | AsObject () const |
Convert this object to a Message::Object. | |
virtual Atlas::Message::Object::MapType | AsMap () const |
Convert this object to a Message::Object::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 | Instantiate () |
Create a new instance of Account. | |
Protected Member Functions | |
Account (const std::string &, const std::string &) | |
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.