![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Full menu of all site. More...
#include <PLatexObj.h>
Public Member Functions | |
bool & | getIsExpanded () |
Gets the isExpanded of the PFullMenu. More... | |
bool | getIsExpanded () const |
Gets the isExpanded of the PFullMenu. More... | |
bool & | getIsFirstExpanded () |
Gets the isFirstExpanded of the PFullMenu. More... | |
bool | getIsFirstExpanded () const |
Gets the isFirstExpanded of the PFullMenu. More... | |
bool & | getIsSeparator () |
Gets the isSeparator of the PFullMenu. More... | |
bool | getIsSeparator () const |
Gets the isSeparator of the PFullMenu. More... | |
PString & | getLink () |
Gets the link of the PFullMenu. More... | |
const PString & | getLink () const |
Gets the link of the PFullMenu. More... | |
PString & | getMainPageLink () |
Gets the mainPageLink of the PFullMenu. More... | |
const PString & | getMainPageLink () const |
Gets the mainPageLink of the PFullMenu. More... | |
PString & | getText () |
Gets the text of the PFullMenu. More... | |
const PString & | getText () const |
Gets the text of the PFullMenu. More... | |
std::vector< PFullMenu > & | getVecSubMenu () |
Gets the vecSubMenu of the PFullMenu. More... | |
const std::vector< PFullMenu > & | getVecSubMenu () const |
Gets the vecSubMenu of the PFullMenu. More... | |
PFullMenu & | operator= (const PFullMenu &other) |
Operator = of class PFullMenu. More... | |
PFullMenu () | |
Constructor of class PFullMenu. More... | |
PFullMenu (const PFullMenu &other) | |
Copy Constructor of class PFullMenu. More... | |
void | setIsExpanded (bool isExpanded) |
Sets the isExpanded of the PFullMenu. More... | |
void | setIsFirstExpanded (bool isFirstExpanded) |
Sets the isFirstExpanded of the PFullMenu. More... | |
void | setIsSeparator (bool isSeparator) |
Sets the isSeparator of the PFullMenu. More... | |
void | setLink (const PString &link) |
Sets the link of the PFullMenu. More... | |
void | setMainPageLink (const PString &mainPageLink) |
Sets the mainPageLink of the PFullMenu. More... | |
void | setText (const PString &text) |
Sets the text of the PFullMenu. More... | |
void | setVecSubMenu (const std::vector< PFullMenu > &vecSubMenu) |
Sets the vecSubMenu of the PFullMenu. More... | |
virtual | ~PFullMenu () |
Destructor of class PFullMenu. More... | |
Protected Member Functions | |
void | copyPFullMenu (const PFullMenu &other) |
Copy Function of class PFullMenu. More... | |
Private Member Functions | |
void | initialisationPFullMenu () |
Initialisation Function of class PFullMenu. More... | |
Private Attributes | |
bool | p_isExpanded |
True if the current menu has to be expanded, false otherwise. More... | |
bool | p_isFirstExpanded |
True if the current menu was the first which has to be expanded, false otherwise. More... | |
bool | p_isSeparator |
True if the entry is a menu separator. More... | |
PString | p_link |
Link. More... | |
PString | p_mainPageLink |
Main Page link. More... | |
PString | p_text |
Text. More... | |
std::vector< PFullMenu > | p_vecSubMenu |
Vector of sub-menu. More... | |
Full menu of all site.
Definition at line 168 of file PLatexObj.h.
PFullMenu::PFullMenu | ( | ) |
Constructor of class PFullMenu.
Definition at line 652 of file PLatexObj.cpp.
References initialisationPFullMenu().
PFullMenu::PFullMenu | ( | const PFullMenu & | other | ) |
Copy Constructor of class PFullMenu.
other | : PFullMenu we want ot copy |
Definition at line 659 of file PLatexObj.cpp.
References copyPFullMenu().
|
virtual |
|
protected |
Copy Function of class PFullMenu.
other | : PFullMenu we want ot copy |
Definition at line 827 of file PLatexObj.cpp.
References p_isExpanded, p_isFirstExpanded, p_isSeparator, p_link, p_mainPageLink, p_text, and p_vecSubMenu.
Referenced by operator=(), and PFullMenu().
bool & PFullMenu::getIsExpanded | ( | ) |
Gets the isExpanded of the PFullMenu.
Definition at line 736 of file PLatexObj.cpp.
References p_isExpanded.
bool PFullMenu::getIsExpanded | ( | ) | const |
Gets the isExpanded of the PFullMenu.
Definition at line 729 of file PLatexObj.cpp.
References p_isExpanded.
Referenced by platexobj_menuToHtmlChapter().
bool & PFullMenu::getIsFirstExpanded | ( | ) |
Gets the isFirstExpanded of the PFullMenu.
Definition at line 750 of file PLatexObj.cpp.
References p_isFirstExpanded.
bool PFullMenu::getIsFirstExpanded | ( | ) | const |
Gets the isFirstExpanded of the PFullMenu.
Definition at line 743 of file PLatexObj.cpp.
References p_isFirstExpanded.
Referenced by platexobj_menuToHtmlChapter().
bool & PFullMenu::getIsSeparator | ( | ) |
Gets the isSeparator of the PFullMenu.
Definition at line 764 of file PLatexObj.cpp.
References p_isSeparator.
bool PFullMenu::getIsSeparator | ( | ) | const |
Gets the isSeparator of the PFullMenu.
Definition at line 757 of file PLatexObj.cpp.
References p_isSeparator.
Referenced by platexobj_menuToHtmlChapter().
PString & PFullMenu::getLink | ( | ) |
const PString & PFullMenu::getLink | ( | ) | const |
Gets the link of the PFullMenu.
Definition at line 771 of file PLatexObj.cpp.
References p_link.
Referenced by platexobg_isMenuExtanded(), and platexobj_menuToHtmlChapter().
PString & PFullMenu::getMainPageLink | ( | ) |
Gets the mainPageLink of the PFullMenu.
Definition at line 820 of file PLatexObj.cpp.
References p_mainPageLink.
const PString & PFullMenu::getMainPageLink | ( | ) | const |
Gets the mainPageLink of the PFullMenu.
Definition at line 813 of file PLatexObj.cpp.
References p_mainPageLink.
Referenced by platexobj_menuToHtml().
PString & PFullMenu::getText | ( | ) |
const PString & PFullMenu::getText | ( | ) | const |
Gets the text of the PFullMenu.
Definition at line 785 of file PLatexObj.cpp.
References p_text.
Referenced by platexobj_menuToHtmlChapter().
std::vector< PFullMenu > & PFullMenu::getVecSubMenu | ( | ) |
Gets the vecSubMenu of the PFullMenu.
Definition at line 806 of file PLatexObj.cpp.
References p_vecSubMenu.
const std::vector< PFullMenu > & PFullMenu::getVecSubMenu | ( | ) | const |
Gets the vecSubMenu of the PFullMenu.
Definition at line 799 of file PLatexObj.cpp.
References p_vecSubMenu.
Referenced by platexobj_makeExpandMenu(), platexobj_menuToHtml(), platexobj_menuToHtmlChapter(), and platexobj_toMenuAll().
|
private |
Initialisation Function of class PFullMenu.
Definition at line 838 of file PLatexObj.cpp.
References p_isExpanded, p_isFirstExpanded, p_isSeparator, p_link, p_mainPageLink, and p_text.
Referenced by PFullMenu().
Operator = of class PFullMenu.
other | : PFullMenu we want ot copy |
Definition at line 672 of file PLatexObj.cpp.
References copyPFullMenu().
void PFullMenu::setIsExpanded | ( | bool | isExpanded | ) |
Sets the isExpanded of the PFullMenu.
isExpanded | : isExpanded of the PFullMenu |
Definition at line 680 of file PLatexObj.cpp.
References p_isExpanded.
Referenced by platexobj_makeExpandMenu().
void PFullMenu::setIsFirstExpanded | ( | bool | isFirstExpanded | ) |
Sets the isFirstExpanded of the PFullMenu.
isFirstExpanded | : isFirstExpanded of the PFullMenu |
Definition at line 687 of file PLatexObj.cpp.
References p_isFirstExpanded.
Referenced by platexobj_makeExpandMenu().
void PFullMenu::setIsSeparator | ( | bool | isSeparator | ) |
Sets the isSeparator of the PFullMenu.
isSeparator | : isSeparator of the PFullMenu |
Definition at line 694 of file PLatexObj.cpp.
References isSeparator(), and p_isSeparator.
Referenced by platexobj_toMenuAll().
void PFullMenu::setLink | ( | const PString & | link | ) |
Sets the link of the PFullMenu.
link | : link of the PFullMenu |
Definition at line 701 of file PLatexObj.cpp.
References p_link.
Referenced by platexobj_toMenuAll().
void PFullMenu::setMainPageLink | ( | const PString & | mainPageLink | ) |
Sets the mainPageLink of the PFullMenu.
mainPageLink | : mainPageLink of the PFullMenu |
Definition at line 722 of file PLatexObj.cpp.
References p_mainPageLink.
Referenced by platexobj_toMenu().
void PFullMenu::setText | ( | const PString & | text | ) |
Sets the text of the PFullMenu.
text | : text of the PFullMenu |
Definition at line 708 of file PLatexObj.cpp.
References p_text.
Referenced by platexobj_toMenuAll().
void PFullMenu::setVecSubMenu | ( | const std::vector< PFullMenu > & | vecSubMenu | ) |
Sets the vecSubMenu of the PFullMenu.
vecSubMenu | : vecSubMenu of the PFullMenu |
Definition at line 715 of file PLatexObj.cpp.
References p_vecSubMenu.
|
private |
True if the current menu has to be expanded, false otherwise.
Definition at line 200 of file PLatexObj.h.
Referenced by copyPFullMenu(), getIsExpanded(), initialisationPFullMenu(), and setIsExpanded().
|
private |
True if the current menu was the first which has to be expanded, false otherwise.
Definition at line 202 of file PLatexObj.h.
Referenced by copyPFullMenu(), getIsFirstExpanded(), initialisationPFullMenu(), and setIsFirstExpanded().
|
private |
True if the entry is a menu separator.
Definition at line 204 of file PLatexObj.h.
Referenced by copyPFullMenu(), getIsSeparator(), initialisationPFullMenu(), and setIsSeparator().
|
private |
Link.
Definition at line 206 of file PLatexObj.h.
Referenced by copyPFullMenu(), getLink(), initialisationPFullMenu(), and setLink().
|
private |
Main Page link.
Definition at line 212 of file PLatexObj.h.
Referenced by copyPFullMenu(), getMainPageLink(), initialisationPFullMenu(), and setMainPageLink().
|
private |
Text.
Definition at line 208 of file PLatexObj.h.
Referenced by copyPFullMenu(), getText(), initialisationPFullMenu(), and setText().
|
private |
Vector of sub-menu.
Definition at line 210 of file PLatexObj.h.
Referenced by copyPFullMenu(), getVecSubMenu(), and setVecSubMenu().