item Class Reference

#include <item.h>

List of all members.

Public Types

enum  type_enum {
  type_tool, type_cutting_weapon, type_blunt_weapon, type_impaling_weapon,
  type_transport, type_building, type_good, type_tool,
  type_cutting_weapon, type_blunt_weapon, type_impaling_weapon, type_transport,
  type_building, type_good
}
enum  type_enum {
  type_tool, type_cutting_weapon, type_blunt_weapon, type_impaling_weapon,
  type_transport, type_building, type_good, type_tool,
  type_cutting_weapon, type_blunt_weapon, type_impaling_weapon, type_transport,
  type_building, type_good
}

Public Member Functions

 item ()
const string getName () const
void setName (const string v)
const int getNr () const
void setNr (const int v)
int operator< (const class item &ck) const
const string getDescription () const
void setDescription (const string v)
const int getStatus () const
void setStatus (const int v)
const int getType () const
const string showType () const
void setType (const int v)
void setType (const string v)
class skillgetSkill () const
void setSkill (class skill &v)
class specialgetSpecial () const
void setSpecial (class special &v)
class action_levelgetUsage (const int v)
map< int, class
action_level > & 
listUsage ()
void setUsage (class action_level &v)
void delUsage (const int v)
const bool isUsage (const int v) const
class action_skillgetCreation (const string v)
map< string, class
action_skill > & 
listCreation ()
void setCreation (class action_skill &v)
void delCreation (const string v)
const bool isCreation (const string v) const
class materialgetMaterial (const string v)
list< class material > & listMaterial ()
void setMaterial (class material &v)
void delMaterial (const string v)
const bool isMaterial (const string v) const
class action_bonusgetBonus (const int v)
map< int, class
action_bonus > & 
listBonus ()
void setBonus (class action_bonus &v)
void delBonus (const int v)
const bool isBonus (const int v) const
void save (class channel &ch)
void load (class channel &ch)
void xml (ofstream &f, int l=0, int r=0)
 item ()
const string getName () const
void setName (const string v)
const int getNr () const
void setNr (const int v)
int operator< (const class item &ck) const
const string getDescription () const
void setDescription (const string v)
const int getStatus () const
void setStatus (const int v)
const int getType () const
const string showType () const
void setType (const int v)
void setType (const string v)
class skillgetSkill () const
void setSkill (class skill &v)
class specialgetSpecial () const
void setSpecial (class special &v)
class action_levelgetUsage (const int v)
map< int, class
action_level > & 
listUsage ()
void setUsage (class action_level &v)
void delUsage (const int v)
const bool isUsage (const int v) const
class action_skillgetCreation (const string v)
map< string, class
action_skill > & 
listCreation ()
void setCreation (class action_skill &v)
void delCreation (const string v)
const bool isCreation (const string v) const
class materialgetMaterial (const string v)
list< class material > & listMaterial ()
void setMaterial (class material &v)
void delMaterial (const string v)
const bool isMaterial (const string v) const
class action_bonusgetBonus (const int v)
map< int, class
action_bonus > & 
listBonus ()
void setBonus (class action_bonus &v)
void delBonus (const int v)
const bool isBonus (const int v) 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 item::type_enum

Enumerator:
type_tool 
type_cutting_weapon 
type_blunt_weapon 
type_impaling_weapon 
type_transport 
type_building 
type_good 
type_tool 
type_cutting_weapon 
type_blunt_weapon 
type_impaling_weapon 
type_transport 
type_building 
type_good 

enum item::type_enum

Enumerator:
type_tool 
type_cutting_weapon 
type_blunt_weapon 
type_impaling_weapon 
type_transport 
type_building 
type_good 
type_tool 
type_cutting_weapon 
type_blunt_weapon 
type_impaling_weapon 
type_transport 
type_building 
type_good 


Constructor & Destructor Documentation

item::item (  ) 

item::item (  ) 


Member Function Documentation

const string item::getName (  )  const

void item::setName ( const string  v  ) 

const int item::getNr (  )  const

void item::setNr ( const int  v  ) 

int item::operator< ( const class item ck  )  const

const string item::getDescription (  )  const

void item::setDescription ( const string  v  ) 

const int item::getStatus (  )  const

void item::setStatus ( const int  v  ) 

const int item::getType (  )  const

const string item::showType (  )  const

void item::setType ( const int  v  ) 

void item::setType ( const string  v  ) 

class skill & item::getSkill (  )  const

void item::setSkill ( class skill v  ) 

class special & item::getSpecial (  )  const

void item::setSpecial ( class special v  ) 

class action_level & item::getUsage ( const int  v  ) 

map< int, class action_level > & item::listUsage (  ) 

void item::setUsage ( class action_level v  ) 

void item::delUsage ( const int  v  ) 

const bool item::isUsage ( const int  v  )  const

class action_skill & item::getCreation ( const string  v  ) 

map< string, class action_skill > & item::listCreation (  ) 

void item::setCreation ( class action_skill v  ) 

void item::delCreation ( const string  v  ) 

const bool item::isCreation ( const string  v  )  const

class material & item::getMaterial ( const string  v  ) 

list< class material > & item::listMaterial (  ) 

void item::setMaterial ( class material v  ) 

void item::delMaterial ( const string  v  ) 

const bool item::isMaterial ( const string  v  )  const

class action_bonus & item::getBonus ( const int  v  ) 

map< int, class action_bonus > & item::listBonus (  ) 

void item::setBonus ( class action_bonus v  ) 

void item::delBonus ( const int  v  ) 

const bool item::isBonus ( const int  v  )  const

void item::save ( class channel ch  ) 

void item::load ( class channel ch  ) 

void item::xml ( ofstream &  f,
int  l = 0,
int  r = 0 
)

const string item::getName (  )  const

void item::setName ( const string  v  ) 

const int item::getNr (  )  const

void item::setNr ( const int  v  ) 

int item::operator< ( const class item ck  )  const

const string item::getDescription (  )  const

void item::setDescription ( const string  v  ) 

const int item::getStatus (  )  const

void item::setStatus ( const int  v  ) 

const int item::getType (  )  const

const string item::showType (  )  const

void item::setType ( const int  v  ) 

void item::setType ( const string  v  ) 

class skill& item::getSkill (  )  const

void item::setSkill ( class skill v  ) 

class special& item::getSpecial (  )  const

void item::setSpecial ( class special v  ) 

class action_level& item::getUsage ( const int  v  ) 

map<int,class action_level>& item::listUsage (  ) 

void item::setUsage ( class action_level v  ) 

void item::delUsage ( const int  v  ) 

const bool item::isUsage ( const int  v  )  const

class action_skill& item::getCreation ( const string  v  ) 

map<string,class action_skill>& item::listCreation (  ) 

void item::setCreation ( class action_skill v  ) 

void item::delCreation ( const string  v  ) 

const bool item::isCreation ( const string  v  )  const

class material& item::getMaterial ( const string  v  ) 

list<class material>& item::listMaterial (  ) 

void item::setMaterial ( class material v  ) 

void item::delMaterial ( const string  v  ) 

const bool item::isMaterial ( const string  v  )  const

class action_bonus& item::getBonus ( const int  v  ) 

map<int,class action_bonus>& item::listBonus (  ) 

void item::setBonus ( class action_bonus v  ) 

void item::delBonus ( const int  v  ) 

const bool item::isBonus ( const int  v  )  const

void item::save ( class channel ch  ) 

void item::load ( class channel ch  ) 

void item::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:01 2008 for item Class Reference by  doxygen   Visit the project page on SourceForge.net Logo