#include <plan.h>
Public Types | |
enum | type_enum { type_create, type_patrol, type_defend, type_destroy, type_pillage, type_conquer, type_scout, type_trade, type_create, type_patrol, type_defend, type_destroy, type_pillage, type_conquer, type_scout, type_trade } |
enum | type_enum { type_create, type_patrol, type_defend, type_destroy, type_pillage, type_conquer, type_scout, type_trade, type_create, type_patrol, type_defend, type_destroy, type_pillage, type_conquer, type_scout, type_trade } |
Public Member Functions | |
plan () | |
const int | getNr () const |
void | setNr (const int v) |
int | operator< (const class plan &ck) const |
const int | getType () const |
const string | showType () const |
void | setType (const int v) |
void | setType (const string v) |
const int | getPlanned () const |
void | setPlanned (const int v) |
const int | getFinished () const |
void | setFinished (const int v) |
const int | getDone () const |
void | setDone (const int v) |
class army & | getWhat () const |
void | setWhat (class army &v) |
class contributers & | getContributers (const string v) |
map< string, class contributers > & | listContributers () |
void | setContributers (class contributers &v) |
void | delContributers (const string v) |
const bool | isContributers (const string v) const |
class contractors & | getPersons (const string v) |
map< string, class contractors > & | listPersons () |
void | setPersons (class contractors &v) |
void | delPersons (const string v) |
const bool | isPersons (const string v) const |
const int | getPriority () const |
void | setPriority (const int v) |
const int | getLocation () const |
void | setLocation (const int v) |
const string | showLocation () const |
void | save (class channel &ch) |
void | load (class channel &ch) |
void | xml (ofstream &f, int l=0, int r=0) |
plan () | |
const int | getNr () const |
void | setNr (const int v) |
int | operator< (const class plan &ck) const |
const int | getType () const |
const string | showType () const |
void | setType (const int v) |
void | setType (const string v) |
const int | getPlanned () const |
void | setPlanned (const int v) |
const int | getFinished () const |
void | setFinished (const int v) |
const int | getDone () const |
void | setDone (const int v) |
class army & | getWhat () const |
void | setWhat (class army &v) |
class contributers & | getContributers (const string v) |
map< string, class contributers > & | listContributers () |
void | setContributers (class contributers &v) |
void | delContributers (const string v) |
const bool | isContributers (const string v) const |
class contractors & | getPersons (const string v) |
map< string, class contractors > & | listPersons () |
void | setPersons (class contractors &v) |
void | delPersons (const string v) |
const bool | isPersons (const string v) const |
const int | getPriority () const |
void | setPriority (const int v) |
const int | getLocation () const |
void | setLocation (const int v) |
const string | showLocation () const |
void | save (class channel &ch) |
void | load (class channel &ch) |
void | xml (ofstream &f, int l=0, int r=0) |
enum plan::type_enum |
enum plan::type_enum |
plan::plan | ( | ) |
plan::plan | ( | ) |
const int plan::getNr | ( | ) | const |
void plan::setNr | ( | const int | v | ) |
int plan::operator< | ( | const class plan & | ck | ) | const |
const int plan::getType | ( | ) | const |
const string plan::showType | ( | ) | const |
void plan::setType | ( | const int | v | ) |
void plan::setType | ( | const string | v | ) |
const int plan::getPlanned | ( | ) | const |
void plan::setPlanned | ( | const int | v | ) |
const int plan::getFinished | ( | ) | const |
void plan::setFinished | ( | const int | v | ) |
const int plan::getDone | ( | ) | const |
void plan::setDone | ( | const int | v | ) |
class army & plan::getWhat | ( | ) | const |
void plan::setWhat | ( | class army & | v | ) |
class contributers & plan::getContributers | ( | const string | v | ) |
map< string, class contributers > & plan::listContributers | ( | ) |
void plan::setContributers | ( | class contributers & | v | ) |
void plan::delContributers | ( | const string | v | ) |
const bool plan::isContributers | ( | const string | v | ) | const |
class contractors & plan::getPersons | ( | const string | v | ) |
map< string, class contractors > & plan::listPersons | ( | ) |
void plan::setPersons | ( | class contractors & | v | ) |
void plan::delPersons | ( | const string | v | ) |
const bool plan::isPersons | ( | const string | v | ) | const |
const int plan::getPriority | ( | ) | const |
void plan::setPriority | ( | const int | v | ) |
const int plan::getLocation | ( | ) | const |
void plan::setLocation | ( | const int | v | ) |
const string plan::showLocation | ( | ) | const |
void plan::save | ( | class channel & | ch | ) |
void plan::load | ( | class channel & | ch | ) |
void plan::xml | ( | ofstream & | f, | |
int | l = 0 , |
|||
int | r = 0 | |||
) |
const int plan::getNr | ( | ) | const |
void plan::setNr | ( | const int | v | ) |
int plan::operator< | ( | const class plan & | ck | ) | const |
const int plan::getType | ( | ) | const |
const string plan::showType | ( | ) | const |
void plan::setType | ( | const int | v | ) |
void plan::setType | ( | const string | v | ) |
const int plan::getPlanned | ( | ) | const |
void plan::setPlanned | ( | const int | v | ) |
const int plan::getFinished | ( | ) | const |
void plan::setFinished | ( | const int | v | ) |
const int plan::getDone | ( | ) | const |
void plan::setDone | ( | const int | v | ) |
class army& plan::getWhat | ( | ) | const |
void plan::setWhat | ( | class army & | v | ) |
class contributers& plan::getContributers | ( | const string | v | ) |
map<string,class contributers>& plan::listContributers | ( | ) |
void plan::setContributers | ( | class contributers & | v | ) |
void plan::delContributers | ( | const string | v | ) |
const bool plan::isContributers | ( | const string | v | ) | const |
class contractors& plan::getPersons | ( | const string | v | ) |
map<string,class contractors>& plan::listPersons | ( | ) |
void plan::setPersons | ( | class contractors & | v | ) |
void plan::delPersons | ( | const string | v | ) |
const bool plan::isPersons | ( | const string | v | ) | const |
const int plan::getPriority | ( | ) | const |
void plan::setPriority | ( | const int | v | ) |
const int plan::getLocation | ( | ) | const |
void plan::setLocation | ( | const int | v | ) |
const string plan::showLocation | ( | ) | const |
void plan::save | ( | class channel & | ch | ) |
void plan::load | ( | class channel & | ch | ) |
void plan::xml | ( | ofstream & | f, | |
int | l = 0 , |
|||
int | r = 0 | |||
) |