![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Context for parser environement. More...
#include <PLatexObj.h>
Public Member Functions | |
PString & | getBegin () |
Gets the begin of the PContext. More... | |
const PString & | getBegin () const |
Gets the begin of the PContext. More... | |
PString & | getEnd () |
Gets the end of the PContext. More... | |
const PString & | getEnd () const |
Gets the end of the PContext. More... | |
PString & | getName () |
Gets the name of the PContext. More... | |
const PString & | getName () const |
Gets the name of the PContext. More... | |
PString & | getNotAfterBegin () |
Gets the notAfterBegin of the PContext. More... | |
const PString & | getNotAfterBegin () const |
Gets the notAfterBegin of the PContext. More... | |
PString & | getNotBeforeBegin () |
Gets the notBeforeBegin of the PContext. More... | |
const PString & | getNotBeforeBegin () const |
Gets the notBeforeBegin of the PContext. More... | |
PString & | getNotBeforeEnd () |
Gets the notBeforeEnd of the PContext. More... | |
const PString & | getNotBeforeEnd () const |
Gets the notBeforeEnd of the PContext. More... | |
PParseSeq & | getSeq () |
Gets the seq of the PContext. More... | |
const PParseSeq & | getSeq () const |
Gets the seq of the PContext. More... | |
std::vector< PString > & | getVecKeyword () |
Gets the vecKeyword of the PContext. More... | |
const std::vector< PString > & | getVecKeyword () const |
Gets the vecKeyword of the PContext. More... | |
PContext & | operator= (const PContext &other) |
Operator = of class PContext. More... | |
PContext () | |
Constructor of class PContext. More... | |
PContext (const PContext &other) | |
Copy Constructor of class PContext. More... | |
void | setBegin (const PString &begin) |
Sets the begin of the PContext. More... | |
void | setEnd (const PString &end) |
Sets the end of the PContext. More... | |
void | setName (const PString &name) |
Sets the name of the PContext. More... | |
void | setNotAfterBegin (const PString ¬AfterBegin) |
Sets the notAfterBegin of the PContext. More... | |
void | setNotBeforeBegin (const PString ¬BeforeBegin) |
Sets the notBeforeBegin of the PContext. More... | |
void | setNotBeforeEnd (const PString ¬BeforeEnd) |
Sets the notBeforeEnd of the PContext. More... | |
void | setSeq (const PParseSeq &seq) |
Sets the seq of the PContext. More... | |
void | setVecKeyword (const std::vector< PString > &vecKeyword) |
Sets the vecKeyword of the PContext. More... | |
virtual | ~PContext () |
Destructor of class PContext. More... | |
Protected Member Functions | |
void | copyPContext (const PContext &other) |
Copy Function of class PContext. More... | |
Private Member Functions | |
void | initialisationPContext () |
Initialisation Function of class PContext. More... | |
Private Attributes | |
PString | p_begin |
First string to get. More... | |
PString | p_end |
End string to get. More... | |
PString | p_name |
Name of the context. More... | |
PString | p_notAfterBegin |
String which cannot be after begin. More... | |
PString | p_notBeforeBegin |
String which cannot be before begin. More... | |
PString | p_notBeforeEnd |
String which cannot be before end. More... | |
PParseSeq | p_seq |
Sequence of parsing. More... | |
std::vector< PString > | p_vecKeyword |
Vector of keyword. More... | |
Context for parser environement.
Definition at line 310 of file PLatexObj.h.
PContext::PContext | ( | ) |
Constructor of class PContext.
Definition at line 1205 of file PLatexObj.cpp.
References initialisationPContext().
PContext::PContext | ( | const PContext & | other | ) |
Copy Constructor of class PContext.
other | : PContext we want ot copy |
Definition at line 1212 of file PLatexObj.cpp.
References copyPContext().
|
virtual |
|
protected |
Copy Function of class PContext.
other | : PContext we want ot copy |
Definition at line 1401 of file PLatexObj.cpp.
References p_begin, p_end, p_name, p_notAfterBegin, p_notBeforeBegin, p_notBeforeEnd, p_seq, and p_vecKeyword.
Referenced by operator=(), and PContext().
PString & PContext::getBegin | ( | ) |
const PString & PContext::getBegin | ( | ) | const |
Gets the begin of the PContext.
Definition at line 1303 of file PLatexObj.cpp.
References p_begin.
Referenced by parser_parseKeyword().
PString & PContext::getEnd | ( | ) |
const PString & PContext::getEnd | ( | ) | const |
Gets the end of the PContext.
Definition at line 1317 of file PLatexObj.cpp.
References p_end.
Referenced by parser_parseKeyword().
PString & PContext::getName | ( | ) |
const PString & PContext::getName | ( | ) | const |
Gets the name of the PContext.
Definition at line 1289 of file PLatexObj.cpp.
References p_name.
Referenced by parser_parseKeyword().
PString & PContext::getNotAfterBegin | ( | ) |
Gets the notAfterBegin of the PContext.
Definition at line 1352 of file PLatexObj.cpp.
References p_notAfterBegin.
const PString & PContext::getNotAfterBegin | ( | ) | const |
Gets the notAfterBegin of the PContext.
Definition at line 1345 of file PLatexObj.cpp.
References p_notAfterBegin.
Referenced by parser_parseKeyword().
PString & PContext::getNotBeforeBegin | ( | ) |
Gets the notBeforeBegin of the PContext.
Definition at line 1338 of file PLatexObj.cpp.
References p_notBeforeBegin.
const PString & PContext::getNotBeforeBegin | ( | ) | const |
Gets the notBeforeBegin of the PContext.
Definition at line 1331 of file PLatexObj.cpp.
References p_notBeforeBegin.
Referenced by parser_parseKeyword().
PString & PContext::getNotBeforeEnd | ( | ) |
Gets the notBeforeEnd of the PContext.
Definition at line 1366 of file PLatexObj.cpp.
References p_notBeforeEnd.
const PString & PContext::getNotBeforeEnd | ( | ) | const |
Gets the notBeforeEnd of the PContext.
Definition at line 1359 of file PLatexObj.cpp.
References p_notBeforeEnd.
Referenced by parser_parseKeyword().
PParseSeq & PContext::getSeq | ( | ) |
const PParseSeq & PContext::getSeq | ( | ) | const |
Gets the seq of the PContext.
Definition at line 1387 of file PLatexObj.cpp.
References p_seq.
Referenced by parser_parseKeyword().
std::vector< PString > & PContext::getVecKeyword | ( | ) |
Gets the vecKeyword of the PContext.
Definition at line 1380 of file PLatexObj.cpp.
References p_vecKeyword.
const std::vector< PString > & PContext::getVecKeyword | ( | ) | const |
Gets the vecKeyword of the PContext.
Definition at line 1373 of file PLatexObj.cpp.
References p_vecKeyword.
Referenced by PGenericParser::loadDirExtraParserFile(), and parser_parseKeyword().
|
private |
Initialisation Function of class PContext.
Definition at line 1413 of file PLatexObj.cpp.
References p_begin, p_end, p_name, p_notAfterBegin, p_notBeforeBegin, and p_notBeforeEnd.
Referenced by PContext().
Operator = of class PContext.
other | : PContext we want ot copy |
Definition at line 1225 of file PLatexObj.cpp.
References copyPContext().
void PContext::setBegin | ( | const PString & | begin | ) |
Sets the begin of the PContext.
begin | : begin of the PContext |
Definition at line 1240 of file PLatexObj.cpp.
References p_begin.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setEnd | ( | const PString & | end | ) |
Sets the end of the PContext.
end | : end of the PContext |
Definition at line 1247 of file PLatexObj.cpp.
References p_end.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setName | ( | const PString & | name | ) |
Sets the name of the PContext.
name | : name of the PContext |
Definition at line 1233 of file PLatexObj.cpp.
References p_name.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setNotAfterBegin | ( | const PString & | notAfterBegin | ) |
Sets the notAfterBegin of the PContext.
notAfterBegin | : notAfterBegin of the PContext |
Definition at line 1261 of file PLatexObj.cpp.
References p_notAfterBegin.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setNotBeforeBegin | ( | const PString & | notBeforeBegin | ) |
Sets the notBeforeBegin of the PContext.
notBeforeBegin | : notBeforeBegin of the PContext |
Definition at line 1254 of file PLatexObj.cpp.
References p_notBeforeBegin.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setNotBeforeEnd | ( | const PString & | notBeforeEnd | ) |
Sets the notBeforeEnd of the PContext.
notBeforeEnd | : notBeforeEnd of the PContext |
Definition at line 1268 of file PLatexObj.cpp.
References p_notBeforeEnd.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setSeq | ( | const PParseSeq & | seq | ) |
Sets the seq of the PContext.
seq | : seq of the PContext |
Definition at line 1282 of file PLatexObj.cpp.
References p_seq.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setVecKeyword | ( | const std::vector< PString > & | vecKeyword | ) |
Sets the vecKeyword of the PContext.
vecKeyword | : vecKeyword of the PContext |
Definition at line 1275 of file PLatexObj.cpp.
References p_vecKeyword.
|
private |
First string to get.
Definition at line 347 of file PLatexObj.h.
Referenced by copyPContext(), getBegin(), initialisationPContext(), and setBegin().
|
private |
End string to get.
Definition at line 349 of file PLatexObj.h.
Referenced by copyPContext(), getEnd(), initialisationPContext(), and setEnd().
|
private |
Name of the context.
Definition at line 345 of file PLatexObj.h.
Referenced by copyPContext(), getName(), initialisationPContext(), and setName().
|
private |
String which cannot be after begin.
Definition at line 353 of file PLatexObj.h.
Referenced by copyPContext(), getNotAfterBegin(), initialisationPContext(), and setNotAfterBegin().
|
private |
String which cannot be before begin.
Definition at line 351 of file PLatexObj.h.
Referenced by copyPContext(), getNotBeforeBegin(), initialisationPContext(), and setNotBeforeBegin().
|
private |
String which cannot be before end.
Definition at line 355 of file PLatexObj.h.
Referenced by copyPContext(), getNotBeforeEnd(), initialisationPContext(), and setNotBeforeEnd().
|
private |
Sequence of parsing.
Definition at line 359 of file PLatexObj.h.
Referenced by copyPContext(), getSeq(), and setSeq().
|
private |
Vector of keyword.
Definition at line 357 of file PLatexObj.h.
Referenced by copyPContext(), getVecKeyword(), and setVecKeyword().