#include <relations.h>
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 person & | getWho () 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 person & | getWho () 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) |
| enum relations::type_enum |
| enum relations::type_enum |
| relations::relations | ( | ) |
| relations::relations | ( | ) |
| 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 | |||
| ) |
Visit the project page on