![]() |
|
PhoenixSwarm
6.1.0
Persistent processing programs exchanging data over sockets
|
#include <Shadok.h>
Public Member Functions | |
| int & | getAge () |
| Gets the age of the Shadok. | |
| int | getAge () const |
| Gets the age of the Shadok. | |
| std::string & | getName () |
| Gets the name of the Shadok. | |
| const std::string & | getName () const |
| Gets the name of the Shadok. | |
| Shadok & | operator= (const Shadok &other) |
| Operator = of class Shadok. | |
| template<typename Stream, DataStreamMode::DataStreamMode Mode> | |
| bool | readWriteStream (Stream &ds) |
| Load the current Shadok with a stream. | |
| void | setAge (int age) |
| Sets the age of the Shadok. | |
| void | setName (const std::string &name) |
| Sets the name of the Shadok. | |
| Shadok () | |
| Constructor of class Shadok. | |
| Shadok (const Shadok &other) | |
| Copy Constructor of class Shadok. | |
| virtual | ~Shadok () |
| Destructor of class Shadok. | |
Protected Member Functions | |
| void | copyShadok (const Shadok &other) |
| Copy Function of class Shadok. | |
Private Member Functions | |
| void | initialisationShadok () |
| Initialisation Function of class Shadok. | |
Private Attributes | |
| int | p_age |
| Age of the Shadok. | |
| std::string | p_name |
| Name of the Shadok. | |
| Shadok::Shadok | ( | ) |
Constructor of class Shadok.
Definition at line 19 of file Shadok.cpp.
References initialisationShadok().
Referenced by copyShadok(), operator=(), and Shadok().
| Shadok::Shadok | ( | const Shadok & | other | ) |
Copy Constructor of class Shadok.
| other | : Shadok we want ot copy |
Definition at line 26 of file Shadok.cpp.
References copyShadok(), and Shadok().
|
virtual |
|
protected |
Copy Function of class Shadok.
| other | : Shadok we want ot copy |
Definition at line 89 of file Shadok.cpp.
References p_age, p_name, and Shadok().
Referenced by operator=(), and Shadok().
| int & Shadok::getAge | ( | ) |
| int Shadok::getAge | ( | ) | const |
Gets the age of the Shadok.
Definition at line 61 of file Shadok.cpp.
References p_age.
Referenced by checkShadokEquality(), and checkShadokEqualityConst().
| std::string & Shadok::getName | ( | ) |
| const std::string & Shadok::getName | ( | ) | const |
|
private |
Operator = of class Shadok.
| other | : Shadok we want ot copy |
Definition at line 39 of file Shadok.cpp.
References copyShadok(), and Shadok().
|
inline |
Load the current Shadok with a stream.
| [out] | ds | : stream to be used |
Definition at line 33 of file Shadok.h.
Referenced by DataStream< Stream, Mode, Shadok >::data_stream().
| void Shadok::setAge | ( | int | age | ) |
Sets the age of the Shadok.
| age | : age of the Shadok |
Definition at line 47 of file Shadok.cpp.
References p_age.
Referenced by checkShadokCopy(), and testBaseDaemonLoadConfig().
| void Shadok::setName | ( | const std::string & | name | ) |
Sets the name of the Shadok.
| name | : name of the Shadok |
Definition at line 54 of file Shadok.cpp.
References p_name.
Referenced by testBaseDaemonLoadConfig().
|
private |
Age of the Shadok.
Definition at line 45 of file Shadok.h.
Referenced by copyShadok(), getAge(), getAge(), initialisationShadok(), readWriteStream(), and setAge().
|
private |
Name of the Shadok.
Definition at line 47 of file Shadok.h.
Referenced by copyShadok(), getName(), getName(), readWriteStream(), and setName().