![]() |
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 > & | getVecDelimiter () |
Gets the vecDelimiter of the PContext. More... | |
const std::vector< PString > & | getVecDelimiter () const |
Gets the vecDelimiter 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 | setVecDelimiter (const std::vector< PString > &vecDelimiter) |
Sets the vecDelimiter 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_vecDelimiter |
Vector of delimiter. More... | |
std::vector< PString > | p_vecKeyword |
Vector of keyword. More... | |
Context for parser environement.
Definition at line 308 of file PLatexObj.h.
PContext::PContext | ( | ) |
Constructor of class PContext.
Definition at line 1203 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 1210 of file PLatexObj.cpp.
References copyPContext().
|
virtual |
|
protected |
Copy Function of class PContext.
other | : PContext we want ot copy |
Definition at line 1420 of file PLatexObj.cpp.
References p_begin, p_end, p_name, p_notAfterBegin, p_notBeforeBegin, p_notBeforeEnd, p_seq, p_vecDelimiter, 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 1308 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 1322 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 1294 of file PLatexObj.cpp.
References p_name.
Referenced by parser_parseKeyword().
PString & PContext::getNotAfterBegin | ( | ) |
Gets the notAfterBegin of the PContext.
Definition at line 1357 of file PLatexObj.cpp.
References p_notAfterBegin.
const PString & PContext::getNotAfterBegin | ( | ) | const |
Gets the notAfterBegin of the PContext.
Definition at line 1350 of file PLatexObj.cpp.
References p_notAfterBegin.
Referenced by parser_parseKeyword().
PString & PContext::getNotBeforeBegin | ( | ) |
Gets the notBeforeBegin of the PContext.
Definition at line 1343 of file PLatexObj.cpp.
References p_notBeforeBegin.
const PString & PContext::getNotBeforeBegin | ( | ) | const |
Gets the notBeforeBegin of the PContext.
Definition at line 1336 of file PLatexObj.cpp.
References p_notBeforeBegin.
Referenced by parser_parseKeyword().
PString & PContext::getNotBeforeEnd | ( | ) |
Gets the notBeforeEnd of the PContext.
Definition at line 1371 of file PLatexObj.cpp.
References p_notBeforeEnd.
const PString & PContext::getNotBeforeEnd | ( | ) | const |
Gets the notBeforeEnd of the PContext.
Definition at line 1364 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 1406 of file PLatexObj.cpp.
References p_seq.
Referenced by parser_parseKeyword().
std::vector< PString > & PContext::getVecDelimiter | ( | ) |
Gets the vecDelimiter of the PContext.
Definition at line 1399 of file PLatexObj.cpp.
References p_vecDelimiter.
const std::vector< PString > & PContext::getVecDelimiter | ( | ) | const |
Gets the vecDelimiter of the PContext.
Definition at line 1392 of file PLatexObj.cpp.
References p_vecDelimiter.
Referenced by PGenericParser::loadDirExtraParserFile(), and parser_parseKeyword().
std::vector< PString > & PContext::getVecKeyword | ( | ) |
Gets the vecKeyword of the PContext.
Definition at line 1385 of file PLatexObj.cpp.
References p_vecKeyword.
const std::vector< PString > & PContext::getVecKeyword | ( | ) | const |
Gets the vecKeyword of the PContext.
Definition at line 1378 of file PLatexObj.cpp.
References p_vecKeyword.
Referenced by PGenericParser::loadDirExtraParserFile(), and parser_parseKeyword().
|
private |
Initialisation Function of class PContext.
Definition at line 1433 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 1223 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 1238 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 1245 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 1231 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 1259 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 1252 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 1266 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 1287 of file PLatexObj.cpp.
References p_seq.
Referenced by PGenericParser::loadDirExtraParserFile().
void PContext::setVecDelimiter | ( | const std::vector< PString > & | vecDelimiter | ) |
Sets the vecDelimiter of the PContext.
vecDelimiter | : vecDelimiter of the PContext |
Definition at line 1280 of file PLatexObj.cpp.
References p_vecDelimiter.
void PContext::setVecKeyword | ( | const std::vector< PString > & | vecKeyword | ) |
Sets the vecKeyword of the PContext.
vecKeyword | : vecKeyword of the PContext |
Definition at line 1273 of file PLatexObj.cpp.
References p_vecKeyword.
|
private |
First string to get.
Definition at line 348 of file PLatexObj.h.
Referenced by copyPContext(), getBegin(), initialisationPContext(), and setBegin().
|
private |
End string to get.
Definition at line 350 of file PLatexObj.h.
Referenced by copyPContext(), getEnd(), initialisationPContext(), and setEnd().
|
private |
Name of the context.
Definition at line 346 of file PLatexObj.h.
Referenced by copyPContext(), getName(), initialisationPContext(), and setName().
|
private |
String which cannot be after begin.
Definition at line 354 of file PLatexObj.h.
Referenced by copyPContext(), getNotAfterBegin(), initialisationPContext(), and setNotAfterBegin().
|
private |
String which cannot be before begin.
Definition at line 352 of file PLatexObj.h.
Referenced by copyPContext(), getNotBeforeBegin(), initialisationPContext(), and setNotBeforeBegin().
|
private |
String which cannot be before end.
Definition at line 356 of file PLatexObj.h.
Referenced by copyPContext(), getNotBeforeEnd(), initialisationPContext(), and setNotBeforeEnd().
|
private |
Sequence of parsing.
Definition at line 362 of file PLatexObj.h.
Referenced by copyPContext(), getSeq(), and setSeq().
|
private |
Vector of delimiter.
Definition at line 360 of file PLatexObj.h.
Referenced by copyPContext(), getVecDelimiter(), and setVecDelimiter().
|
private |
Vector of keyword.
Definition at line 358 of file PLatexObj.h.
Referenced by copyPContext(), getVecKeyword(), and setVecKeyword().