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

Public Member Functions

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

Private Attributes

std::vector< Dependentdependents_
 
bool married_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Employee() [1/2]

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

◆ Employee() [2/2]

Employee::Employee ( const Employee rhs)
inline

◆ ~Employee()

Employee::~Employee ( )
virtual

Member Function Documentation

◆ AddDependent()

void Employee::AddDependent ( const Dependent dependent)
inline

◆ operator=()

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

◆ Serialize()

template<typename Writer >
void Employee::Serialize ( Writer writer) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ dependents_

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

◆ married_

bool Employee::married_
private

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