#include <race.h>
Public Member Functions | |
Race (const char *id) | |
virtual | ~Race () |
Scheme * | GetScheme () const |
Prototype * | GetPrototype (const string &prototype_id) const |
const string & | GetMeetingModel () const |
Protected Member Functions | |
virtual void | ClearHeader () |
virtual void | ClearBody () |
virtual bool | LoadResources () |
virtual void | UnloadResources () |
virtual bool | ReadHeader (Serializer &serializer) |
virtual bool | ReadBody (Serializer &serializer) |
virtual bool | WriteHeader (Serializer &serializer) |
virtual bool | WriteBody (Serializer &serializer) |
bool | ReadMeetingPoint (Serializer &serializer) |
Protected Attributes | |
string | name |
Full race name. | |
string | author_name |
string | author_contact |
Ref< Root > | prototypes |
Ref< Scheme > | scheme |
string | meeting_model |
File name of model of meeting point. |
Race::Race | ( | const char * | id | ) |
Constructor.
Race::~Race | ( | ) | [virtual] |
Destructor.
Scheme * Race::GetScheme | ( | ) | const [inline] |
Prototype * Race::GetPrototype | ( | const string & | prototype_id | ) | const [inline] |
const string & Race::GetMeetingModel | ( | ) | const [inline] |
void Race::ClearHeader | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
void Race::ClearBody | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Race::LoadResources | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
void Race::UnloadResources | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Race::ReadHeader | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Race::ReadBody | ( | Serializer & | serializer | ) | [protected, virtual] |
bool Race::WriteHeader | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Race::WriteBody | ( | Serializer & | serializer | ) | [protected, virtual] |
bool Race::ReadMeetingPoint | ( | Serializer & | serializer | ) | [protected] |
string Race::name [protected] |
Full race name.
string Race::author_name [protected] |
string Race::author_contact [protected] |
Ref<Root> Race::prototypes [protected] |
Ref<Scheme> Race::scheme [protected] |
string Race::meeting_model [protected] |
File name of model of meeting point.