plan Class Reference

#include <plan.h>

List of all members.

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 armygetWhat () const
void setWhat (class army &v)
class contributersgetContributers (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 contractorsgetPersons (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 armygetWhat () const
void setWhat (class army &v)
class contributersgetContributers (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 contractorsgetPersons (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)


Member Enumeration Documentation

enum plan::type_enum

Enumerator:
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 plan::type_enum

Enumerator:
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 


Constructor & Destructor Documentation

plan::plan (  ) 

plan::plan (  ) 


Member Function Documentation

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 
)


The documentation for this class was generated from the following files:

Generated on Tue Jan 1 17:30:02 2008 for plan Class Reference by  doxygen   Visit the project page on SourceForge.net Logo