Public Member Functions | Private Attributes | List of all members
Employee Class Reference
Inheritance diagram for Employee:
Inheritance graph
[legend]

Public Member Functions

void AddDependent (const Dependent &dependent)
 
 Employee (const std::string &name, unsigned age, bool married)
 
 Employee (const Employee &rhs)
 
Employeeoperator= (const Employee &rhs)
 
template<typename Writer >
void Serialize (Writer &writer) const
 
virtual ~Employee ()
 
- Public Member Functions inherited from Person
Personoperator= (const Person &rhs)
 
 Person (const std::string &name, unsigned age)
 
 Person (const Person &rhs)
 
virtual ~Person ()
 

Private Attributes

std::vector< Dependentdependents_
 
bool married_
 

Additional Inherited Members

- Protected Member Functions inherited from Person
template<typename Writer >
void Serialize (Writer &writer) const
 

Detailed Description

Definition at line 110 of file serialize.cpp.

Constructor & Destructor Documentation

Employee::Employee ( const std::string &  name,
unsigned  age,
bool  married 
)
inline

Definition at line 112 of file serialize.cpp.

Employee::Employee ( const Employee rhs)
inline

Definition at line 113 of file serialize.cpp.

Employee::~Employee ( )
virtual

Definition at line 150 of file serialize.cpp.

Member Function Documentation

void Employee::AddDependent ( const Dependent dependent)
inline

Definition at line 123 of file serialize.cpp.

Employee& Employee::operator= ( const Employee rhs)
inline

Definition at line 116 of file serialize.cpp.

template<typename Writer >
void Employee::Serialize ( Writer writer) const
inline

Definition at line 128 of file serialize.cpp.

Member Data Documentation

std::vector<Dependent> Employee::dependents_
private

Definition at line 146 of file serialize.cpp.

bool Employee::married_
private

Definition at line 147 of file serialize.cpp.


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


choreo_rapidjson
Author(s):
autogenerated on Thu Jul 18 2019 03:59:10