PhoenixLecture  2.0.0
Set of tools to make lectures
PTimeTable Class Reference

Timetable. More...

#include <PTimeTable.h>

+ Collaboration diagram for PTimeTable:

Public Member Functions

PLatexDategetBeginDate ()
 Gets the beginDate of the PTimeTable. More...
 
const PLatexDategetBeginDate () const
 Gets the beginDate of the PTimeTable. More...
 
PLatexDategetEndDate ()
 Gets the endDate of the PTimeTable. More...
 
const PLatexDategetEndDate () const
 Gets the endDate of the PTimeTable. More...
 
PStringgetFirstDay ()
 Gets the firstDay of the PTimeTable. More...
 
const PStringgetFirstDay () const
 Gets the firstDay of the PTimeTable. More...
 
PStringgetInvitation ()
 Gets the invitation of the PTimeTable. More...
 
const PStringgetInvitation () const
 Gets the invitation of the PTimeTable. More...
 
PLatexObjgetLocation ()
 Gets the location of the PTimeTable. More...
 
const PLatexObjgetLocation () const
 Gets the location of the PTimeTable. More...
 
PStringgetMainUrl ()
 Gets the mainUrl of the PTimeTable. More...
 
const PStringgetMainUrl () const
 Gets the mainUrl of the PTimeTable. More...
 
PLatexObjgetName ()
 Gets the name of the PTimeTable. More...
 
const PLatexObjgetName () const
 Gets the name of the PTimeTable. More...
 
std::vector< PTimeTableBlock > & getVecBlock ()
 Gets the vecBlock of the PTimeTable. More...
 
const std::vector< PTimeTableBlock > & getVecBlock () const
 Gets the vecBlock of the PTimeTable. More...
 
std::vector< PLatexSpeaker > & getVecSpeaker ()
 Gets the vecSpeaker of the PTimeTable. More...
 
const std::vector< PLatexSpeaker > & getVecSpeaker () const
 Gets the vecSpeaker of the PTimeTable. More...
 
PTimeTableoperator= (const PTimeTable &other)
 Operator = of class PTimeTable. More...
 
 PTimeTable ()
 Constructor of class PTimeTable. More...
 
 PTimeTable (const PTimeTable &other)
 Copy Constructor of class PTimeTable. More...
 
void setBeginDate (const PLatexDate &beginDate)
 Sets the beginDate of the PTimeTable. More...
 
void setEndDate (const PLatexDate &endDate)
 Sets the endDate of the PTimeTable. More...
 
void setFirstDay (const PString &firstDay)
 Sets the firstDay of the PTimeTable. More...
 
void setInvitation (const PString &invitation)
 Sets the invitation of the PTimeTable. More...
 
void setLocation (const PLatexObj &location)
 Sets the location of the PTimeTable. More...
 
void setMainUrl (const PString &mainUrl)
 Sets the mainUrl of the PTimeTable. More...
 
void setName (const PLatexObj &name)
 Sets the name of the PTimeTable. More...
 
void setVecBlock (const std::vector< PTimeTableBlock > &vecBlock)
 Sets the vecBlock of the PTimeTable. More...
 
void setVecSpeaker (const std::vector< PLatexSpeaker > &vecSpeaker)
 Sets the vecSpeaker of the PTimeTable. More...
 
virtual ~PTimeTable ()
 Destructor of class PTimeTable. More...
 

Protected Member Functions

void copyPTimeTable (const PTimeTable &other)
 Copy Function of class PTimeTable. More...
 

Private Member Functions

void initialisationPTimeTable ()
 Initialisation Function of class PTimeTable. More...
 

Private Attributes

PLatexDate p_beginDate
 Date when the timetable begins. More...
 
PLatexDate p_endDate
 Date when the timetable ends. More...
 
PString p_firstDay
 Name of the first day of the timetable (Monday, Tuesday, Wednesday, Thrusday, Friday, Saturday, Sunday) More...
 
PString p_invitation
 Invitation of the full timetable. More...
 
PLatexObj p_location
 Location of the event. More...
 
