mud::Room Class Reference

Inheritance diagram for mud::Room:

Inheritance graph
[legend]

List of all members.

Public Member Functions

value_types::const_iterator firstCharactersInRoom ()
 Returns an iterator to the first character in the room.
value_types::const_iterator lastCharactersInRoom ()
 Returns the 'end' iterator of the characters in the room.
value_type sizeCharactersInRoom ()
 Returns the size of the characters in the room.
void Send (const std::string &msg)
 Sends a message to all characters in the room.
void Sendf (const char *format,...)
 Sends a formatted message to all characters in the room.
SavableManagerPtr getManager () const
 Returns the SavableManager this savable usesotherwise.
TableImplPtr getTable () const
 Returns the table this savable belongs to.
void Delete ()
 Delete this savable.
void Save ()
 Save this savable.
void Delete (value_type accountid, const std::string &description)
 Delete this savable providing details as to who deleted it and why.
void Save (value_type accountid, const std::string &description)
 Save this savable providing details as to who deleted it and why.
void Discard ()
 Discard changes made to this savable.
bool Exists ()
 Wether this savable has been saved yet.

Friends

class RoomManager


Detailed Description

Definition at line 27 of file Room.h.


Member Function Documentation

value_types::const_iterator mud::Room::firstCharactersInRoom (  )  [inline]

Returns an iterator to the first character in the room.

Definition at line 60 of file Room.h.

value_types::const_iterator mud::Room::lastCharactersInRoom (  )  [inline]

Returns the 'end' iterator of the characters in the room.

Definition at line 63 of file Room.h.

value_type mud::Room::sizeCharactersInRoom (  )  [inline]

Returns the size of the characters in the room.

Definition at line 66 of file Room.h.

void mud::Room::Send ( const std::string &  msg  ) 

Sends a message to all characters in the room.

void mud::Room::Sendf ( const char *  format,
  ... 
)

Sends a formatted message to all characters in the room.

SavableManagerPtr mud::Room::getManager (  )  const [virtual]

Returns the SavableManager this savable usesotherwise.

Implements Savable.

TableImplPtr mud::Room::getTable (  )  const [virtual]

Returns the table this savable belongs to.

Implements Savable.

void mud::Room::Delete (  )  [virtual]

Delete this savable.

Implements Savable.

void mud::Room::Save (  )  [virtual]

Save this savable.

Implements Savable.

void mud::Room::Delete ( value_type  accountid,
const std::string &  description 
) [virtual]

Delete this savable providing details as to who deleted it and why.

Reimplemented from Savable.

void mud::Room::Save ( value_type  accountid,
const std::string &  description 
) [virtual]

Save this savable providing details as to who deleted it and why.

Reimplemented from Savable.

void mud::Room::Discard (  )  [virtual]

Discard changes made to this savable.

Implements Savable.

bool mud::Room::Exists (  )  [virtual]

Wether this savable has been saved yet.

Implements Savable.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo