DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
oks_tutorial.cxx File Reference
#include <boost/date_time/gregorian/gregorian.hpp>
#include "oks/kernel.hpp"
#include "oks/object.hpp"
#include "oks/class.hpp"
#include "oks/attribute.hpp"
#include "oks/relationship.hpp"
#include "oks/query.hpp"
#include "oks/exceptions.hpp"
Include dependency graph for oks_tutorial.cxx:

Go to the source code of this file.

Functions

void setPersonValues (OksObject *o, const char *name, boost::gregorian::date birthday, const char *familySituation)
void printPerson (const OksObject *o)
void setEmployeeValues (OksObject *o, const char *name, boost::gregorian::date birthday, const char *familySituation, uint32_t salary)
void printEmployee (const OksObject *o)
void setDepartmentValues (OksObject *o, const char *name)
void printDepartment (const OksObject *o)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 167 of file oks_tutorial.cxx.

◆ printDepartment()

void printDepartment ( const OksObject * o)

Definition at line 153 of file oks_tutorial.cxx.

◆ printEmployee()

void printEmployee ( const OksObject * o)

Definition at line 115 of file oks_tutorial.cxx.

◆ printPerson()

void printPerson ( const OksObject * o)

Definition at line 72 of file oks_tutorial.cxx.

◆ setDepartmentValues()

void setDepartmentValues ( OksObject * o,
const char * name )

Definition at line 137 of file oks_tutorial.cxx.

◆ setEmployeeValues()

void setEmployeeValues ( OksObject * o,
const char * name,
boost::gregorian::date birthday,
const char * familySituation,
uint32_t salary )

Definition at line 92 of file oks_tutorial.cxx.

◆ setPersonValues()

void setPersonValues ( OksObject * o,
const char * name,
boost::gregorian::date birthday,
const char * familySituation )

Definition at line 46 of file oks_tutorial.cxx.