PString p_mainUrl
 Url of the main site where this generated timetable is hosted. More...
 
PLatexObj p_name
 Name of the event. More...
 
std::vector< PTimeTableBlockp_vecBlock
 Vector of block of the timetable. More...
 
std::vector< PLatexSpeakerp_vecSpeaker
 Vector of speakers. More...
 

Detailed Description

Timetable.

Definition at line 197 of file PTimeTable.h.

Constructor & Destructor Documentation

◆ PTimeTable() [1/2]

PTimeTable::PTimeTable ( )

Constructor of class PTimeTable.

Definition at line 740 of file PTimeTable.cpp.

740  {
742 }
void initialisationPTimeTable()
Initialisation Function of class PTimeTable.
Definition: PTimeTable.cpp:970

References initialisationPTimeTable().

+ Here is the call graph for this function:

◆ PTimeTable() [2/2]

PTimeTable::PTimeTable ( const PTimeTable other)

Copy Constructor of class PTimeTable.

Parameters
other: PTimeTable we want ot copy

Definition at line 747 of file PTimeTable.cpp.

747  {
748  copyPTimeTable(other);
749 }
void copyPTimeTable(const PTimeTable &other)
Copy Function of class PTimeTable.
Definition: PTimeTable.cpp:957

References copyPTimeTable().

+ Here is the call graph for this function:

◆ ~PTimeTable()

PTimeTable::~PTimeTable ( )
virtual

Destructor of class PTimeTable.

Definition at line 752 of file PTimeTable.cpp.

752  {
753 
754 }

Member Function Documentation

◆ copyPTimeTable()

void PTimeTable::copyPTimeTable ( const PTimeTable other)
protected

Copy Function of class PTimeTable.

Parameters
other: PTimeTable we want ot copy

Definition at line 957 of file PTimeTable.cpp.

