![]() |
PhoenixHPCProxy
0.8.0
Lightweight HPC proxy
|
Parameter of a function. More...
#include <PRepr.h>
Public Member Functions | |
PString & | getDefaultValue () |
Gets the defaultValue of the PArgument. | |
const PString & | getDefaultValue () const |
Gets the defaultValue of the PArgument. | |
PString & | getName () |
Gets the name of the PArgument. | |
const PString & | getName () const |
Gets the name of the PArgument. | |
PString & | getPtrRef () |
Gets the ptrRef of the PArgument. | |
const PString & | getPtrRef () const |
Gets the ptrRef of the PArgument. | |
PString & | getType () |
Gets the type of the PArgument. | |
const PString & | getType () const |
Gets the type of the PArgument. | |
PArgument & | operator= (const PArgument &other) |
Operator = of class PArgument. | |
PArgument () | |
Constructor of class PArgument. | |
PArgument (const PArgument &other) | |
Copy Constructor of class PArgument. | |
void | setDefaultValue (const PString &defaultValue) |
Sets the defaultValue of the PArgument. | |
void | setName (const PString &name) |
Sets the name of the PArgument. | |
void | setPtrRef (const PString &ptrRef) |
Sets the ptrRef of the PArgument. | |
void | setType (const PString &type) |
Sets the type of the PArgument. | |
virtual | ~PArgument () |
Destructor of class PArgument. | |
Protected Member Functions | |
void | copyPArgument (const PArgument &other) |
Copy Function of class PArgument. | |
Private Attributes | |
PString | p_defaultValue |
Default value of the parameter. | |
PString | p_name |
Name of the parameter. | |
PString | p_ptrRef |
Pointer or reference of the parameter. | |
PString | p_type |
Type of the column. | |
PArgument::PArgument | ( | ) |
Constructor of class PArgument.
Definition at line 11 of file PRepr.cpp.
Referenced by copyPArgument(), operator=(), and PArgument().
PArgument::PArgument | ( | const PArgument & | other | ) |
Copy Constructor of class PArgument.
other | : PArgument we want ot copy |
Definition at line 18 of file PRepr.cpp.
References copyPArgument(), and PArgument().
|
virtual |
|
protected |
Copy Function of class PArgument.
other | : PArgument we want ot copy |
Definition at line 123 of file PRepr.cpp.
References p_defaultValue, p_name, p_ptrRef, p_type, and PArgument().
Referenced by operator=(), and PArgument().
PString & PArgument::getDefaultValue | ( | ) |
Gets the defaultValue of the PArgument.
Definition at line 102 of file PRepr.cpp.
References p_defaultValue.
const PString & PArgument::getDefaultValue | ( | ) | const |
Gets the defaultValue of the PArgument.
Definition at line 95 of file PRepr.cpp.
References p_defaultValue.
PString & PArgument::getName | ( | ) |
const PString & PArgument::getName | ( | ) | const |
PString & PArgument::getPtrRef | ( | ) |
const PString & PArgument::getPtrRef | ( | ) | const |
PString & PArgument::getType | ( | ) |
const PString & PArgument::getType | ( | ) | const |
Operator = of class PArgument.
other | : PArgument we want ot copy |
Definition at line 31 of file PRepr.cpp.
References copyPArgument(), and PArgument().
void PArgument::setDefaultValue | ( | const PString & | defaultValue | ) |
Sets the defaultValue of the PArgument.
defaultValue | : defaultValue of the PArgument |
Definition at line 53 of file PRepr.cpp.
References p_defaultValue.
Referenced by HeaderParser::parseArgument().
void PArgument::setName | ( | const PString & | name | ) |
void PArgument::setPtrRef | ( | const PString & | ptrRef | ) |
void PArgument::setType | ( | const PString & | type | ) |
|
private |
Default value of the parameter.
Definition at line 40 of file PRepr.h.
Referenced by copyPArgument(), getDefaultValue(), getDefaultValue(), and setDefaultValue().
|
private |
|
private |
Pointer or reference of the parameter.
Definition at line 42 of file PRepr.h.
Referenced by copyPArgument(), getPtrRef(), getPtrRef(), and setPtrRef().
|
private |