PhoenixLecture  2.0.0
Set of tools to make lectures
PTimeTableBlock Class Reference

Block of a Timetable. More...

#include <PTimeTable.h>

+ Collaboration diagram for PTimeTableBlock:

Public Member Functions

PLatexTimegetBeginTime ()
 Gets the beginTime of the PTimeTableBlock. More...
 
const PLatexTimegetBeginTime () const
 Gets the beginTime of the PTimeTableBlock. More...
 
PLatexDategetDate ()
 Gets the date of the PTimeTableBlock. More...
 
const PLatexDategetDate () const
 Gets the date of the PTimeTableBlock. More...
 
PLatexObjgetDescription ()
 Gets the description of the PTimeTableBlock. More...
 
const PLatexObjgetDescription () const
 Gets the description of the PTimeTableBlock. More...
 
PLatexTimegetDuration ()
 Gets the duration of the PTimeTableBlock. More...
 
const PLatexTimegetDuration () const
 Gets the duration of the PTimeTableBlock. More...
 
PLatexTimegetEndTime ()
 Gets the endTime of the PTimeTableBlock. More...
 
const PLatexTimegetEndTime () const
 Gets the endTime of the PTimeTableBlock. More...
 
PStringgetInvitation ()
 Gets the invitation of the PTimeTableBlock. More...
 
const PStringgetInvitation () 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...
 
PLatexObjgetLocation ()
 Gets the location of the PTimeTableBlock. More...
 
const PLatexObjgetLocation () const
 Gets the location of the PTimeTableBlock. More...
 
PStringgetMainUrl ()
 Gets the mainUrl of the PTimeTableBlock. More...
 
const PStringgetMainUrl () 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...
 
PLatexTimegetQuestionTime ()
 Gets the questionTime of the PTimeTableBlock. More...
 
const PLatexTimegetQuestionTime () const
 Gets the questionTime of the PTimeTableBlock. More...
 
PStringgetStyle ()
 Gets the style of the PTimeTableBlock. More...
 
const PStringgetStyle () const
 Gets the style of the PTimeTableBlock. More...
 
PLatexObjgetTitle ()
 Gets the title of the PTimeTableBlock. More...
 
const PLatexObjgetTitle () 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...
 
PLatexObjgetWeekTitle ()
 Gets the weekTitle of the PTimeTableBlock. More...
 
const PLatexObjgetWeekTitle () const
 Gets the weekTitle of the PTimeTableBlock. More...
 
