![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Describes a date. More...
#include <PTimeTable.h>
Public Member Functions | |
size_t & | getDay () |
Gets the day of the PLatexDate. More... | |
size_t | getDay () const |
Gets the day of the PLatexDate. More... | |
size_t & | getMonth () |
Gets the month of the PLatexDate. More... | |
size_t | getMonth () const |
Gets the month of the PLatexDate. More... | |
size_t & | getYear () |
Gets the year of the PLatexDate. More... | |
size_t | getYear () const |
Gets the year of the PLatexDate. More... | |
PLatexDate & | operator= (const PLatexDate &other) |
Operator = of class PLatexDate. More... | |
PLatexDate () | |
Constructor of class PLatexDate. More... | |
PLatexDate (const PLatexDate &other) | |
Copy Constructor of class PLatexDate. More... | |
void | setDay (size_t day) |
Sets the day of the PLatexDate. More... | |
void | setMonth (size_t month) |
Sets the month of the PLatexDate. More... | |
void | setYear (size_t year) |
Sets the year of the PLatexDate. More... | |
virtual | ~PLatexDate () |
Destructor of class PLatexDate. More... | |
Protected Member Functions | |
void | copyPLatexDate (const PLatexDate &other) |
Copy Function of class PLatexDate. More... | |
Private Member Functions | |
void | initialisationPLatexDate () |
Initialisation Function of class PLatexDate. More... | |
Private Attributes | |
size_t | p_day |
Day. More... | |
size_t | p_month |
Month. More... | |
size_t | p_year |
Year. More... | |
Describes a date.
Definition at line 58 of file PTimeTable.h.
PLatexDate::PLatexDate | ( | ) |
Constructor of class PLatexDate.
Definition at line 182 of file PTimeTable.cpp.
References initialisationPLatexDate().
PLatexDate::PLatexDate | ( | const PLatexDate & | other | ) |
Copy Constructor of class PLatexDate.
other | : PLatexDate we want ot copy |
Definition at line 189 of file PTimeTable.cpp.
References copyPLatexDate().
|
virtual |
|
protected |
Copy Function of class PLatexDate.
other | : PLatexDate we want ot copy |
Definition at line 273 of file PTimeTable.cpp.
References p_day, p_month, and p_year.
Referenced by operator=(), and PLatexDate().
size_t & PLatexDate::getDay | ( | ) |
Gets the day of the PLatexDate.
Definition at line 266 of file PTimeTable.cpp.
References p_day.
size_t PLatexDate::getDay | ( | ) | const |
Gets the day of the PLatexDate.
Definition at line 259 of file PTimeTable.cpp.
References p_day.
Referenced by ptimetable_dateTimeToCalendarTime(), ptimetable_dateToStr(), ptimetable_dateToText(), ptimetable_toTex(), and ptimetable_updateDate().
size_t & PLatexDate::getMonth | ( | ) |
Gets the month of the PLatexDate.
Definition at line 252 of file PTimeTable.cpp.
References p_month.
size_t PLatexDate::getMonth | ( | ) | const |
Gets the month of the PLatexDate.
Definition at line 245 of file PTimeTable.cpp.
References p_month.
Referenced by ptimetable_dateTimeToCalendarTime(), ptimetable_dateToStr(), ptimetable_dateToText(), ptimetable_toTex(), and ptimetable_updateDate().
size_t & PLatexDate::getYear | ( | ) |
Gets the year of the PLatexDate.
Definition at line 238 of file PTimeTable.cpp.
References p_year.
size_t PLatexDate::getYear | ( | ) | const |
Gets the year of the PLatexDate.
Definition at line 231 of file PTimeTable.cpp.
References p_year.
Referenced by ptimetable_dateTimeToCalendarTime(), ptimetable_dateToStr(), ptimetable_dateToText(), ptimetable_toTex(), and ptimetable_updateDate().
|
private |
Initialisation Function of class PLatexDate.
Definition at line 280 of file PTimeTable.cpp.
References p_day, p_month, and p_year.
Referenced by PLatexDate().
PLatexDate & PLatexDate::operator= | ( | const PLatexDate & | other | ) |
Operator = of class PLatexDate.
other | : PLatexDate we want ot copy |
Definition at line 202 of file PTimeTable.cpp.
References copyPLatexDate().
void PLatexDate::setDay | ( | size_t | day | ) |
Sets the day of the PLatexDate.
day | : day of the PLatexDate |
Definition at line 224 of file PTimeTable.cpp.
References p_day.
Referenced by ptimetable_parsePLatexDate().
void PLatexDate::setMonth | ( | size_t | month | ) |
Sets the month of the PLatexDate.
month | : month of the PLatexDate |
Definition at line 217 of file PTimeTable.cpp.
References p_month.
Referenced by ptimetable_parsePLatexDate().
void PLatexDate::setYear | ( | size_t | year | ) |
Sets the year of the PLatexDate.
year | : year of the PLatexDate |
Definition at line 210 of file PTimeTable.cpp.
References p_year.
Referenced by ptimetable_parsePLatexDate().
|
private |
Day.
Definition at line 82 of file PTimeTable.h.
Referenced by copyPLatexDate(), getDay(), initialisationPLatexDate(), and setDay().
|
private |
Month.
Definition at line 80 of file PTimeTable.h.
Referenced by copyPLatexDate(), getMonth(), initialisationPLatexDate(), and setMonth().
|
private |
Year.
Definition at line 78 of file PTimeTable.h.
Referenced by copyPLatexDate(), getYear(), initialisationPLatexDate(), and setYear().