Tijl Goens / Mbed OS EpaperdisplayII
Embed: (wiki syntax)

« Back to documentation index

Shed Class Reference

This class Shed can be used to act as one sheduled class (of many) More...

#include <Shed.h>

Public Member Functions

 Shed (string json)
 Constructor to make a Shed from json as a string.
 ~Shed ()
 Destructor for a Shed.
string getLokaal ()
DatetimegetStart ()
DatetimegetEinde ()
string getProf ()
string getKlasgroep ()
string getVak ()
string getComments ()

Static Public Member Functions

static vector< Shed > * getShedVector (vector< string > jsons)

Detailed Description

This class Shed can be used to act as one sheduled class (of many)

Author:
Jordy Ampe
Version:
1.0
Since:
2019-05-08

Definition at line 17 of file Shed.h.


Constructor & Destructor Documentation

Shed ( string  json )

Constructor to make a Shed from json as a string.

Parameters:
jsonis a string with the received json for one shedules class from the API

Definition at line 6 of file Shed.cpp.

~Shed (  )

Destructor for a Shed.

Definition at line 95 of file Shed.cpp.


Member Function Documentation

string getComments (  )
Returns:
comments as a string

Definition at line 127 of file Shed.cpp.

Datetime * getEinde (  )
Returns:
einde as a Datetime*

Definition at line 111 of file Shed.cpp.

string getKlasgroep (  )
Returns:
Klasgroep as a string

Definition at line 119 of file Shed.cpp.

string getLokaal (  )
Returns:
lokaal as a string

Definition at line 103 of file Shed.cpp.

string getProf (  )
Returns:
prof as a string

Definition at line 115 of file Shed.cpp.

vector< Shed > * getShedVector ( vector< string >  jsons ) [static]
Parameters:
jsonsis a vector of json formated shedules
Returns:
* to the vector of Shed's

Definition at line 132 of file Shed.cpp.

Datetime * getStart (  )
Returns:
start as a Datetime*

Definition at line 107 of file Shed.cpp.

string getVak (  )
Returns:
vak as a string

Definition at line 123 of file Shed.cpp.