A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::Employee Class Reference

#include <Employee.h>

+ Inheritance diagram for pdb::Employee:
+ Collaboration diagram for pdb::Employee:

Public Member Functions

ENABLE_DEEP_COPY ~Employee ()
 
 Employee ()
 
size_t hash ()
 
void print ()
 
Handle< String > & getName ()
 
bool isFrank ()
 
int getAge ()
 
double getSalary ()
 
 Employee (std::string nameIn, int ageIn, std::string department, double salary)
 
 Employee (std::string nameIn, int ageIn)
 
bool operator== (Employee &me) const
 
- Public Member Functions inherited from pdb::Object
void setVTablePtr (void *setToMe)
 
void * getVTablePtr ()
 
virtual void setUpAndCopyFrom (void *target, void *source) const
 
virtual void deleteObject (void *deleteMe)
 
virtual size_t getSize (void *ofMe)
 

Public Attributes

double salary
 
String department
 

Private Attributes

Handle< Stringname
 
int age
 

Additional Inherited Members

- Static Public Member Functions inherited from pdb::Object
static void * operator new (size_t sz, const std::nothrow_t &tag)
 
static void * operator new (size_t sz)
 
static void operator delete (void *me)
 
static void * operator new (std::size_t count, void *ptr)
 

Detailed Description

Definition at line 31 of file Employee.h.

Constructor & Destructor Documentation

ENABLE_DEEP_COPY pdb::Employee::~Employee ( )
inline

Definition at line 42 of file Employee.h.

pdb::Employee::Employee ( )
inline

Definition at line 43 of file Employee.h.

pdb::Employee::Employee ( std::string  nameIn,
int  ageIn,
std::string  department,
double  salary 
)
inline

Definition at line 67 of file Employee.h.

pdb::Employee::Employee ( std::string  nameIn,
int  ageIn 
)
inline

Definition at line 73 of file Employee.h.

Member Function Documentation

int pdb::Employee::getAge ( )
inline

Definition at line 59 of file Employee.h.

Handle<String>& pdb::Employee::getName ( )
inline

Definition at line 51 of file Employee.h.

double pdb::Employee::getSalary ( )
inline

Definition at line 63 of file Employee.h.

size_t pdb::Employee::hash ( )
inline

Definition at line 44 of file Employee.h.

bool pdb::Employee::isFrank ( )
inline

Definition at line 55 of file Employee.h.

bool pdb::Employee::operator== ( Employee me) const
inline

Definition at line 80 of file Employee.h.

void pdb::Employee::print ( )
inline

Definition at line 47 of file Employee.h.

Member Data Documentation

int pdb::Employee::age
private

Definition at line 34 of file Employee.h.

String pdb::Employee::department

Definition at line 38 of file Employee.h.

Handle<String> pdb::Employee::name
private

Definition at line 33 of file Employee.h.

double pdb::Employee::salary

Definition at line 37 of file Employee.h.


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