relations Class Reference

#include <relations.h>

List of all members.

Public Types

enum  type_enum {
  type_family, type_teacher, type_student, type_friend,
  type_enemy, type_family, type_teacher, type_student,
  type_friend, type_enemy
}
enum  type_enum {
  type_family, type_teacher, type_student, type_friend,
  type_enemy, type_family, type_teacher, type_student,
  type_friend, type_enemy
}

Public Member Functions

 relations ()
class persongetWho () const
void setWho (class person &v)
const int getType () const
const string showType () const
void setType (const int v)
void setType (const string v)
const int getAmount () const
void setAmount (const int v)
void save (class channel &ch)
void load (class channel &ch)
void xml (ofstream &f, int l=0, int r=0)
 relations ()
class persongetWho () const
void setWho (class person &v)
const int getType () const
const string showType () const
void setType (const int v)
void setType (const string v)
const int getAmount () const
void setAmount (const int v)
void save (class channel &ch)
void load (class channel &ch)
void xml (ofstream &f, int l=0, int r=0)


Member Enumeration Documentation

enum relations::type_enum

Enumerator:
type_family 
type_teacher 
type_student 
type_friend 
type_enemy 
type_family 
type_teacher 
type_student 
type_friend 
type_enemy 

enum relations::type_enum

Enumerator:
type_family 
type_teacher 
type_student 
type_friend 
type_enemy 
type_family 
type_teacher 
type_student 
type_friend 
type_enemy 


Constructor & Destructor Documentation

relations::relations (  ) 

relations::relations (  ) 


Member Function Documentation

class person & relations::getWho (  )  const

void relations::setWho ( class person v  ) 

const int relations::getType (  )  const

const string relations::showType (  )  const

void relations::setType ( const int  v  ) 

void relations::setType ( const string  v  ) 

const int relations::getAmount (  )  const

void relations::setAmount ( const int  v  ) 

void relations::save ( class channel ch  ) 

void relations::load ( class channel ch  ) 

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

class person& relations::getWho (  )  const

void relations::setWho ( class person v  ) 

const int relations::getType (  )  const

const string relations::showType (  )  const

void relations::setType ( const int  v  ) 

void relations::setType ( const string  v  ) 

const int relations::getAmount (  )  const

void relations::setAmount ( const int  v  ) 

void relations::save ( class channel ch  ) 

void relations::load ( class channel ch  ) 

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