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

Class used to parse nested call variables. More...

#include <PNestedCall.h>

Public Member Functions

PString & getName ()
 Gets the name of the PNestedCall.
 
const PString & getName () const
 Gets the name of the PNestedCall.
 
std::vector< PNestedStr > & getVecNestedStr ()
 Gets the vecNestedStr of the PNestedCall.
 
const std::vector< PNestedStr > & getVecNestedStr () const
 Gets the vecNestedStr of the PNestedCall.
 
PNestedCalloperator= (const PNestedCall &other)
 Operator = of class PNestedCall.
 
 PNestedCall ()
 Constructor of class PNestedCall.
 
 PNestedCall (const PNestedCall &other)
 Copy Constructor of class PNestedCall.
 
void setName (const PString &name)
 Sets the name of the PNestedCall.
 
void setVecNestedStr (const std::vector< PNestedStr > &vecNestedStr)
 Sets the vecNestedStr of the PNestedCall.
 
virtual ~PNestedCall ()
 Destructor of class PNestedCall.
 

Protected Member Functions

void copyPNestedCall (const PNestedCall &other)
 Copy Function of class PNestedCall.
 

Private Attributes

PString p_name
 Name of the Variable.
 
std::vector< PNestedStrp_vecNestedStr
 Vector of PNestedStr.
 

Detailed Description

Class used to parse nested call variables.

Definition at line 36 of file PNestedCall.h.

Constructor & Destructor Documentation

◆ PNestedCall() [1/2]

PNestedCall::PNestedCall ( )

Constructor of class PNestedCall.

Definition at line 87 of file PNestedCall.cpp.

87 {
88
89}

Referenced by copyPNestedCall(), operator=(), and PNestedCall().

+ Here is the caller graph for this function:

◆ PNestedCall() [2/2]

PNestedCall::PNestedCall ( const PNestedCall & other)

Copy Constructor of class PNestedCall.

Parameters
other: PNestedCall we want ot copy

Definition at line 94 of file PNestedCall.cpp.

94 {
95 copyPNestedCall(other);
96}
void copyPNestedCall(const PNestedCall &other)
Copy Function of class PNestedCall.

References copyPNestedCall(), and PNestedCall().

+ Here is the call graph for this function:

◆ ~PNestedCall()

PNestedCall::~PNestedCall ( )
virtual

Destructor of class PNestedCall.

Definition at line 99 of file PNestedCall.cpp.

99 {
100
101}

Member Function Documentation

◆ copyPNestedCall()

void PNestedCall::copyPNestedCall ( const PNestedCall & other)
protected

Copy Function of class PNestedCall.

Parameters
other: PNestedCall we want ot copy

Definition at line 157 of file PNestedCall.cpp.

157 {
158 p_name = other.p_name;
160}
std::vector< PNestedStr > p_vecNestedStr
Vector of PNestedStr.
Definition PNestedCall.h:54
PString p_name
Name of the Variable.
Definition PNestedCall.h:52

References p_name, p_vecNestedStr, and PNestedCall().

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

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

◆ getName() [1/2]

PString & PNestedCall::getName ( )

Gets the name of the PNestedCall.

Returns
name of the PNestedCall

Definition at line 136 of file PNestedCall.cpp.

136 {
137 return p_name;
138}

References p_name.

◆ getName() [2/2]

const PString & PNestedCall::getName ( ) const

Gets the name of the PNestedCall.

Returns
name of the PNestedCall

Definition at line 129 of file PNestedCall.cpp.

129 {
130 return p_name;
131}

References p_name.

Referenced by dico_update_all_nestedCall().

+ Here is the caller graph for this function:

◆ getVecNestedStr() [1/2]

std::vector< PNestedStr > & PNestedCall::getVecNestedStr ( )

Gets the vecNestedStr of the PNestedCall.

Returns
vecNestedStr of the PNestedCall

Definition at line 150 of file PNestedCall.cpp.

150 {
151 return p_vecNestedStr;
152}

References p_vecNestedStr.

◆ getVecNestedStr() [2/2]

const std::vector< PNestedStr > & PNestedCall::getVecNestedStr ( ) const

Gets the vecNestedStr of the PNestedCall.

Returns
vecNestedStr of the PNestedCall

Definition at line 143 of file PNestedCall.cpp.

143 {
144 return p_vecNestedStr;
145}

References p_vecNestedStr.

Referenced by createNestedCallFromStr(), dico_create_nested_call(), dico_replace_nested_call(), and dico_update_all_nestedCall().

+ Here is the caller graph for this function:

◆ operator=()

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

Operator = of class PNestedCall.

Parameters
other: PNestedCall we want ot copy
Returns
copied class PNestedCall

Definition at line 107 of file PNestedCall.cpp.

107 {
108 copyPNestedCall(other);
109 return *this;
110}

References copyPNestedCall(), and PNestedCall().

+ Here is the call graph for this function:

◆ setName()

void PNestedCall::setName ( const PString & name)

Sets the name of the PNestedCall.

Parameters
name: name of the PNestedCall

Definition at line 115 of file PNestedCall.cpp.

115 {
116 p_name = name;
117}

References p_name.

Referenced by createNestedCallFromStr().

+ Here is the caller graph for this function:

◆ setVecNestedStr()

void PNestedCall::setVecNestedStr ( const std::vector< PNestedStr > & vecNestedStr)

Sets the vecNestedStr of the PNestedCall.

Parameters
vecNestedStr: vecNestedStr of the PNestedCall

Definition at line 122 of file PNestedCall.cpp.

122 {
123 p_vecNestedStr = vecNestedStr;
124}

References p_vecNestedStr.

Member Data Documentation

◆ p_name

PString PNestedCall::p_name
private

Name of the Variable.

Definition at line 52 of file PNestedCall.h.

Referenced by copyPNestedCall(), getName(), getName(), and setName().

◆ p_vecNestedStr

std::vector<PNestedStr> PNestedCall::p_vecNestedStr
private

Vector of PNestedStr.

Definition at line 54 of file PNestedCall.h.

Referenced by copyPNestedCall(), getVecNestedStr(), getVecNestedStr(), and setVecNestedStr().


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