PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
PParseCmd Class Reference

Parser command. More...

#include <PParseSeq.h>

+ Collaboration diagram for PParseCmd:

Public Member Functions

bool & getIsMatch ()
 Get the variable p_isMatch. More...
 
bool getIsMatch () const
 Get the variable p_isMatch. More...
 
PStringgetStr ()
 Get the variable p_str. More...
 
const PStringgetStr () const
 Get the variable p_str. More...
 
PParseCmdoperator= (const PParseCmd &other)
 Equal operator of the class PParseCmd. More...
 
 PParseCmd ()
 Constructor of the class PParseCmd. More...
 
 PParseCmd (const PParseCmd &other)
 Copy constructor of the class PParseCmd. More...
 
void setIsMatch (bool isMatch)
 Set the variable p_isMatch, of type 'bool'. More...
 
void setStr (const PString &str)
 Set the variable p_str, of type 'PString'. More...
 
virtual ~PParseCmd ()
 Destructor of the class PParseCmd. More...
 

Private Member Functions

void copyPParseCmd (const PParseCmd &other)
 Copy function of the class PParseCmd. More...
 
void initialisationPParseCmd ()
 Initialisation function of the class PParseCmd. More...
 

Private Attributes

bool p_isMatch
 True to use isMatch function instead of strComposedOf. More...
 
PString p_str
 String to be used for the parsing. More...
 

Detailed Description

Parser command.

Definition at line 33 of file PParseSeq.h.

Constructor & Destructor Documentation

◆ PParseCmd() [1/2]

PParseCmd::PParseCmd ( )

Constructor of the class PParseCmd.

Definition at line 22 of file PParseSeq.cpp.

22  {
24 }
void initialisationPParseCmd()
Initialisation function of the class PParseCmd.
Definition: PParseSeq.cpp:98

References initialisationPParseCmd().

+ Here is the call graph for this function:

◆ PParseCmd() [2/2]

PParseCmd::PParseCmd ( const PParseCmd other)

Copy constructor of the class PParseCmd.

Parameters
other: other variable

Definition at line 29 of file PParseSeq.cpp.

29  {
31  copyPParseCmd(other);
32 }
void copyPParseCmd(const PParseCmd &other)
Copy function of the class PParseCmd.
Definition: PParseSeq.cpp:107

References copyPParseCmd(), and initialisationPParseCmd().

+ Here is the call graph for this function:

◆ ~PParseCmd()

PParseCmd::~PParseCmd ( )
virtual

Destructor of the class PParseCmd.

Definition at line 35 of file PParseSeq.cpp.

35  {
36 
37 }

Member Function Documentation

◆ copyPParseCmd()

void PParseCmd::copyPParseCmd ( const PParseCmd other)
private

Copy function of the class PParseCmd.

Parameters
other: other variable

Definition at line 107 of file PParseSeq.cpp.

107  {
108  p_isMatch = other.p_isMatch;
109  p_str = other.p_str;
110 
111 }
bool p_isMatch
True to use isMatch function instead of strComposedOf.
Definition: PParseSeq.h:49
PString p_str
String to be used for the parsing.
Definition: PParseSeq.h:51

References p_isMatch, and p_str.

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

+ Here is the caller graph for this function:

◆ getIsMatch() [1/2]

bool & PParseCmd::getIsMatch ( )

Get the variable p_isMatch.

Returns
True to use isMatch function instead of strComposedOf

Definition at line 72 of file PParseSeq.cpp.

72  {
73  return p_isMatch;
74 }

References p_isMatch.

◆ getIsMatch() [2/2]

bool PParseCmd::getIsMatch ( ) const

Get the variable p_isMatch.

Returns
True to use isMatch function instead of strComposedOf

Definition at line 65 of file PParseSeq.cpp.

65  {
66  return p_isMatch;
67 }

References p_isMatch.

Referenced by checkPParseCmd().

+ Here is the caller graph for this function:

◆ getStr() [1/2]

PString & PParseCmd::getStr ( )

Get the variable p_str.

Returns
String to be used for the parsing

Definition at line 86 of file PParseSeq.cpp.

86  {
87  return p_str;
88 }

References p_str.

◆ getStr() [2/2]

const PString & PParseCmd::getStr ( ) const

Get the variable p_str.

Returns
String to be used for the parsing

Definition at line 79 of file PParseSeq.cpp.

79  {
80  return p_str;
81 }

References p_str.

Referenced by checkPParseCmd().

+ Here is the caller graph for this function:

◆ initialisationPParseCmd()

void PParseCmd::initialisationPParseCmd ( )
private

Initialisation function of the class PParseCmd.

True to use isMatch function instead of strComposedOf

Definition at line 98 of file PParseSeq.cpp.

98  {
100  p_isMatch = 0;
101 
102 }

References p_isMatch.

Referenced by PParseCmd().

+ Here is the caller graph for this function:

◆ operator=()

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

Equal operator of the class PParseCmd.

Parameters
other: other variable
Returns
copied Parser command

Definition at line 43 of file PParseSeq.cpp.

43  {
44  copyPParseCmd(other);
45  return *this;
46 }

References copyPParseCmd().

+ Here is the call graph for this function:

◆ setIsMatch()

void PParseCmd::setIsMatch ( bool  isMatch)

Set the variable p_isMatch, of type 'bool'.

Parameters
isMatch: True to use isMatch function instead of strComposedOf

Definition at line 51 of file PParseSeq.cpp.

51  {
52  p_isMatch = isMatch;
53 }

References p_isMatch.

Referenced by createSequenceAllMatch(), loadParserSeq(), testPFileParserSeq(), and testPFileParserSeqOneStep().

+ Here is the caller graph for this function:

◆ setStr()

void PParseCmd::setStr ( const PString str)

Set the variable p_str, of type 'PString'.

Parameters
str: String to be used for the parsing

Definition at line 58 of file PParseSeq.cpp.

58  {
59  p_str = str;
60 }

References p_str.

Referenced by createSequenceAllMatch(), loadParserSeq(), testPFileParserSeq(), and testPFileParserSeqOneStep().

+ Here is the caller graph for this function:

Member Data Documentation

◆ p_isMatch

bool PParseCmd::p_isMatch
private

True to use isMatch function instead of strComposedOf.

Definition at line 49 of file PParseSeq.h.

Referenced by copyPParseCmd(), getIsMatch(), initialisationPParseCmd(), and setIsMatch().

◆ p_str

PString PParseCmd::p_str
private

String to be used for the parsing.

Definition at line 51 of file PParseSeq.h.

Referenced by copyPParseCmd(), getStr(), and setStr().


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