PTimeTableBlockoperator= (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< PStringp_vecSpeaker
 Vector of label of speakers on this block. More...
 
PLatexObj p_weekTitle
 Title of the block for the entire week. More...
 

Detailed Description

Block of a Timetable.

Definition at line 109 of file PTimeTable.h.

Constructor & Destructor Documentation

◆ PTimeTableBlock() [1/2]

PTimeTableBlock::PTimeTableBlock ( )

Constructor of class PTimeTableBlock.

Definition at line 369 of file PTimeTable.cpp.

369  {
371 }
void initialisationPTimeTableBlock()
Initialisation Function of class PTimeTableBlock.
Definition: PTimeTable.cpp:731

References initialisationPTimeTableBlock().

+ Here is the call graph for this function:

◆ PTimeTableBlock() [2/2]

PTimeTableBlock::PTimeTableBlock ( const PTimeTableBlock other)

Copy Constructor of class PTimeTableBlock.

Parameters
other: PTimeTableBlock we want ot copy

Definition at line 376 of file PTimeTable.cpp.

376  {
377  copyPTimeTableBlock(other);
378 }
void copyPTimeTableBlock(const PTimeTableBlock &other)
Copy Function of class PTimeTableBlock.
Definition: PTimeTable.cpp:712

References copyPTimeTableBlock().

+ Here is the call graph for this function:

◆ ~PTimeTableBlock()

PTimeTableBlock::~PTimeTableBlock ( )
virtual

Destructor of class PTimeTableBlock.

Definition at line 381 of file PTimeTable.cpp.

381  {
382 
383 }

Member Function Documentation

◆ copyPTimeTableBlock()

void PTimeTableBlock::copyPTimeTableBlock ( const PTimeTableBlock other)
protected

Copy Function of class PTimeTableBlock.

Parameters
other: PTimeTableBlock we want ot copy

Definition at line 712 of file PTimeTable.cpp.

712  {
713  p_mainUrl = other.p_mainUrl;
714  p_title = other.p_title;
715  p_weekTitle = other.p_weekTitle;
716  p_vecSpeaker = other.p_vecSpeaker;
717  p_invitation = other.p_invitation;
719  p_date = other.p_date;
720  p_beginTime = other.p_beginTime;
721  p_endTime = other.p_endTime;
722  p_duration = other.p_duration;
724  p_location = other.p_location;
725  p_style = other.p_style;
726  p_nbTimeRow = other.p_nbTimeRow;
728 }
PLatexObj p_description
Description of the block.
Definition: PTimeTable.h:175
PLatexTime p_duration
Duration of the block.
Definition: PTimeTable.h:183
PLatexTime p_questionTime
Duration of the questions in this block (included in duraction time)
Definition: PTimeTable.h:185
PLatexTime p_endTime
Time when the block ends.
Definition: PTimeTable.h:181
PString p_mainUrl
Url of the main site where this generated timetable is hosted.
Definition: PTimeTable.h:165
PLatexDate p_date
Date when the block begins.
Definition: PTimeTable.h:177
bool p_isEmptyBlock
True if the block is an empty block.
Definition: PTimeTable.h:193
PLatexTime p_beginTime
Time when the block begins.
Definition: PTimeTable.h:179
PLatexObj p_location
Location of the block.
Definition: PTimeTable.h:187
PLatexObj p_weekTitle
Title of the block for the entire week.
Definition: PTimeTable.h:169
PString p_style
Style of the section (CSS class name of the section)
Definition: PTimeTable.h:189
size_t p_nbTimeRow
Number of time rows on which the current block is.
Definition: PTimeTable.h:191
PString p_invitation
Name of the invitation file to be generated for this event.
Definition: PTimeTable.h:173
PLatexObj p_title
Title of the block.
Definition: PTimeTable.h:167
std::vector< PString > p_vecSpeaker
Vector of label of speakers on this block.
Definition: PTimeTable.h:171

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().

+ Here is the caller graph for this function:

◆ getBeginTime() [1/2]

PLatexTime & PTimeTableBlock::getBeginTime ( )

Gets the beginTime of the PTimeTableBlock.

Returns
beginTime of the PTimeTableBlock

Definition at line 607 of file PTimeTable.cpp.

607  {
608  return p_beginTime;
609 }

References p_beginTime.

◆ getBeginTime() [2/2]

const PLatexTime & PTimeTableBlock::getBeginTime ( ) const

Gets the beginTime of the PTimeTableBlock.

Returns
beginTime of the PTimeTableBlock

Definition at line 600 of file PTimeTable.cpp.

600  {
601  return p_beginTime;
602 }

References p_beginTime.

Referenced by ptimetable_addBlockInWeek(), ptimetable_blockToEvent(), ptimetable_texLecture(), ptimetable_updateBlockTimeRow(), and ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getDate() [1/2]

PLatexDate & PTimeTableBlock::getDate ( )

Gets the date of the PTimeTableBlock.

Returns
date of the PTimeTableBlock

Definition at line 593 of file PTimeTable.cpp.

593  {
594  return p_date;
595 }

References p_date.

◆ getDate() [2/2]

const PLatexDate & PTimeTableBlock::getDate ( ) const

Gets the date of the PTimeTableBlock.

Returns
date of the PTimeTableBlock

Definition at line 586 of file PTimeTable.cpp.

586  {
587  return p_date;
588 }

References p_date.

Referenced by ptimetable_addBlockInWeek(), ptimetable_blockToEvent(), ptimetable_texLecture(), and ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getDescription() [1/2]

PLatexObj & PTimeTableBlock::getDescription ( )

Gets the description of the PTimeTableBlock.

Returns
description of the PTimeTableBlock

Definition at line 579 of file PTimeTable.cpp.

579  {
580  return p_description;
581 }

References p_description.

◆ getDescription() [2/2]

const PLatexObj & PTimeTableBlock::getDescription ( ) const

Gets the description of the PTimeTableBlock.

Returns
description of the PTimeTableBlock

Definition at line 572 of file PTimeTable.cpp.

572  {
573  return p_description;
574 }

References p_description.

Referenced by ptimetable_loadBlock(), and ptimetable_texLecture().

+ Here is the caller graph for this function:

◆ getDuration() [1/2]

PLatexTime & PTimeTableBlock::getDuration ( )

Gets the duration of the PTimeTableBlock.

Returns
duration of the PTimeTableBlock

Definition at line 635 of file PTimeTable.cpp.

635  {
636  return p_duration;
637 }

References p_duration.

◆ getDuration() [2/2]

const PLatexTime & PTimeTableBlock::getDuration ( ) const

Gets the duration of the PTimeTableBlock.

Returns
duration of the PTimeTableBlock

Definition at line 628 of file PTimeTable.cpp.

628  {
629  return p_duration;
630 }

References p_duration.

Referenced by ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ getEndTime() [1/2]

PLatexTime & PTimeTableBlock::getEndTime ( )

Gets the endTime of the PTimeTableBlock.

Returns
endTime of the PTimeTableBlock

Definition at line 621 of file PTimeTable.cpp.

621  {
622  return p_endTime;
623 }

References p_endTime.

◆ getEndTime() [2/2]

const PLatexTime & PTimeTableBlock::getEndTime ( ) const

Gets the endTime of the PTimeTableBlock.

Returns
endTime of the PTimeTableBlock

Definition at line 614 of file PTimeTable.cpp.

614  {
615  return p_endTime;
616 }

References p_endTime.

Referenced by ptimetable_addBlockInWeek(), ptimetable_blockToEvent(), ptimetable_compelteDayEmptyBlock(), ptimetable_texLecture(), and ptimetable_updateBlockTimeRow().

+ Here is the caller graph for this function:

◆ getInvitation() [1/2]

PString & PTimeTableBlock::getInvitation ( )

Gets the invitation of the PTimeTableBlock.

Returns
invitation of the PTimeTableBlock

Definition at line 565 of file PTimeTable.cpp.

565  {
566  return p_invitation;
567 }

References p_invitation.

◆ getInvitation() [2/2]

const PString & PTimeTableBlock::getInvitation ( ) const

Gets the invitation of the PTimeTableBlock.

Returns
invitation of the PTimeTableBlock

Definition at line 558 of file PTimeTable.cpp.

558  {
559  return p_invitation;
560 }

References p_invitation.

Referenced by ptimetable_blockToEvent(), ptimetable_blockToTex(), and ptimetable_texLecture().

+ Here is the caller graph for this function:

◆ getIsEmptyBlock() [1/2]

bool & PTimeTableBlock::getIsEmptyBlock ( )

Gets the isEmptyBlock of the PTimeTableBlock.

Returns
isEmptyBlock of the PTimeTableBlock

Definition at line 705 of file PTimeTable.cpp.

705  {
706  return p_isEmptyBlock;
707 }

References p_isEmptyBlock.

◆ getIsEmptyBlock() [2/2]

bool PTimeTableBlock::getIsEmptyBlock ( ) const

Gets the isEmptyBlock of the PTimeTableBlock.

Returns
isEmptyBlock of the PTimeTableBlock

Definition at line 698 of file PTimeTable.cpp.

698  {
699  return p_isEmptyBlock;
700 }

References p_isEmptyBlock.

Referenced by ptimetable_blockToTex().

+ Here is the caller graph for this function:

◆ getLocation() [1/2]

PLatexObj & PTimeTableBlock::getLocation ( )

Gets the location of the PTimeTableBlock.

Returns
location of the PTimeTableBlock

Definition at line 663 of file PTimeTable.cpp.

663  {
664  return p_location;
665 }

References p_location.

◆ getLocation() [2/2]

const PLatexObj & PTimeTableBlock::getLocation ( ) const

Gets the location of the PTimeTableBlock.

Returns
location of the PTimeTableBlock

Definition at line 656 of file PTimeTable.cpp.

656  {
657  return p_location;
658 }

References p_location.

Referenced by ptimetable_blockToEvent(), ptimetable_loadBlock(), and ptimetable_texLecture().

+ Here is the caller graph for this function:

◆ getMainUrl() [1/2]

PString & PTimeTableBlock::getMainUrl ( )

Gets the mainUrl of the PTimeTableBlock.

Returns
mainUrl of the PTimeTableBlock

Definition at line 509 of file PTimeTable.cpp.

509  {
510  return p_mainUrl;
511 }

References p_mainUrl.

◆ getMainUrl() [2/2]

const PString & PTimeTableBlock::getMainUrl ( ) const

Gets the mainUrl of the PTimeTableBlock.

Returns
mainUrl of the PTimeTableBlock

Definition at line 502 of file PTimeTable.cpp.

502  {
503  return p_mainUrl;
504 }

References p_mainUrl.

Referenced by ptimetable_blockToEvent().

+ Here is the caller graph for this function:

◆ getNbTimeRow() [1/2]

size_t & PTimeTableBlock::getNbTimeRow ( )

Gets the nbTimeRow of the PTimeTableBlock.

Returns
nbTimeRow of the PTimeTableBlock

Definition at line 691 of file PTimeTable.cpp.

691  {
692  return p_nbTimeRow;
693 }

References p_nbTimeRow.

◆ getNbTimeRow() [2/2]

size_t PTimeTableBlock::getNbTimeRow ( ) const

Gets the nbTimeRow of the PTimeTableBlock.

Returns
nbTimeRow of the PTimeTableBlock

Definition at line 684 of file PTimeTable.cpp.

684  {
685  return p_nbTimeRow;
686 }

References p_nbTimeRow.

Referenced by ptimetable_blockToTex().

+ Here is the caller graph for this function:

◆ getQuestionTime() [1/2]

PLatexTime & PTimeTableBlock::getQuestionTime ( )

Gets the questionTime of the PTimeTableBlock.

Returns
questionTime of the PTimeTableBlock

Definition at line 649 of file PTimeTable.cpp.

649  {
650  return p_questionTime;
651 }

References p_questionTime.

◆ getQuestionTime() [2/2]

const PLatexTime & PTimeTableBlock::getQuestionTime ( ) const

Gets the questionTime of the PTimeTableBlock.

Returns
questionTime of the PTimeTableBlock

Definition at line 642 of file PTimeTable.cpp.

642  {
643  return p_questionTime;
644 }

References p_questionTime.

◆ getStyle() [1/2]

PString & PTimeTableBlock::getStyle ( )

Gets the style of the PTimeTableBlock.

Returns
style of the PTimeTableBlock

Definition at line 677 of file PTimeTable.cpp.

677  {
678  return p_style;
679 }

References p_style.

◆ getStyle() [2/2]

const PString & PTimeTableBlock::getStyle ( ) const

Gets the style of the PTimeTableBlock.

Returns
style of the PTimeTableBlock

Definition at line 670 of file PTimeTable.cpp.

670  {
671  return p_style;
672 }

References p_style.

Referenced by ptimetable_blockToTex().

+ Here is the caller graph for this function:

◆ getTitle() [1/2]

PLatexObj & PTimeTableBlock::getTitle ( )

Gets the title of the PTimeTableBlock.

Returns
title of the PTimeTableBlock

Definition at line 523 of file PTimeTable.cpp.

523  {
524  return p_title;
525 }

References p_title.

◆ getTitle() [2/2]

const PLatexObj & PTimeTableBlock::getTitle ( ) const

Gets the title of the PTimeTableBlock.

Returns
title of the PTimeTableBlock

Definition at line 516 of file PTimeTable.cpp.

516  {
517  return p_title;
518 }

References p_title.

Referenced by ptimetable_blockToEvent(), ptimetable_blockToTex(), ptimetable_loadBlock(), and ptimetable_texLecture().

+ Here is the caller graph for this function:

◆ getVecSpeaker() [1/2]

std::vector< PString > & PTimeTableBlock::getVecSpeaker ( )

Gets the vecSpeaker of the PTimeTableBlock.

Returns
vecSpeaker of the PTimeTableBlock

Definition at line 551 of file PTimeTable.cpp.

551  {
552  return p_vecSpeaker;
553 }

References p_vecSpeaker.

◆ getVecSpeaker() [2/2]

const std::vector< PString > & PTimeTableBlock::getVecSpeaker ( ) const

Gets the vecSpeaker of the PTimeTableBlock.

Returns
vecSpeaker of the PTimeTableBlock

Definition at line 544 of file PTimeTable.cpp.

544  {
545  return p_vecSpeaker;
546 }

References p_vecSpeaker.

Referenced by ptimetable_blockToEvent(), ptimetable_blockToTex(), and ptimetable_texLecture().

+ Here is the caller graph for this function:

◆ getWeekTitle() [1/2]

PLatexObj & PTimeTableBlock::getWeekTitle ( )

Gets the weekTitle of the PTimeTableBlock.

Returns
weekTitle of the PTimeTableBlock

Definition at line 537 of file PTimeTable.cpp.

537  {
538  return p_weekTitle;
539 }

References p_weekTitle.

◆ getWeekTitle() [2/2]

const PLatexObj & PTimeTableBlock::getWeekTitle ( ) const

Gets the weekTitle of the PTimeTableBlock.

Returns
weekTitle of the PTimeTableBlock

Definition at line 530 of file PTimeTable.cpp.

530  {
531  return p_weekTitle;
532 }

References p_weekTitle.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ initialisationPTimeTableBlock()

void PTimeTableBlock::initialisationPTimeTableBlock ( )
private

Initialisation Function of class PTimeTableBlock.

Definition at line 731 of file PTimeTable.cpp.

731  {
732  p_mainUrl = "";
733  p_invitation = "";
734  p_style = "";
735  p_nbTimeRow = 0lu;
736  p_isEmptyBlock = false;
737 }

References p_invitation, p_isEmptyBlock, p_mainUrl, p_nbTimeRow, and p_style.

Referenced by PTimeTableBlock().

+ Here is the caller graph for this function:

◆ operator=()

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

Operator = of class PTimeTableBlock.

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

Definition at line 389 of file PTimeTable.cpp.

389  {
390  copyPTimeTableBlock(other);
391  return *this;
392 }

References copyPTimeTableBlock().

+ Here is the call graph for this function:

◆ setBeginTime()

void PTimeTableBlock::setBeginTime ( const PLatexTime beginTime)

Sets the beginTime of the PTimeTableBlock.

Parameters
beginTime: beginTime of the PTimeTableBlock

Definition at line 446 of file PTimeTable.cpp.

446  {
447  p_beginTime = beginTime;
448 }

References p_beginTime.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setDate()

void PTimeTableBlock::setDate ( const PLatexDate date)

Sets the date of the PTimeTableBlock.

Parameters
date: date of the PTimeTableBlock

Definition at line 439 of file PTimeTable.cpp.

439  {
440  p_date = date;
441 }

References p_date.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setDescription()

void PTimeTableBlock::setDescription ( const PLatexObj description)

Sets the description of the PTimeTableBlock.

Parameters
description: description of the PTimeTableBlock

Definition at line 432 of file PTimeTable.cpp.

432  {
433  p_description = description;
434 }

References p_description.

◆ setDuration()

void PTimeTableBlock::setDuration ( const PLatexTime duration)

Sets the duration of the PTimeTableBlock.

Parameters
duration: duration of the PTimeTableBlock

Definition at line 460 of file PTimeTable.cpp.

460  {
461  p_duration = duration;
462 }

References p_duration.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setEndTime()

void PTimeTableBlock::setEndTime ( const PLatexTime endTime)

Sets the endTime of the PTimeTableBlock.

Parameters
endTime: endTime of the PTimeTableBlock

Definition at line 453 of file PTimeTable.cpp.

453  {
454  p_endTime = endTime;
455 }

References p_endTime.

Referenced by ptimetable_updateEndTime().

+ Here is the caller graph for this function:

◆ setInvitation()

void PTimeTableBlock::setInvitation ( const PString invitation)

Sets the invitation of the PTimeTableBlock.

Parameters
invitation: invitation of the PTimeTableBlock

Definition at line 425 of file PTimeTable.cpp.

425  {
426  p_invitation = invitation;
427 }

References p_invitation.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setIsEmptyBlock()

void PTimeTableBlock::setIsEmptyBlock ( bool  isEmptyBlock)

Sets the isEmptyBlock of the PTimeTableBlock.

Parameters
isEmptyBlock: isEmptyBlock of the PTimeTableBlock

Definition at line 495 of file PTimeTable.cpp.

495  {
496  p_isEmptyBlock = isEmptyBlock;
497 }

References p_isEmptyBlock.

Referenced by ptimetable_compelteDayEmptyBlock().

+ Here is the caller graph for this function:

◆ setLocation()

void PTimeTableBlock::setLocation ( const PLatexObj location)

Sets the location of the PTimeTableBlock.

Parameters
location: location of the PTimeTableBlock

Definition at line 474 of file PTimeTable.cpp.

474  {
475  p_location = location;
476 }

References p_location.

◆ setMainUrl()

void PTimeTableBlock::setMainUrl ( const PString mainUrl)

Sets the mainUrl of the PTimeTableBlock.

Parameters
mainUrl: mainUrl of the PTimeTableBlock

Definition at line 397 of file PTimeTable.cpp.

397  {
398  p_mainUrl = mainUrl;
399 }

References p_mainUrl.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setNbTimeRow()

void PTimeTableBlock::setNbTimeRow ( size_t  nbTimeRow)

Sets the nbTimeRow of the PTimeTableBlock.

Parameters
nbTimeRow: nbTimeRow of the PTimeTableBlock

Definition at line 488 of file PTimeTable.cpp.

488  {
489  p_nbTimeRow = nbTimeRow;
490 }

References p_nbTimeRow.

Referenced by ptimetable_singleDay(), and ptimetable_updateBlockTimeRow().

+ Here is the caller graph for this function:

◆ setQuestionTime()

void PTimeTableBlock::setQuestionTime ( const PLatexTime questionTime)

Sets the questionTime of the PTimeTableBlock.

Parameters
questionTime: questionTime of the PTimeTableBlock

Definition at line 467 of file PTimeTable.cpp.

467  {
468  p_questionTime = questionTime;
469 }

References p_questionTime.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setStyle()

void PTimeTableBlock::setStyle ( const PString style)

Sets the style of the PTimeTableBlock.

Parameters
style: style of the PTimeTableBlock

Definition at line 481 of file PTimeTable.cpp.

481  {
482  p_style = style;
483 }

References p_style.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setTitle()

void PTimeTableBlock::setTitle ( const PLatexObj title)

Sets the title of the PTimeTableBlock.

Parameters
title: title of the PTimeTableBlock

Definition at line 404 of file PTimeTable.cpp.

404  {
405  p_title = title;
406 }

References p_title.

◆ setVecSpeaker()

void PTimeTableBlock::setVecSpeaker ( const std::vector< PString > &  vecSpeaker)

Sets the vecSpeaker of the PTimeTableBlock.

Parameters
vecSpeaker: vecSpeaker of the PTimeTableBlock

Definition at line 418 of file PTimeTable.cpp.

418  {
419  p_vecSpeaker = vecSpeaker;
420 }

References p_vecSpeaker.

Referenced by ptimetable_loadBlock().

+ Here is the caller graph for this function:

◆ setWeekTitle()

void PTimeTableBlock::setWeekTitle ( const PLatexObj weekTitle)

Sets the weekTitle of the PTimeTableBlock.

Parameters
weekTitle: weekTitle of the PTimeTableBlock

Definition at line 411 of file PTimeTable.cpp.

411  {
412  p_weekTitle = weekTitle;
413 }

References p_weekTitle.

Member Data Documentation

◆ p_beginTime

PLatexTime PTimeTableBlock::p_beginTime
private

Time when the block begins.

Definition at line 179 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getBeginTime(), and setBeginTime().

◆ p_date

PLatexDate PTimeTableBlock::p_date
private

Date when the block begins.

Definition at line 177 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getDate(), and setDate().

◆ p_description

PLatexObj PTimeTableBlock::p_description
private

Description of the block.

Definition at line 175 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getDescription(), and setDescription().

◆ p_duration

PLatexTime PTimeTableBlock::p_duration
private

Duration of the block.

Definition at line 183 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getDuration(), and setDuration().

◆ p_endTime

PLatexTime PTimeTableBlock::p_endTime
private

Time when the block ends.

Definition at line 181 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getEndTime(), and setEndTime().

◆ p_invitation

PString PTimeTableBlock::p_invitation
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().

◆ p_isEmptyBlock

bool PTimeTableBlock::p_isEmptyBlock
private

True if the block is an empty block.

Definition at line 193 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getIsEmptyBlock(), initialisationPTimeTableBlock(), and setIsEmptyBlock().

◆ p_location

PLatexObj PTimeTableBlock::p_location
private

Location of the block.

Definition at line 187 of file PTimeTable.h.

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

◆ p_mainUrl

PString PTimeTableBlock::p_mainUrl
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().

◆ p_nbTimeRow

size_t PTimeTableBlock::p_nbTimeRow
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().

◆ p_questionTime

PLatexTime PTimeTableBlock::p_questionTime
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().

◆ p_style

PString PTimeTableBlock::p_style
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().

◆ p_title

PLatexObj PTimeTableBlock::p_title
private

Title of the block.

Definition at line 167 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getTitle(), and setTitle().

◆ p_vecSpeaker

std::vector<PString> PTimeTableBlock::p_vecSpeaker
private

Vector of label of speakers on this block.

Definition at line 171 of file PTimeTable.h.

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

◆ p_weekTitle

PLatexObj PTimeTableBlock::p_weekTitle
private

Title of the block for the entire week.

Definition at line 169 of file PTimeTable.h.

Referenced by copyPTimeTableBlock(), getWeekTitle(), and setWeekTitle().


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