PhoenixLecture  2.0.0
Set of tools to make lectures
PLatexSpeaker Class Reference

Describe a speaker in a timetable. More...

#include <PTimeTable.h>

+ Collaboration diagram for PLatexSpeaker:

Public Member Functions

PLatexObjgetAffiliation ()
 Gets the affiliation of the PLatexSpeaker. More...
 
const PLatexObjgetAffiliation () const
 Gets the affiliation of the PLatexSpeaker. More...
 
PLatexObjgetDescription ()
 Gets the description of the PLatexSpeaker. More...
 
const PLatexObjgetDescription () const
 Gets the description of the PLatexSpeaker. More...
 
PLatexObjgetJob ()
 Gets the job of the PLatexSpeaker. More...
 
const PLatexObjgetJob () const
 Gets the job of the PLatexSpeaker. More...
 
PStringgetLabel ()
 Gets the label of the PLatexSpeaker. More...
 
const PStringgetLabel () const
 Gets the label of the PLatexSpeaker. More...
 
PLatexObjgetName ()
 Gets the name of the PLatexSpeaker. More...
 
const PLatexObjgetName () const
 Gets the name of the PLatexSpeaker. More...
 
PLatexObjgetTitle ()
 Gets the title of the PLatexSpeaker. More...
 
const PLatexObjgetTitle () const
 Gets the title of the PLatexSpeaker. More...
 
PLatexSpeakeroperator= (const PLatexSpeaker &other)
 Operator = of class PLatexSpeaker. More...
 
 PLatexSpeaker ()
 Constructor of class PLatexSpeaker. More...
 
 PLatexSpeaker (const PLatexSpeaker &other)
 Copy Constructor of class PLatexSpeaker. More...
 
void setAffiliation (const PLatexObj &affiliation)
 Sets the affiliation of the PLatexSpeaker. More...
 
void setDescription (const PLatexObj &description)
 Sets the description of the PLatexSpeaker. More...
 
void setJob (const PLatexObj &job)
 Sets the job of the PLatexSpeaker. More...
 
void setLabel (const PString &label)
 Sets the label of the PLatexSpeaker. More...
 
void setName (const PLatexObj &name)
 Sets the name of the PLatexSpeaker. More...
 
void setTitle (const PLatexObj &title)
 Sets the title of the PLatexSpeaker. More...
 
virtual ~PLatexSpeaker ()
 Destructor of class PLatexSpeaker. More...
 

Protected Member Functions

void copyPLatexSpeaker (const PLatexSpeaker &other)
 Copy Function of class PLatexSpeaker. More...
 

Private Member Functions

void initialisationPLatexSpeaker ()
 Initialisation Function of class PLatexSpeaker. More...
 

Private Attributes

PLatexObj p_affiliation
 Affiliation of the speaker. More...
 
PLatexObj p_description
 Description of the speaker. More...
 
PLatexObj p_job
 Job of the speaker. More...
 
PString p_label
 Label to reference the speaker in the timetable. More...
 
PLatexObj p_name
 Name of the speaker. More...
 
PLatexObj p_title
 Title of the speaker (Doctor, Professor, etc) More...
 

Detailed Description

Describe a speaker in a timetable.

Definition at line 15 of file PTimeTable.h.

Constructor & Destructor Documentation

◆ PLatexSpeaker() [1/2]

PLatexSpeaker::PLatexSpeaker ( )

Constructor of class PLatexSpeaker.

Definition at line 13 of file PTimeTable.cpp.

13  {
15 }
void initialisationPLatexSpeaker()
Initialisation Function of class PLatexSpeaker.
Definition: PTimeTable.cpp:177

References initialisationPLatexSpeaker().

+ Here is the call graph for this function:

◆ PLatexSpeaker() [2/2]

PLatexSpeaker::PLatexSpeaker ( const PLatexSpeaker other)

Copy Constructor of class PLatexSpeaker.

Parameters
other: PLatexSpeaker we want ot copy

Definition at line 20 of file PTimeTable.cpp.

20  {
21  copyPLatexSpeaker(other);
22 }
void copyPLatexSpeaker(const PLatexSpeaker &other)
Copy Function of class PLatexSpeaker.
Definition: PTimeTable.cpp:167

References copyPLatexSpeaker().

+ Here is the call graph for this function:

◆ ~PLatexSpeaker()

PLatexSpeaker::~PLatexSpeaker ( )
virtual

Destructor of class PLatexSpeaker.

Definition at line 25 of file PTimeTable.cpp.

25  {
26 
27 }

Member Function Documentation

◆ copyPLatexSpeaker()

