Gobelijn API documentation
- generated for commit a0cbea7
|
A fairly simple class for Person. More...
#include <Person.h>
Public Member Functions | |
Person (std::string name) | |
Constructor initializes the name of the person. More... | |
Person (const Person &)=delete | |
Disallow copy-construction of people: More... | |
Person (Person &&)=delete | |
Disallow move-construction of people: More... | |
Person & | operator= (const Person &)=delete |
Disallow copy-assignmentof people: More... | |
Person & | operator= (Person &&)=delete |
Disallow move-assignment of people: More... | |
virtual | ~Person () |
Destructor. More... | |
std::string | get_name () const |
Return the persons name. More... | |
Private Attributes | |
std::string | m_name |
A fairly simple class for Person.
Person does not model the concept Assignable (cfr. Austern, Generic Programming and the STL, Chapter 6).
|
explicit |
Constructor initializes the name of the person.
Definition at line 13 of file Person.cpp.
References COMP_MISC_MEMBER_TRACER.
|
delete |
Disallow copy-construction of people:
|
delete |
Disallow move-construction of people:
|
virtual |
string ODemo::Person::get_name | ( | ) | const |
Return the persons name.
Definition at line 17 of file Person.cpp.
References COMP_MISC_MEMBER_TRACER, and m_name.
|
private |
Definition at line 42 of file Person.h.
Referenced by get_name().