![]() |
PhoenixHPCProxy
0.8.0
Lightweight HPC proxy
|
Function prototype. More...
#include <PRepr.h>
Public Member Functions | |
PString & | getDocString () |
Gets the docString of the PFunction. | |
const PString & | getDocString () const |
Gets the docString of the PFunction. | |
PString & | getName () |
Gets the name of the PFunction. | |
const PString & | getName () const |
Gets the name of the PFunction. | |
PString & | getOtherCode () |
Gets the otherCode of the PFunction. | |
const PString & | getOtherCode () const |
Gets the otherCode of the PFunction. | |
PString & | getOutputType () |
Gets the outputType of the PFunction. | |
const PString & | getOutputType () const |
Gets the outputType of the PFunction. | |
PString & | getTemplateDef () |
Gets the templateDef of the PFunction. | |
const PString & | getTemplateDef () const |
Gets the templateDef of the PFunction. | |
std::vector< PArgument > & | getVecArgument () |
Gets the vecArgument of the PFunction. | |
const std::vector< PArgument > & | getVecArgument () const |
Gets the vecArgument of the PFunction. | |
PFunction & | operator= (const PFunction &other) |
Operator = of class PFunction. | |
PFunction () | |
Constructor of class PFunction. | |
PFunction (const PFunction &other) | |
Copy Constructor of class PFunction. | |
void | setDocString (const PString &docString) |
Sets the docString of the PFunction. | |
void | setName (const PString &name) |
Sets the name of the PFunction. | |
void | setOtherCode (const PString &otherCode) |
Sets the otherCode of the PFunction. | |
void | setOutputType (const PString &outputType) |
Sets the outputType of the PFunction. | |
void | setTemplateDef (const PString &templateDef) |
Sets the templateDef of the PFunction. | |
void | setVecArgument (const std::vector< PArgument > &vecArgument) |
Sets the vecArgument of the PFunction. | |
virtual | ~PFunction () |
Destructor of class PFunction. | |
Protected Member Functions | |
void | copyPFunction (const PFunction &other) |
Copy Function of class PFunction. | |
Private Attributes | |
PString | p_docString |
Documentation string of the current PFunction. | |
PString | p_name |
Name of the function. | |
PString | p_otherCode |
Other code which is not a function prototype. | |
PString | p_outputType |
Output type of the function. | |
PString | p_templateDef |
Template definition of the function. | |
std::vector< PArgument > | p_vecArgument |
Vector of all the attributes of the PFunction. | |
PFunction::PFunction | ( | ) |
Constructor of class PFunction.
Definition at line 131 of file PRepr.cpp.
Referenced by copyPFunction(), operator=(), and PFunction().
PFunction::PFunction | ( | const PFunction & | other | ) |
Copy Constructor of class PFunction.
other | : PFunction we want ot copy |
Definition at line 138 of file PRepr.cpp.
References copyPFunction(), and PFunction().
|
virtual |
|
protected |
Copy Function of class PFunction.
other | : PFunction we want ot copy |
Definition at line 285 of file PRepr.cpp.
References p_docString, p_name, p_otherCode, p_outputType, p_templateDef, p_vecArgument, and PFunction().
Referenced by operator=(), and PFunction().
PString & PFunction::getDocString | ( | ) |
Gets the docString of the PFunction.
Definition at line 222 of file PRepr.cpp.
References p_docString.
const PString & PFunction::getDocString | ( | ) | const |
Gets the docString of the PFunction.
Definition at line 215 of file PRepr.cpp.
References p_docString.
Referenced by cpp_backendTableHeaderInline().
PString & PFunction::getName | ( | ) |
const PString & PFunction::getName | ( | ) | const |
Gets the name of the PFunction.
Definition at line 201 of file PRepr.cpp.
References p_name.
Referenced by cpp_backendTableHeaderHandleType(), and cpp_backendTableHeaderInline().
PString & PFunction::getOtherCode | ( | ) |
Gets the otherCode of the PFunction.
Definition at line 278 of file PRepr.cpp.
References p_otherCode.
const PString & PFunction::getOtherCode | ( | ) | const |
Gets the otherCode of the PFunction.
Definition at line 271 of file PRepr.cpp.
References p_otherCode.
Referenced by cpp_backendTableHeaderInline(), and repr_isFunction().
PString & PFunction::getOutputType | ( | ) |
Gets the outputType of the PFunction.
Definition at line 250 of file PRepr.cpp.
References p_outputType.
const PString & PFunction::getOutputType | ( | ) | const |
Gets the outputType of the PFunction.
Definition at line 243 of file PRepr.cpp.
References p_outputType.
Referenced by cpp_backendTableHeaderHandleType(), and cpp_backendTableHeaderInline().
PString & PFunction::getTemplateDef | ( | ) |
Gets the templateDef of the PFunction.
Definition at line 264 of file PRepr.cpp.
References p_templateDef.
const PString & PFunction::getTemplateDef | ( | ) | const |
Gets the templateDef of the PFunction.
Definition at line 257 of file PRepr.cpp.
References p_templateDef.
Referenced by cpp_backendTableHeaderInline().
std::vector< PArgument > & PFunction::getVecArgument | ( | ) |
Gets the vecArgument of the PFunction.
Definition at line 236 of file PRepr.cpp.
References p_vecArgument.
const std::vector< PArgument > & PFunction::getVecArgument | ( | ) | const |
Gets the vecArgument of the PFunction.
Definition at line 229 of file PRepr.cpp.
References p_vecArgument.
Referenced by cpp_backendTableHeaderHandleType(), cpp_backendTableHeaderInline(), and HeaderParser::parseFunction().
Operator = of class PFunction.
other | : PFunction we want ot copy |
Definition at line 151 of file PRepr.cpp.
References copyPFunction(), and PFunction().
void PFunction::setDocString | ( | const PString & | docString | ) |
Sets the docString of the PFunction.
docString | : docString of the PFunction |
Definition at line 166 of file PRepr.cpp.
References p_docString.
Referenced by HeaderParser::parseFunction().
void PFunction::setName | ( | const PString & | name | ) |
void PFunction::setOtherCode | ( | const PString & | otherCode | ) |
Sets the otherCode of the PFunction.
otherCode | : otherCode of the PFunction |
Definition at line 194 of file PRepr.cpp.
References p_otherCode.
Referenced by HeaderParser::parseMacro(), and HeaderParser::playOtherCode().
void PFunction::setOutputType | ( | const PString & | outputType | ) |
Sets the outputType of the PFunction.
outputType | : outputType of the PFunction |
Definition at line 180 of file PRepr.cpp.
References p_outputType.
Referenced by HeaderParser::parseFunction().
void PFunction::setTemplateDef | ( | const PString & | templateDef | ) |
Sets the templateDef of the PFunction.
templateDef | : templateDef of the PFunction |
Definition at line 187 of file PRepr.cpp.
References p_templateDef.
void PFunction::setVecArgument | ( | const std::vector< PArgument > & | vecArgument | ) |
Sets the vecArgument of the PFunction.
vecArgument | : vecArgument of the PFunction |
Definition at line 173 of file PRepr.cpp.
References p_vecArgument.
|
private |
Documentation string of the current PFunction.
Definition at line 76 of file PRepr.h.
Referenced by copyPFunction(), getDocString(), getDocString(), and setDocString().
|
private |
|
private |
Other code which is not a function prototype.
Definition at line 84 of file PRepr.h.
Referenced by copyPFunction(), getOtherCode(), getOtherCode(), and setOtherCode().
|
private |
Output type of the function.
Definition at line 80 of file PRepr.h.
Referenced by copyPFunction(), getOutputType(), getOutputType(), and setOutputType().
|
private |
Template definition of the function.
Definition at line 82 of file PRepr.h.
Referenced by copyPFunction(), getTemplateDef(), getTemplateDef(), and setTemplateDef().
|
private |
Vector of all the attributes of the PFunction.
Definition at line 78 of file PRepr.h.
Referenced by copyPFunction(), getVecArgument(), getVecArgument(), and setVecArgument().