void PLatexSpeaker::copyPLatexSpeaker ( const PLatexSpeaker other)
protected

Copy Function of class PLatexSpeaker.

Parameters
other: PLatexSpeaker we want ot copy

Definition at line 167 of file PTimeTable.cpp.

167  {
168  p_name = other.p_name;
169  p_title = other.p_title;
170  p_label = other.p_label;
171  p_job = other.p_job;
174 }
PLatexObj p_title
Title of the speaker (Doctor, Professor, etc)
Definition: PTimeTable.h:46
PLatexObj p_description
Description of the speaker.
Definition: PTimeTable.h:54
PLatexObj p_name
Name of the speaker.
Definition: PTimeTable.h:44
PLatexObj p_affiliation
Affiliation of the speaker.
Definition: PTimeTable.h:52
PLatexObj p_job
Job of the speaker.
Definition: PTimeTable.h:50
PString p_label
Label to reference the speaker in the timetable.
Definition: PTimeTable.h:48

References p_affiliation, p_description, p_job, p_label, p_name, and p_title.

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

+ Here is the caller graph for this function:

◆ getAffiliation() [1/2]

PLatexObj & PLatexSpeaker::getAffiliation ( )

Gets the affiliation of the PLatexSpeaker.

Returns
affiliation of the PLatexSpeaker

Definition at line 146 of file PTimeTable.cpp.

146  {
147  return p_affiliation;
148 }

References p_affiliation.

◆ getAffiliation() [2/2]

const PLatexObj & PLatexSpeaker::getAffiliation ( ) const

Gets the affiliation of the PLatexSpeaker.

Returns
affiliation of the PLatexSpeaker

Definition at line 139 of file PTimeTable.cpp.

139  {
140  return p_affiliation;
141 }

References p_affiliation.

Referenced by pspeaker_texSpeaker(), and ptimetable_loadSpeaker().

+ Here is the caller graph for this function:

◆ getDescription() [1/2]

PLatexObj & PLatexSpeaker::getDescription ( )

Gets the description of the PLatexSpeaker.

Returns
description of the PLatexSpeaker

Definition at line 160 of file PTimeTable.cpp.

160  {
161  return p_description;
162 }

References p_description.

◆ getDescription() [2/2]

const PLatexObj & PLatexSpeaker::getDescription ( ) const

Gets the description of the PLatexSpeaker.

Returns
description of the PLatexSpeaker

Definition at line 153 of file PTimeTable.cpp.

153  {
154  return p_description;
155 }

References p_description.

Referenced by pspeaker_texSpeaker(), and ptimetable_loadSpeaker().

+ Here is the caller graph for this function:

◆ getJob() [1/2]

PLatexObj & PLatexSpeaker::getJob ( )

Gets the job of the PLatexSpeaker.

Returns
job of the PLatexSpeaker

Definition at line 132 of file PTimeTable.cpp.

132  {
133  return p_job;
134 }

References p_job.

◆ getJob() [2/2]

const PLatexObj & PLatexSpeaker::getJob ( ) const

Gets the job of the PLatexSpeaker.

Returns
job of the PLatexSpeaker

Definition at line 125 of file PTimeTable.cpp.

125  {
126  return p_job;
127 }

References p_job.

Referenced by pspeaker_texSpeaker(), and ptimetable_loadSpeaker().

+ Here is the caller graph for this function:

◆ getLabel() [1/2]

PString & PLatexSpeaker::getLabel ( )

Gets the label of the PLatexSpeaker.

Returns
label of the PLatexSpeaker

Definition at line 118 of file PTimeTable.cpp.

118  {
119  return p_label;
120 }

References p_label.

◆ getLabel() [2/2]

const PString & PLatexSpeaker::getLabel ( ) const

Gets the label of the PLatexSpeaker.

Returns
label of the PLatexSpeaker

Definition at line 111 of file PTimeTable.cpp.

111  {
112  return p_label;
113 }

References p_label.

Referenced by pspeaker_texSpeaker().

+ Here is the caller graph for this function:

◆ getName() [1/2]

PLatexObj & PLatexSpeaker::getName ( )

Gets the name of the PLatexSpeaker.

Returns
name of the PLatexSpeaker

Definition at line 90 of file PTimeTable.cpp.

90  {
91  return p_name;
92 }

References p_name.

◆ getName() [2/2]

const PLatexObj & PLatexSpeaker::getName ( ) const

Gets the name of the PLatexSpeaker.

Returns
name of the PLatexSpeaker

Definition at line 83 of file PTimeTable.cpp.

83  {
84  return p_name;
85 }

References p_name.

Referenced by pspeaker_texSpeaker(), ptimetable_loadSpeaker(), and ptimetable_texLecture().