957  {
958  p_mainUrl = other.p_mainUrl;
959  p_name = other.p_name;
960  p_invitation = other.p_invitation;
961  p_beginDate = other.p_beginDate;
962  p_endDate = other.p_endDate;
963  p_firstDay = other.p_firstDay;
964  p_location = other.p_location;
965  p_vecBlock = other.p_vecBlock;
966  p_vecSpeaker = other.p_vecSpeaker;
967 }
PString p_firstDay
Name of the first day of the timetable (Monday, Tuesday, Wednesday, Thrusday, Friday,...
Definition: PTimeTable.h:245
std::vector< PLatexSpeaker > p_vecSpeaker
Vector of speakers.
Definition: PTimeTable.h:251
PLatexObj p_location
Location of the event.
Definition: PTimeTable.h:247
PLatexObj p_name
Name of the event.
Definition: PTimeTable.h:237
std::vector< PTimeTableBlock > p_vecBlock
Vector of block of the timetable.
Definition: PTimeTable.h:249
PString p_mainUrl
Url of the main site where this generated timetable is hosted.
Definition: PTimeTable.h:235
PString p_invitation
Invitation of the full timetable.
Definition: PTimeTable.h:239
PLatexDate p_beginDate
Date when the timetable begins.
Definition: PTimeTable.h:241
PLatexDate p_endDate
Date when the timetable ends.
Definition: PTimeTable.h:243

References p_beginDate, p_endDate, p_firstDay, p_invitation, p_location, p_mainUrl, p_name, p_vecBlock, and p_vecSpeaker.

Referenced by operator=(), and PTimeTable().

+ Here is the caller graph for this function:

◆ getBeginDate() [1/2]

PLatexDate & PTimeTable::getBeginDate ( )

Gets the beginDate of the PTimeTable.

Returns
beginDate of the PTimeTable

Definition at line 880 of file PTimeTable.cpp.

880  {
881  return p_beginDate;
882 }

References p_beginDate.

◆ getBeginDate() [2/2]

const PLatexDate & PTimeTable::getBeginDate ( ) const

Gets the beginDate of the PTimeTable.

Returns
beginDate of the PTimeTable

Definition at line 873 of file PTimeTable.cpp.

873  {
874  return p_beginDate;
875 }

References p_beginDate.

Referenced by ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getEndDate() [1/2]

PLatexDate & PTimeTable::getEndDate ( )

Gets the endDate of the PTimeTable.

Returns
endDate of the PTimeTable

Definition at line 894 of file PTimeTable.cpp.

894  {
895  return p_endDate;
896 }

References p_endDate.

◆ getEndDate() [2/2]

const PLatexDate & PTimeTable::getEndDate ( ) const

Gets the endDate of the PTimeTable.

Returns
endDate of the PTimeTable

Definition at line 887 of file PTimeTable.cpp.

887  {
888  return p_endDate;
889 }

References p_endDate.

◆ getFirstDay() [1/2]

PString & PTimeTable::getFirstDay ( )

Gets the firstDay of the PTimeTable.

Returns
firstDay of the PTimeTable

Definition at line 908 of file PTimeTable.cpp.

908  {
909  return p_firstDay;
910 }

References p_firstDay.

◆ getFirstDay() [2/2]

const PString & PTimeTable::getFirstDay ( ) const

Gets the firstDay of the PTimeTable.

Returns
firstDay of the PTimeTable

Definition at line 901 of file PTimeTable.cpp.

901  {
902  return p_firstDay;
903 }

References p_firstDay.

◆ getInvitation() [1/2]

PString & PTimeTable::getInvitation ( )

Gets the invitation of the PTimeTable.

Returns
invitation of the PTimeTable

Definition at line 866 of file PTimeTable.cpp.

866  {
867  return p_invitation;
868 }

References p_invitation.

◆ getInvitation() [2/2]

const PString & PTimeTable::getInvitation ( ) const

Gets the invitation of the PTimeTable.

Returns
invitation of the PTimeTable

Definition at line 859 of file PTimeTable.cpp.

859  {
860  return p_invitation;
861 }

References p_invitation.

Referenced by pspeaker_tex(), ptimetable_createTexTimeTable(), and ptimetable_tex().

+ Here is the caller graph for this function:

◆ getLocation() [1/2]

PLatexObj & PTimeTable::getLocation ( )

Gets the location of the PTimeTable.

Returns
location of the PTimeTable

Definition at line 922 of file PTimeTable.cpp.

922  {
923  return p_location;
924 }

References p_location.

◆ getLocation() [2/2]

const PLatexObj & PTimeTable::getLocation ( ) const

Gets the location of the PTimeTable.

Returns
location of the PTimeTable

Definition at line 915 of file PTimeTable.cpp.

915  {
916  return p_location;
917 }

References p_location.

Referenced by ptimetable_load(), and ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getMainUrl() [1/2]

PString & PTimeTable::getMainUrl ( )

Gets the mainUrl of the PTimeTable.

Returns
mainUrl of the PTimeTable

Definition at line 838 of file PTimeTable.cpp.

838  {
839  return p_mainUrl;
840 }

References p_mainUrl.

◆ getMainUrl() [2/2]

const PString & PTimeTable::getMainUrl ( ) const

Gets the mainUrl of the PTimeTable.

Returns
mainUrl of the PTimeTable

Definition at line 831 of file PTimeTable.cpp.

831  {
832  return p_mainUrl;
833 }

References p_mainUrl.

Referenced by ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getName() [1/2]

PLatexObj & PTimeTable::getName ( )

Gets the name of the PTimeTable.

Returns
name of the PTimeTable

Definition at line 852 of file PTimeTable.cpp.

852  {
853  return p_name;
854 }

References p_name.

◆ getName() [2/2]

const PLatexObj & PTimeTable::getName ( ) const

Gets the name of the PTimeTable.

Returns
name of the PTimeTable

Definition at line 845 of file PTimeTable.cpp.

845  {
846  return p_name;
847 }

References p_name.

Referenced by ptimetable_load(), and ptimetable_tex().

+ Here is the caller graph for this function:

◆ getVecBlock() [1/2]

std::vector< PTimeTableBlock > & PTimeTable::getVecBlock ( )

Gets the vecBlock of the PTimeTable.

Returns
vecBlock of the PTimeTable

Definition at line 936 of file PTimeTable.cpp.

936  {
937  return p_vecBlock;
938 }

References p_vecBlock.

◆ getVecBlock() [2/2]

const std::vector< PTimeTableBlock > & PTimeTable::getVecBlock ( ) const

Gets the vecBlock of the PTimeTable.

Returns
vecBlock of the PTimeTable

Definition at line 929 of file PTimeTable.cpp.

929  {
930  return p_vecBlock;
931 }

References p_vecBlock.

Referenced by ptimetable_createTexTimeTable(), ptimetable_loadBlock(), and ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getVecSpeaker() [1/2]

std::vector< PLatexSpeaker > & PTimeTable::getVecSpeaker ( )

Gets the vecSpeaker of the PTimeTable.

Returns
vecSpeaker of the PTimeTable

Definition at line 950 of file PTimeTable.cpp.

950  {
951  return p_vecSpeaker;
952 }

References p_vecSpeaker.

◆ getVecSpeaker() [2/2]

const std::vector< PLatexSpeaker > & PTimeTable::getVecSpeaker ( ) const

Gets the vecSpeaker of the PTimeTable.

Returns
vecSpeaker of the PTimeTable

Definition at line 943 of file PTimeTable.cpp.

943  {
944  return p_vecSpeaker;
945 }

References p_vecSpeaker.

Referenced by pspeaker_tex(), ptimetable_createTexTimeTable(), and ptimetable_load().

+ Here is the caller graph for this function:

◆ initialisationPTimeTable()

void PTimeTable::initialisationPTimeTable ( )
private

Initialisation Function of class PTimeTable.

Definition at line 970 of file PTimeTable.cpp.

970  {
971  p_mainUrl = "";
972  p_invitation = "";
973  p_firstDay = "";
974 }

References p_firstDay, p_invitation, and p_mainUrl.

Referenced by PTimeTable().

+ Here is the caller graph for this function:

◆ operator=()

PTimeTable & PTimeTable::operator= ( const PTimeTable other)

Operator = of class PTimeTable.

Parameters
other: PTimeTable we want ot copy
Returns
copied class PTimeTable

Definition at line 760 of file PTimeTable.cpp.

760  {
761  copyPTimeTable(other);
762  return *this;
763 }

References copyPTimeTable().

+ Here is the call graph for this function:

◆ setBeginDate()

void PTimeTable::setBeginDate ( const PLatexDate beginDate)

Sets the beginDate of the PTimeTable.

Parameters
beginDate: beginDate of the PTimeTable

Definition at line 789 of file PTimeTable.cpp.

789  {
790  p_beginDate = beginDate;
791 }

References p_beginDate.

Referenced by ptimetable_load().

+ Here is the caller graph for this function:

◆ setEndDate()

void PTimeTable::setEndDate ( const PLatexDate endDate)

Sets the endDate of the PTimeTable.

Parameters
endDate: endDate of the PTimeTable

Definition at line 796 of file PTimeTable.cpp.

796  {
797  p_endDate = endDate;
798 }

References p_endDate.

Referenced by ptimetable_load().

+ Here is the caller graph for this function:

◆ setFirstDay()

void PTimeTable::setFirstDay ( const PString firstDay)

Sets the firstDay of the PTimeTable.

Parameters
firstDay: firstDay of the PTimeTable

Definition at line 803 of file PTimeTable.cpp.

803  {
804  p_firstDay = firstDay;
805 }

References p_firstDay.

◆ setInvitation()

void PTimeTable::setInvitation ( const PString invitation)

Sets the invitation of the PTimeTable.

Parameters
invitation: invitation of the PTimeTable

Definition at line 782 of file PTimeTable.cpp.

782  {
783  p_invitation = invitation;
784 }

References p_invitation.

Referenced by ptimetable_load().

+ Here is the caller graph for this function:

◆ setLocation()

void PTimeTable::setLocation ( const PLatexObj location)

Sets the location of the PTimeTable.

Parameters
location: location of the PTimeTable

Definition at line 810 of file PTimeTable.cpp.

810  {
811  p_location = location;
812 }

References p_location.

◆ setMainUrl()

void PTimeTable::setMainUrl ( const PString mainUrl)

Sets the mainUrl of the PTimeTable.

Parameters
mainUrl: mainUrl of the PTimeTable

Definition at line 768 of file PTimeTable.cpp.

768  {
769  p_mainUrl = mainUrl;
770 }

References p_mainUrl.

Referenced by ptimetable_load().

+ Here is the caller graph for this function:

◆ setName()

void PTimeTable::setName ( const PLatexObj name)

Sets the name of the PTimeTable.

Parameters
name: name of the PTimeTable

Definition at line 775 of file PTimeTable.cpp.

775  {
776  p_name = name;
777 }

References p_name.

◆ setVecBlock()

void PTimeTable::setVecBlock ( const std::vector< PTimeTableBlock > &  vecBlock)

Sets the vecBlock of the PTimeTable.

Parameters
vecBlock: vecBlock of the PTimeTable

Definition at line 817 of file PTimeTable.cpp.

817  {
818  p_vecBlock = vecBlock;
819 }

References p_vecBlock.

◆ setVecSpeaker()

void PTimeTable::setVecSpeaker ( const std::vector< PLatexSpeaker > &  vecSpeaker)

Sets the vecSpeaker of the PTimeTable.

Parameters
vecSpeaker: vecSpeaker of the PTimeTable

Definition at line 824 of file PTimeTable.cpp.

824  {
825  p_vecSpeaker = vecSpeaker;
826 }

References p_vecSpeaker.

Referenced by PConfigParser::parseTimeTable().

+ Here is the caller graph for this function:

Member Data Documentation

◆ p_beginDate

PLatexDate PTimeTable::p_beginDate
private

Date when the timetable begins.

Definition at line 241 of file PTimeTable.h.

Referenced by copyPTimeTable(), getBeginDate(), and setBeginDate().

◆ p_endDate

PLatexDate PTimeTable::p_endDate
private

Date when the timetable ends.

Definition at line 243 of file PTimeTable.h.

Referenced by copyPTimeTable(), getEndDate(), and setEndDate().

◆ p_firstDay

PString PTimeTable::p_firstDay
private

Name of the first day of the timetable (Monday, Tuesday, Wednesday, Thrusday, Friday, Saturday, Sunday)

Definition at line 245 of file PTimeTable.h.

Referenced by copyPTimeTable(), getFirstDay(), initialisationPTimeTable(), and setFirstDay().

◆ p_invitation

PString PTimeTable::p_invitation
private

Invitation of the full timetable.

Definition at line 239 of file PTimeTable.h.

Referenced by copyPTimeTable(), getInvitation(), initialisationPTimeTable(), and setInvitation().

◆ p_location

PLatexObj PTimeTable::p_location
private

Location of the event.

Definition at line 247 of file PTimeTable.h.

Referenced by copyPTimeTable(), getLocation(), and setLocation().

◆ p_mainUrl

PString PTimeTable::p_mainUrl
private

Url of the main site where this generated timetable is hosted.

Definition at line 235 of file PTimeTable.h.

Referenced by copyPTimeTable(), getMainUrl(), initialisationPTimeTable(), and setMainUrl().

◆ p_name

PLatexObj PTimeTable::p_name
private

Name of the event.

Definition at line 237 of file PTimeTable.h.

Referenced by copyPTimeTable(), getName(), and setName().

◆ p_vecBlock

std::vector<PTimeTableBlock> PTimeTable::p_vecBlock
private

Vector of block of the timetable.

Definition at line 249 of file PTimeTable.h.

Referenced by copyPTimeTable(), getVecBlock(), and setVecBlock().

◆ p_vecSpeaker

std::vector<PLatexSpeaker> PTimeTable::p_vecSpeaker
private

Vector of speakers.

Definition at line 251 of file PTimeTable.h.

Referenced by copyPTimeTable(), getVecSpeaker(), and setVecSpeaker().


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