![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Block of a Timetable. More...
#include <PTimeTable.h>
Public Member Functions | |
PLatexTime & | getBeginTime () |
Gets the beginTime of the PTimeTableBlock. More... | |
const PLatexTime & | getBeginTime () const |
Gets the beginTime of the PTimeTableBlock. More... | |
PLatexDate & | getDate () |
Gets the date of the PTimeTableBlock. More... | |
const PLatexDate & | getDate () const |
Gets the date of the PTimeTableBlock. More... | |
PLatexObj & | getDescription () |
Gets the description of the PTimeTableBlock. More... | |
const PLatexObj & | getDescription () const |
Gets the description of the PTimeTableBlock. More... | |
PLatexTime & | getDuration () |
Gets the duration of the PTimeTableBlock. More... | |
const PLatexTime & | getDuration () const |
Gets the duration of the PTimeTableBlock. More... | |
PLatexTime & | getEndTime () |
Gets the endTime of the PTimeTableBlock. More... | |
const PLatexTime & | getEndTime () const |
Gets the endTime of the PTimeTableBlock. More... | |
PString & | getInvitation () |
Gets the invitation of the PTimeTableBlock. More... | |
const PString & | getInvitation () const |
Gets the invitation of the PTimeTableBlock. More... | |
bool & | getIsEmptyBlock () |
Gets the isEmptyBlock of the PTimeTableBlock. More... | |
bool | getIsEmptyBlock () const |
Gets the isEmptyBlock of the PTimeTableBlock. More... | |
PLatexObj & | getLocation () |
Gets the location of the PTimeTableBlock. More... | |
const PLatexObj & | getLocation () const |
Gets the location of the PTimeTableBlock. More... | |
PString & | getMainUrl () |
Gets the mainUrl of the PTimeTableBlock. More... | |
const PString & | getMainUrl () const |
Gets the mainUrl of the PTimeTableBlock. More... | |
size_t & | getNbTimeRow () |
Gets the nbTimeRow of the PTimeTableBlock. More... | |
size_t | getNbTimeRow () const |
Gets the nbTimeRow of the PTimeTableBlock. More... | |
PLatexTime & | getQuestionTime () |
Gets the questionTime of the PTimeTableBlock. More... | |
const PLatexTime & | getQuestionTime () const |
Gets the questionTime of the PTimeTableBlock. More... | |
PString & | getStyle () |
Gets the style of the PTimeTableBlock. More... | |
const PString & | getStyle () const |
Gets the style of the PTimeTableBlock. More... | |
PLatexObj & | getTitle () |
Gets the title of the PTimeTableBlock. More... | |
const PLatexObj & | getTitle () const |
Gets the title of the PTimeTableBlock. More... | |
std::vector< PString > & | getVecSpeaker () |
Gets the vecSpeaker of the PTimeTableBlock. More... | |
const std::vector< PString > & | getVecSpeaker () const |
Gets the vecSpeaker of the PTimeTableBlock. More... | |
PLatexObj & | getWeekTitle () |
Gets the weekTitle of the PTimeTableBlock. More... | |
const PLatexObj & | getWeekTitle () const |
Gets the weekTitle of the PTimeTableBlock. More... | |
PTimeTableBlock & | operator= (const PTimeTableBlock &other) |
Operator = of class PTimeTableBlock. More... | |
PTimeTableBlock () | |
Constructor of class PTimeTableBlock. More... | |
PTimeTableBlock (const PTimeTableBlock &other) | |
Copy Constructor of class PTimeTableBlock. More... | |
void | setBeginTime (const PLatexTime &beginTime) |
Sets the beginTime of the PTimeTableBlock. More... | |
void | setDate (const PLatexDate &date) |
Sets the date of the PTimeTableBlock. More... | |
void | setDescription (const PLatexObj &description) |
Sets the description of the PTimeTableBlock. More... | |
void | setDuration (const PLatexTime &duration) |
Sets the duration of the PTimeTableBlock. More... | |
void | setEndTime (const PLatexTime &endTime) |
Sets the endTime of the PTimeTableBlock. More... | |
void | setInvitation (const PString &invitation) |
Sets the invitation of the PTimeTableBlock. More... | |
void | setIsEmptyBlock (bool isEmptyBlock) |
Sets the isEmptyBlock of the PTimeTableBlock. More... | |
void | setLocation (const PLatexObj &location) |
Sets the location of the PTimeTableBlock. More... | |
void | setMainUrl (const PString &mainUrl) |
Sets the mainUrl of the PTimeTableBlock. More... | |
void | setNbTimeRow (size_t nbTimeRow) |
Sets the nbTimeRow of the PTimeTableBlock. More... | |
void | setQuestionTime (const PLatexTime &questionTime) |
Sets the questionTime of the PTimeTableBlock. More... | |
void | setStyle (const PString &style) |
Sets the style of the PTimeTableBlock. More... | |
void | setTitle (const PLatexObj &title) |
Sets the title of the PTimeTableBlock. More... | |
void | setVecSpeaker (const std::vector< PString > &vecSpeaker) |
Sets the vecSpeaker of the PTimeTableBlock. More... | |
void | setWeekTitle (const PLatexObj &weekTitle) |
Sets the weekTitle of the PTimeTableBlock. More... | |
virtual | ~PTimeTableBlock () |
Destructor of class PTimeTableBlock. More... | |
Protected Member Functions | |
void | copyPTimeTableBlock (const PTimeTableBlock &other) |
Copy Function of class PTimeTableBlock. More... | |
Private Member Functions | |
void | initialisationPTimeTableBlock () |
Initialisation Function of class PTimeTableBlock. More... | |
Private Attributes | |
PLatexTime | p_beginTime |
Time when the block begins. More... | |
PLatexDate | p_date |
Date when the block begins. More... | |
PLatexObj | p_description |
Description of the block. More... | |
PLatexTime | p_duration |
Duration of the block. More... | |
PLatexTime | p_endTime |
Time when the block ends. More... | |
PString | p_invitation |
Name of the invitation file to be generated for this event. More... | |
bool | p_isEmptyBlock |
True if the block is an empty block. More... | |
PLatexObj | p_location |
Location of the block. More... | |
PString | p_mainUrl |
Url of the main site where this generated timetable is hosted. More... | |
size_t | p_nbTimeRow |
Number of time rows on which the current block is. More... | |
PLatexTime | p_questionTime |
Duration of the questions in this block (included in duraction time) More... | |
PString | p_style |
Style of the section (CSS class name of the section) More... | |
PLatexObj | p_title |
Title of the block. More... | |
std::vector< PString > | p_vecSpeaker |
Vector of label of speakers on this block. More... | |
PLatexObj | p_weekTitle |
Title of the block for the entire week. More... | |
Block of a Timetable.
Definition at line 109 of file PTimeTable.h.
PTimeTableBlock::PTimeTableBlock | ( | ) |
Constructor of class PTimeTableBlock.
Definition at line 369 of file PTimeTable.cpp.
References initialisationPTimeTableBlock().
PTimeTableBlock::PTimeTableBlock | ( | const PTimeTableBlock & | other | ) |
Copy Constructor of class PTimeTableBlock.
other | : PTimeTableBlock we want ot copy |
Definition at line 376 of file PTimeTable.cpp.
References copyPTimeTableBlock().
|
virtual |
|
protected |
Copy Function of class PTimeTableBlock.
other | : PTimeTableBlock we want ot copy |
Definition at line 712 of file PTimeTable.cpp.
References p_beginTime, p_date, p_description, p_duration, p_endTime, p_invitation, p_isEmptyBlock, p_location, p_mainUrl, p_nbTimeRow, p_questionTime, p_style, p_title, p_vecSpeaker, and p_weekTitle.
Referenced by operator=(), and PTimeTableBlock().
PLatexTime & PTimeTableBlock::getBeginTime | ( | ) |
Gets the beginTime of the PTimeTableBlock.
Definition at line 607 of file PTimeTable.cpp.
References p_beginTime.
const PLatexTime & PTimeTableBlock::getBeginTime | ( | ) | const |
Gets the beginTime of the PTimeTableBlock.
Definition at line 600 of file PTimeTable.cpp.
References p_beginTime.
Referenced by ptimetable_addBlockInWeek(), ptimetable_blockToEvent(), ptimetable_texLecture(), ptimetable_updateBlockTimeRow(), and ptimetable_updateEndTime().
PLatexDate & PTimeTableBlock::getDate | ( | ) |
Gets the date of the PTimeTableBlock.
Definition at line 593 of file PTimeTable.cpp.
References p_date.
const PLatexDate & PTimeTableBlock::getDate | ( | ) | const |
Gets the date of the PTimeTableBlock.
Definition at line 586 of file PTimeTable.cpp.
References p_date.
Referenced by ptimetable_addBlockInWeek(), ptimetable_blockToEvent(), ptimetable_texLecture(), and ptimetable_updateEndTime().
PLatexObj & PTimeTableBlock::getDescription | ( | ) |
Gets the description of the PTimeTableBlock.
Definition at line 579 of file PTimeTable.cpp.
References p_description.
const PLatexObj & PTimeTableBlock::getDescription | ( | ) | const |
Gets the description of the PTimeTableBlock.
Definition at line 572 of file PTimeTable.cpp.
References p_description.
Referenced by ptimetable_loadBlock(), and ptimetable_texLecture().
PLatexTime & PTimeTableBlock::getDuration | ( | ) |
Gets the duration of the PTimeTableBlock.
Definition at line 635 of file PTimeTable.cpp.
References p_duration.
const PLatexTime & PTimeTableBlock::getDuration | ( | ) | const |
Gets the duration of the PTimeTableBlock.
Definition at line 628 of file PTimeTable.cpp.
References p_duration.
Referenced by ptimetable_updateEndTime().
PLatexTime & PTimeTableBlock::getEndTime | ( | ) |
Gets the endTime of the PTimeTableBlock.
Definition at line 621 of file PTimeTable.cpp.
References p_endTime.
const PLatexTime & PTimeTableBlock::getEndTime | ( | ) | const |
Gets the endTime of the PTimeTableBlock.
Definition at line 614 of file PTimeTable.cpp.
References p_endTime.
Referenced by ptimetable_addBlockInWeek(), ptimetable_blockToEvent(), ptimetable_compelteDayEmptyBlock(), ptimetable_texLecture(), and ptimetable_updateBlockTimeRow().
PString & PTimeTableBlock::getInvitation | ( | ) |
Gets the invitation of the PTimeTableBlock.
Definition at line 565 of file PTimeTable.cpp.
References p_invitation.
const PString & PTimeTableBlock::getInvitation | ( | ) | const |
Gets the invitation of the PTimeTableBlock.
Definition at line 558 of file PTimeTable.cpp.
References p_invitation.
Referenced by ptimetable_blockToEvent(), ptimetable_blockToTex(), and ptimetable_texLecture().
bool & PTimeTableBlock::getIsEmptyBlock | ( | ) |
Gets the isEmptyBlock of the PTimeTableBlock.
Definition at line 705 of file PTimeTable.cpp.
References p_isEmptyBlock.
bool PTimeTableBlock::getIsEmptyBlock | ( | ) | const |
Gets the isEmptyBlock of the PTimeTableBlock.
Definition at line 698 of file PTimeTable.cpp.
References p_isEmptyBlock.
Referenced by ptimetable_blockToTex().
PLatexObj & PTimeTableBlock::getLocation | ( | ) |
Gets the location of the PTimeTableBlock.
Definition at line 663 of file PTimeTable.cpp.
References p_location.
const PLatexObj & PTimeTableBlock::getLocation | ( | ) | const |
Gets the location of the PTimeTableBlock.
Definition at line 656 of file PTimeTable.cpp.
References p_location.
Referenced by ptimetable_blockToEvent(), ptimetable_loadBlock(), and ptimetable_texLecture().
PString & PTimeTableBlock::getMainUrl | ( | ) |
Gets the mainUrl of the PTimeTableBlock.
Definition at line 509 of file PTimeTable.cpp.
References p_mainUrl.
const PString & PTimeTableBlock::getMainUrl | ( | ) | const |
Gets the mainUrl of the PTimeTableBlock.
Definition at line 502 of file PTimeTable.cpp.
References p_mainUrl.
Referenced by ptimetable_blockToEvent().
size_t & PTimeTableBlock::getNbTimeRow | ( | ) |
Gets the nbTimeRow of the PTimeTableBlock.
Definition at line 691 of file PTimeTable.cpp.
References p_nbTimeRow.
size_t PTimeTableBlock::getNbTimeRow | ( | ) | const |
Gets the nbTimeRow of the PTimeTableBlock.
Definition at line 684 of file PTimeTable.cpp.
References p_nbTimeRow.
Referenced by ptimetable_blockToTex().
PLatexTime & PTimeTableBlock::getQuestionTime | ( | ) |
Gets the questionTime of the PTimeTableBlock.
Definition at line 649 of file PTimeTable.cpp.
References p_questionTime.
const PLatexTime & PTimeTableBlock::getQuestionTime | ( | ) | const |
Gets the questionTime of the PTimeTableBlock.
Definition at line 642 of file PTimeTable.cpp.
References p_questionTime.
PString & PTimeTableBlock::getStyle | ( | ) |
Gets the style of the PTimeTableBlock.
Definition at line 677 of file PTimeTable.cpp.
References p_style.
const PString & PTimeTableBlock::getStyle | ( | ) | const |
Gets the style of the PTimeTableBlock.
Definition at line 670 of file PTimeTable.cpp.
References p_style.
Referenced by ptimetable_blockToTex().
PLatexObj & PTimeTableBlock::getTitle | ( | ) |
Gets the title of the PTimeTableBlock.
Definition at line 523 of file PTimeTable.cpp.
References p_title.
const PLatexObj & PTimeTableBlock::getTitle | ( | ) | const |
Gets the title of the PTimeTableBlock.
Definition at line 516 of file PTimeTable.cpp.
References p_title.
Referenced by ptimetable_blockToEvent(), ptimetable_blockToTex(), ptimetable_loadBlock(), and ptimetable_texLecture().
std::vector< PString > & PTimeTableBlock::getVecSpeaker | ( | ) |
Gets the vecSpeaker of the PTimeTableBlock.
Definition at line 551 of file PTimeTable.cpp.
References p_vecSpeaker.
const std::vector< PString > & PTimeTableBlock::getVecSpeaker | ( | ) | const |
Gets the vecSpeaker of the PTimeTableBlock.
Definition at line 544 of file PTimeTable.cpp.
References p_vecSpeaker.
Referenced by ptimetable_blockToEvent(), ptimetable_blockToTex(), and ptimetable_texLecture().
PLatexObj & PTimeTableBlock::getWeekTitle | ( | ) |
Gets the weekTitle of the PTimeTableBlock.
Definition at line 537 of file PTimeTable.cpp.
References p_weekTitle.
const PLatexObj & PTimeTableBlock::getWeekTitle | ( | ) | const |
Gets the weekTitle of the PTimeTableBlock.
Definition at line 530 of file PTimeTable.cpp.
References p_weekTitle.
Referenced by ptimetable_loadBlock().
|
private |
Initialisation Function of class PTimeTableBlock.
Definition at line 731 of file PTimeTable.cpp.
References p_invitation, p_isEmptyBlock, p_mainUrl, p_nbTimeRow, and p_style.
Referenced by PTimeTableBlock().
PTimeTableBlock & PTimeTableBlock::operator= | ( | const PTimeTableBlock & | other | ) |
Operator = of class PTimeTableBlock.
other | : PTimeTableBlock we want ot copy |
Definition at line 389 of file PTimeTable.cpp.
References copyPTimeTableBlock().
void PTimeTableBlock::setBeginTime | ( | const PLatexTime & | beginTime | ) |
Sets the beginTime of the PTimeTableBlock.
beginTime | : beginTime of the PTimeTableBlock |
Definition at line 446 of file PTimeTable.cpp.
References p_beginTime.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setDate | ( | const PLatexDate & | date | ) |
Sets the date of the PTimeTableBlock.
date | : date of the PTimeTableBlock |
Definition at line 439 of file PTimeTable.cpp.
References p_date.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setDescription | ( | const PLatexObj & | description | ) |
Sets the description of the PTimeTableBlock.
description | : description of the PTimeTableBlock |
Definition at line 432 of file PTimeTable.cpp.
References p_description.
void PTimeTableBlock::setDuration | ( | const PLatexTime & | duration | ) |
Sets the duration of the PTimeTableBlock.
duration | : duration of the PTimeTableBlock |
Definition at line 460 of file PTimeTable.cpp.
References p_duration.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setEndTime | ( | const PLatexTime & | endTime | ) |
Sets the endTime of the PTimeTableBlock.
endTime | : endTime of the PTimeTableBlock |
Definition at line 453 of file PTimeTable.cpp.
References p_endTime.
Referenced by ptimetable_updateEndTime().
void PTimeTableBlock::setInvitation | ( | const PString & | invitation | ) |
Sets the invitation of the PTimeTableBlock.
invitation | : invitation of the PTimeTableBlock |
Definition at line 425 of file PTimeTable.cpp.
References p_invitation.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setIsEmptyBlock | ( | bool | isEmptyBlock | ) |
Sets the isEmptyBlock of the PTimeTableBlock.
isEmptyBlock | : isEmptyBlock of the PTimeTableBlock |
Definition at line 495 of file PTimeTable.cpp.
References p_isEmptyBlock.
Referenced by ptimetable_compelteDayEmptyBlock().
void PTimeTableBlock::setLocation | ( | const PLatexObj & | location | ) |
Sets the location of the PTimeTableBlock.
location | : location of the PTimeTableBlock |
Definition at line 474 of file PTimeTable.cpp.
References p_location.
void PTimeTableBlock::setMainUrl | ( | const PString & | mainUrl | ) |
Sets the mainUrl of the PTimeTableBlock.
mainUrl | : mainUrl of the PTimeTableBlock |
Definition at line 397 of file PTimeTable.cpp.
References p_mainUrl.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setNbTimeRow | ( | size_t | nbTimeRow | ) |
Sets the nbTimeRow of the PTimeTableBlock.
nbTimeRow | : nbTimeRow of the PTimeTableBlock |
Definition at line 488 of file PTimeTable.cpp.
References p_nbTimeRow.
Referenced by ptimetable_singleDay(), and ptimetable_updateBlockTimeRow().
void PTimeTableBlock::setQuestionTime | ( | const PLatexTime & | questionTime | ) |
Sets the questionTime of the PTimeTableBlock.
questionTime | : questionTime of the PTimeTableBlock |
Definition at line 467 of file PTimeTable.cpp.
References p_questionTime.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setStyle | ( | const PString & | style | ) |
Sets the style of the PTimeTableBlock.
style | : style of the PTimeTableBlock |
Definition at line 481 of file PTimeTable.cpp.
References p_style.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setTitle | ( | const PLatexObj & | title | ) |
Sets the title of the PTimeTableBlock.
title | : title of the PTimeTableBlock |
Definition at line 404 of file PTimeTable.cpp.
References p_title.
void PTimeTableBlock::setVecSpeaker | ( | const std::vector< PString > & | vecSpeaker | ) |
Sets the vecSpeaker of the PTimeTableBlock.
vecSpeaker | : vecSpeaker of the PTimeTableBlock |
Definition at line 418 of file PTimeTable.cpp.
References p_vecSpeaker.
Referenced by ptimetable_loadBlock().
void PTimeTableBlock::setWeekTitle | ( | const PLatexObj & | weekTitle | ) |
Sets the weekTitle of the PTimeTableBlock.
weekTitle | : weekTitle of the PTimeTableBlock |
Definition at line 411 of file PTimeTable.cpp.
References p_weekTitle.
|
private |
Time when the block begins.
Definition at line 179 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getBeginTime(), and setBeginTime().
|
private |
Date when the block begins.
Definition at line 177 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getDate(), and setDate().
|
private |
Description of the block.
Definition at line 175 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getDescription(), and setDescription().
|
private |
Duration of the block.
Definition at line 183 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getDuration(), and setDuration().
|
private |
Time when the block ends.
Definition at line 181 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getEndTime(), and setEndTime().
|
private |
Name of the invitation file to be generated for this event.
Definition at line 173 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getInvitation(), initialisationPTimeTableBlock(), and setInvitation().
|
private |
True if the block is an empty block.
Definition at line 193 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getIsEmptyBlock(), initialisationPTimeTableBlock(), and setIsEmptyBlock().
|
private |
Location of the block.
Definition at line 187 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getLocation(), and setLocation().
|
private |
Url of the main site where this generated timetable is hosted.
Definition at line 165 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getMainUrl(), initialisationPTimeTableBlock(), and setMainUrl().
|
private |
Number of time rows on which the current block is.
Definition at line 191 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getNbTimeRow(), initialisationPTimeTableBlock(), and setNbTimeRow().
|
private |
Duration of the questions in this block (included in duraction time)
Definition at line 185 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getQuestionTime(), and setQuestionTime().
|
private |
Style of the section (CSS class name of the section)
Definition at line 189 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getStyle(), initialisationPTimeTableBlock(), and setStyle().
|
private |
Title of the block.
Definition at line 167 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getTitle(), and setTitle().
|
private |
Vector of label of speakers on this block.
Definition at line 171 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getVecSpeaker(), and setVecSpeaker().
|
private |
Title of the block for the entire week.
Definition at line 169 of file PTimeTable.h.
Referenced by copyPTimeTableBlock(), getWeekTitle(), and setWeekTitle().