+ Here is the caller graph for this function:

◆ getTitle() [1/2]

PLatexObj & PLatexSpeaker::getTitle ( )

Gets the title of the PLatexSpeaker.

Returns
title of the PLatexSpeaker

Definition at line 104 of file PTimeTable.cpp.

104  {
105  return p_title;
106 }

References p_title.

◆ getTitle() [2/2]

const PLatexObj & PLatexSpeaker::getTitle ( ) const

Gets the title of the PLatexSpeaker.

Returns
title of the PLatexSpeaker

Definition at line 97 of file PTimeTable.cpp.

97  {
98  return p_title;
99 }

References p_title.

Referenced by pspeaker_texSpeaker(), and ptimetable_loadSpeaker().

+ Here is the caller graph for this function:

◆ initialisationPLatexSpeaker()

void PLatexSpeaker::initialisationPLatexSpeaker ( )
private

Initialisation Function of class PLatexSpeaker.

Definition at line 177 of file PTimeTable.cpp.

177  {
178  p_label = "";
179 }

References p_label.

Referenced by PLatexSpeaker().

+ Here is the caller graph for this function:

◆ operator=()

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

Operator = of class PLatexSpeaker.

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

Definition at line 33 of file PTimeTable.cpp.

33  {
34  copyPLatexSpeaker(other);
35  return *this;
36 }

References copyPLatexSpeaker().

+ Here is the call graph for this function:

◆ setAffiliation()

void PLatexSpeaker::setAffiliation ( const PLatexObj affiliation)

Sets the affiliation of the PLatexSpeaker.

Parameters
affiliation: affiliation of the PLatexSpeaker

Definition at line 69 of file PTimeTable.cpp.

69  {
70  p_affiliation = affiliation;
71 }

References p_affiliation.

◆ setDescription()

void PLatexSpeaker::setDescription ( const PLatexObj description)

Sets the description of the PLatexSpeaker.

Parameters
description: description of the PLatexSpeaker

Definition at line 76 of file PTimeTable.cpp.

76  {
77  p_description = description;
78 }

References p_description.

◆ setJob()

void PLatexSpeaker::setJob ( const PLatexObj job)

Sets the job of the PLatexSpeaker.

Parameters
job: job of the PLatexSpeaker

Definition at line 62 of file PTimeTable.cpp.

62  {
63  p_job = job;
64 }

References p_job.

◆ setLabel()

void PLatexSpeaker::setLabel ( const PString label)

Sets the label of the PLatexSpeaker.

Parameters
label: label of the PLatexSpeaker

Definition at line 55 of file PTimeTable.cpp.

55  {
56  p_label = label;
57 }

References p_label.

Referenced by ptimetable_loadSpeaker().

+ Here is the caller graph for this function:

◆ setName()

void PLatexSpeaker::setName ( const PLatexObj name)

Sets the name of the PLatexSpeaker.

Parameters
name: name of the PLatexSpeaker

Definition at line 41 of file PTimeTable.cpp.

41  {
42  p_name = name;
43 }

References p_name.

◆ setTitle()

void PLatexSpeaker::setTitle ( const PLatexObj title)

Sets the title of the PLatexSpeaker.

Parameters
title: title of the PLatexSpeaker

Definition at line 48 of file PTimeTable.cpp.

48  {
49  p_title = title;
50 }

References p_title.

Member Data Documentation

◆ p_affiliation

PLatexObj PLatexSpeaker::p_affiliation
private

Affiliation of the speaker.

Definition at line 52 of file PTimeTable.h.

Referenced by copyPLatexSpeaker(), getAffiliation(), and setAffiliation().

◆ p_description

PLatexObj PLatexSpeaker::p_description
private

Description of the speaker.

Definition at line 54 of file PTimeTable.h.

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

◆ p_job

PLatexObj PLatexSpeaker::p_job
private

Job of the speaker.

Definition at line 50 of file PTimeTable.h.

Referenced by copyPLatexSpeaker(), getJob(), and setJob().

◆ p_label

PString PLatexSpeaker::p_label
private

Label to reference the speaker in the timetable.

Definition at line 48 of file PTimeTable.h.

Referenced by copyPLatexSpeaker(), getLabel(), initialisationPLatexSpeaker(), and setLabel().

◆ p_name

PLatexObj PLatexSpeaker::p_name
private

Name of the speaker.

Definition at line 44 of file PTimeTable.h.

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

◆ p_title

PLatexObj PLatexSpeaker::p_title
private

Title of the speaker (Doctor, Professor, etc)

Definition at line 46 of file PTimeTable.h.

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


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