PhoenixLecture  2.0.0
Set of tools to make lectures
PLatexMenu Class Reference

Describe a menu entry. More...

#include <PLatexObj.h>

+ Collaboration diagram for PLatexMenu:

Public Member Functions

PStringgetLink ()
 Gets the link of the PLatexMenu. More...
 
const PStringgetLink () const
 Gets the link of the PLatexMenu. More...
 
PStringgetText ()
 Gets the text of the PLatexMenu. More...
 
const PStringgetText () const
 Gets the text of the PLatexMenu. More...
 
PLatexMenuoperator= (const PLatexMenu &other)
 Operator = of class PLatexMenu. More...
 
 PLatexMenu ()
 Constructor of class PLatexMenu. More...
 
 PLatexMenu (const PLatexMenu &other)
 Copy Constructor of class PLatexMenu. More...
 
void setLink (const PString &link)
 Sets the link of the PLatexMenu. More...
 
void setText (const PString &text)
 Sets the text of the PLatexMenu. More...
 
virtual ~PLatexMenu ()
 Destructor of class PLatexMenu. More...
 

Protected Member Functions

void copyPLatexMenu (const PLatexMenu &other)
 Copy Function of class PLatexMenu. More...
 

Private Member Functions

void initialisationPLatexMenu ()
 Initialisation Function of class PLatexMenu. More...
 

Private Attributes

PString p_link
 Link. More...
 
PString p_text
 Text. More...
 

Detailed Description

Describe a menu entry.

Definition at line 17 of file PLatexObj.h.

Constructor & Destructor Documentation

◆ PLatexMenu() [1/2]

PLatexMenu::PLatexMenu ( )

Constructor of class PLatexMenu.

Definition at line 13 of file PLatexObj.cpp.

13  {
15 }
void initialisationPLatexMenu()
Initialisation Function of class PLatexMenu.
Definition: PLatexObj.cpp:89

References initialisationPLatexMenu().

+ Here is the call graph for this function:

◆ PLatexMenu() [2/2]

PLatexMenu::PLatexMenu ( const PLatexMenu other)

Copy Constructor of class PLatexMenu.

Parameters
other: PLatexMenu we want ot copy

Definition at line 20 of file PLatexObj.cpp.

20  {
21  copyPLatexMenu(other);
22 }
void copyPLatexMenu(const PLatexMenu &other)
Copy Function of class PLatexMenu.
Definition: PLatexObj.cpp:83

References copyPLatexMenu().

+ Here is the call graph for this function:

◆ ~PLatexMenu()

PLatexMenu::~PLatexMenu ( )
virtual

Destructor of class PLatexMenu.

Definition at line 25 of file PLatexObj.cpp.

25  {
26 
27 }

Member Function Documentation

◆ copyPLatexMenu()

void PLatexMenu::copyPLatexMenu ( const PLatexMenu other)
protected

Copy Function of class PLatexMenu.

Parameters
other: PLatexMenu we want ot copy

Definition at line 83 of file PLatexObj.cpp.

83  {
84  p_link = other.p_link;
85  p_text = other.p_text;
86 }
PString p_link
Link.
Definition: PLatexObj.h:34
PString p_text
Text.
Definition: PLatexObj.h:36

References p_link, and p_text.

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

+ Here is the caller graph for this function:

◆ getLink() [1/2]

PString & PLatexMenu::getLink ( )

Gets the link of the PLatexMenu.

Returns
link of the PLatexMenu

Definition at line 62 of file PLatexObj.cpp.

62  {
63  return p_link;
64 }

References p_link.

◆ getLink() [2/2]

const PString & PLatexMenu::getLink ( ) const

Gets the link of the PLatexMenu.

Returns
link of the PLatexMenu

Definition at line 55 of file PLatexObj.cpp.

55  {
56  return p_link;
57 }

References p_link.

Referenced by platexobj_book_createPage(), and platexobj_bookIndexHtml().

+ Here is the caller graph for this function:

◆ getText() [1/2]

PString & PLatexMenu::getText ( )

Gets the text of the PLatexMenu.

Returns
text of the PLatexMenu

Definition at line 76 of file PLatexObj.cpp.

76  {
77  return p_text;
78 }

References p_text.

◆ getText() [2/2]

const PString & PLatexMenu::getText ( ) const

Gets the text of the PLatexMenu.

Returns
text of the PLatexMenu

Definition at line 69 of file PLatexObj.cpp.

69  {
70  return p_text;
71 }

References p_text.

Referenced by platexobj_book_createPage(), and platexobj_bookIndexHtml().

+ Here is the caller graph for this function:

◆ initialisationPLatexMenu()

void PLatexMenu::initialisationPLatexMenu ( )
private

Initialisation Function of class PLatexMenu.

Definition at line 89 of file PLatexObj.cpp.

89  {
90  p_link = "";
91  p_text = "";
92 }

References p_link, and p_text.

Referenced by PLatexMenu().

+ Here is the caller graph for this function:

◆ operator=()

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

Operator = of class PLatexMenu.

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

Definition at line 33 of file PLatexObj.cpp.

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

References copyPLatexMenu().

+ Here is the call graph for this function:

◆ setLink()

void PLatexMenu::setLink ( const PString link)

Sets the link of the PLatexMenu.

Parameters
link: link of the PLatexMenu

Definition at line 41 of file PLatexObj.cpp.

41  {
42  p_link = link;
43 }

References p_link.

Referenced by addSectionInVecPtrSection(), updateMenu(), updateNextPrev(), and updateParent().

+ Here is the caller graph for this function:

◆ setText()

void PLatexMenu::setText ( const PString text)

Sets the text of the PLatexMenu.

Parameters
text: text of the PLatexMenu

Definition at line 48 of file PLatexObj.cpp.

48  {
49  p_text = text;
50 }

References p_text.

Referenced by addSectionInVecPtrSection(), updateMenu(), updateNextPrev(), and updateParent().

+ Here is the caller graph for this function:

Member Data Documentation

◆ p_link

PString PLatexMenu::p_link
private

Link.

Definition at line 34 of file PLatexObj.h.

Referenced by copyPLatexMenu(), getLink(), initialisationPLatexMenu(), and setLink().

◆ p_text

PString PLatexMenu::p_text
private

Text.

Definition at line 36 of file PLatexObj.h.

Referenced by copyPLatexMenu(), getText(), initialisationPLatexMenu(), and setText().


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