#include <Puma/infos/CArgumentInfo.h>
Public Member Functions | |
CArgumentInfo () | |
~CArgumentInfo () | |
CT_ExprList * | Init () const |
bool | hasDefaultArg () const |
void | hasDefaultArg (bool) |
Puma::CArgumentInfo::CArgumentInfo | ( | ) | [inline] |
Construct a function parameter info.
Puma::CArgumentInfo::~CArgumentInfo | ( | ) |
Destruct the function parameter info. If the object id is ARGUMENT_INFO
, Puma::CObjectInfo::CleanUp() is called.
CT_ExprList* Puma::CArgumentInfo::Init | ( | ) | const |
Get the default argument of the parameter.
NULL
if parameter has no default argument. Reimplemented from Puma::CObjectInfo.
bool Puma::CArgumentInfo::hasDefaultArg | ( | ) | const [inline] |
Return true if the parameter has a default argument.
void Puma::CArgumentInfo::hasDefaultArg | ( | bool | has_arg | ) | [inline] |
Set whether the parameter has a default argument.