Puma Reference Manual Puma::CArgumentInfo Class Reference



Puma::CArgumentInfo Class Reference

Semantic information about a function parameter. More...

#include <Puma/CArgumentInfo.h>

Inheritance diagram for Puma::CArgumentInfo:
Inheritance graph

List of all members.

Public Member Functions

 CArgumentInfo ()
 Constructor.
 ~CArgumentInfo ()
 Destructor.
bool hasDefaultArg () const
 Return true if the parameter has a default argument.
void hasDefaultArg (bool v)
 Set whether the parameter has a default argument.

Detailed Description

Semantic information about a function parameter.


Constructor & Destructor Documentation

Constructor.

Destructor.

If the object type is CObjectInfo::ARGUMENT_INFO, then CObjectInfo::CleanUp() is called.


Member Function Documentation

bool Puma::CArgumentInfo::hasDefaultArg ( ) const [inline]

Return true if the parameter has a default argument.

void Puma::CArgumentInfo::hasDefaultArg ( bool  v) [inline]

Set whether the parameter has a default argument.

Parameters:
vTrue for yes, false for no.