PhoenixFileParser  1.0.0
Set of tools to ease file parsing
Loading...
Searching...
No Matches
PParseSeq Class Reference

Parsing sequence. More...

#include <PParseSeq.h>

Public Member Functions

std ::vector< PParseStep > & getVecStep ()
 Get the variable p_vecStep.
 
const std ::vector< PParseStep > & getVecStep () const
 Get the variable p_vecStep.
 
PParseSeqoperator= (const PParseSeq &other)
 Equal operator of the class PParseSeq.
 
 PParseSeq ()
 Constructor of the class PParseSeq.
 
 PParseSeq (const PParseSeq &other)
 Copy constructor of the class PParseSeq.
 
void setVecStep (const std ::vector< PParseStep > &vecStep)
 Set the variable p_vecStep, of type 'std ::vector<PParseStep>'.
 
virtual ~PParseSeq ()
 Destructor of the class PParseSeq.
 

Private Member Functions

void copyPParseSeq (const PParseSeq &other)
 Copy function of the class PParseSeq.
 
void initialisationPParseSeq ()
 Initialisation function of the class PParseSeq.
 

Private Attributes

std ::vector< PParseStepp_vecStep
 Vector of all the steps of the parsing sequence.
 

Detailed Description

Parsing sequence.

Definition at line 77 of file PParseSeq.h.

Constructor & Destructor Documentation

◆ PParseSeq() [1/2]

PParseSeq::PParseSeq ( )

Constructor of the class PParseSeq.

Definition at line 220 of file PParseSeq.cpp.

220 {
222}
void initialisationPParseSeq()
Initialisation function of the class PParseSeq.

References initialisationPParseSeq().

Referenced by copyPParseSeq(), operator=(), and PParseSeq().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PParseSeq() [2/2]

PParseSeq::PParseSeq ( const PParseSeq & other)

Copy constructor of the class PParseSeq.

Parameters
other: other variable

Definition at line 227 of file PParseSeq.cpp.

227 {
229 copyPParseSeq(other);
230}
void copyPParseSeq(const PParseSeq &other)
Copy function of the class PParseSeq.

References copyPParseSeq(), initialisationPParseSeq(), and PParseSeq().

+ Here is the call graph for this function:

◆ ~PParseSeq()

PParseSeq::~PParseSeq ( )
virtual

Destructor of the class PParseSeq.

Definition at line 233 of file PParseSeq.cpp.

233 {
234
235}

Member Function Documentation

◆ copyPParseSeq()

void PParseSeq::copyPParseSeq ( const PParseSeq & other)
private

Copy function of the class PParseSeq.

Parameters
other: other variable

Definition at line 282 of file PParseSeq.cpp.

282 {
283 p_vecStep = other.p_vecStep;
284
285}
std ::vector< PParseStep > p_vecStep
Vector of all the steps of the parsing sequence.
Definition PParseSeq.h:90

References p_vecStep, and PParseSeq().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getVecStep() [1/2]

std::vector< PParseStep > & PParseSeq::getVecStep ( )

Get the variable p_vecStep.

Returns
Vector of all the steps of the parsing sequence

Definition at line 263 of file PParseSeq.cpp.

263 {
264 return p_vecStep;
265}

References p_vecStep.

◆ getVecStep() [2/2]

const std::vector< PParseStep > & PParseSeq::getVecStep ( ) const

Get the variable p_vecStep.

Returns
Vector of all the steps of the parsing sequence

Definition at line 256 of file PParseSeq.cpp.

256 {
257 return p_vecStep;
258}

References p_vecStep.

Referenced by PFileParser::isMatch().

+ Here is the caller graph for this function:

◆ initialisationPParseSeq()

void PParseSeq::initialisationPParseSeq ( )
private

Initialisation function of the class PParseSeq.

Definition at line 275 of file PParseSeq.cpp.

275 {
276
277}

Referenced by PParseSeq(), and PParseSeq().

+ Here is the caller graph for this function:

◆ operator=()

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

Equal operator of the class PParseSeq.

Parameters
other: other variable
Returns
copied Parsing sequence

Definition at line 241 of file PParseSeq.cpp.

241 {
242 copyPParseSeq(other);
243 return *this;
244}

References copyPParseSeq(), and PParseSeq().

+ Here is the call graph for this function:

◆ setVecStep()

void PParseSeq::setVecStep ( const std ::vector< PParseStep > & vecStep)

Set the variable p_vecStep, of type 'std ::vector<PParseStep>'.

Parameters
vecStep: Vector of all the steps of the parsing sequence

Definition at line 249 of file PParseSeq.cpp.

249 {
250 p_vecStep = vecStep;
251}

References p_vecStep.

Member Data Documentation

◆ p_vecStep

std ::vector<PParseStep> PParseSeq::p_vecStep
private

Vector of all the steps of the parsing sequence.

Definition at line 90 of file PParseSeq.h.

Referenced by copyPParseSeq(), getVecStep(), getVecStep(), and setVecStep().


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