11 #ifndef __PPARSESEQ_H__
12 #define __PPARSESEQ_H__
22 #define VERSION_PPARSECMD 0lu
23 #define VERSION_PPARSESTEP 0lu
24 #define VERSION_PPARSESEQ 0lu
62 void setVecCmd(
const std ::vector<PParseCmd> & vecCmd);
65 const std ::vector<PParseCmd> &
getVecCmd()
const;
83 void setVecStep(
const std ::vector<PParseStep> & vecStep);
84 const std ::vector<PParseStep> &
getVecStep()
const;
void setIsMatch(bool isMatch)
Set the variable p_isMatch, of type 'bool'.
virtual ~PParseCmd()
Destructor of the class PParseCmd.
void setStr(const PString &str)
Set the variable p_str, of type 'PString'.
bool getIsMatch() const
Get the variable p_isMatch.
bool p_isMatch
True to use isMatch function instead of strComposedOf.
void copyPParseCmd(const PParseCmd &other)
Copy function of the class PParseCmd.
void initialisationPParseCmd()
Initialisation function of the class PParseCmd.
PString p_str
String to be used for the parsing.
const PString & getStr() const
Get the variable p_str.
PParseCmd & operator=(const PParseCmd &other)
Equal operator of the class PParseCmd.
PParseCmd()
Constructor of the class PParseCmd.
PParseSeq & operator=(const PParseSeq &other)
Equal operator of the class PParseSeq.
void copyPParseSeq(const PParseSeq &other)
Copy function of the class PParseSeq.
PParseSeq()
Constructor of the class PParseSeq.
std ::vector< PParseStep > p_vecStep
Vector of all the steps of the parsing sequence.
virtual ~PParseSeq()
Destructor of the class PParseSeq.
const std ::vector< PParseStep > & getVecStep() const
Get the variable p_vecStep.
void initialisationPParseSeq()
Initialisation function of the class PParseSeq.
void setVecStep(const std ::vector< PParseStep > &vecStep)
Set the variable p_vecStep, of type 'std ::vector<PParseStep>'.
Describes a parsing step.
void setIsOptional(bool isOptional)
Set the variable p_isOptional, of type 'bool'.
PParseStep()
Constructor of the class PParseStep.
bool p_isOptional
True if the step is optional (as soon as the previous one or the next one is Ok)
PParseStep & operator=(const PParseStep &other)
Equal operator of the class PParseStep.
std ::vector< PParseCmd > p_vecCmd
Vector of command to be used for parsing.
const std ::vector< PParseCmd > & getVecCmd() const
Get the variable p_vecCmd.
virtual ~PParseStep()
Destructor of the class PParseStep.
void initialisationPParseStep()
Initialisation function of the class PParseStep.
void setVecCmd(const std ::vector< PParseCmd > &vecCmd)
Set the variable p_vecCmd, of type 'std ::vector<PParseCmd>'.
void copyPParseStep(const PParseStep &other)
Copy function of the class PParseStep.
bool getIsOptional() const
Get the variable p_isOptional.