Puma Reference Manual Puma: Puma::CTypeTemplateParam Class Reference



Puma::CTypeTemplateParam Class Reference

Type of a template parameter. More...

#include <Puma/CTypeInfo.h>

Inheritance diagram for Puma::CTypeTemplateParam:
Inheritance graph

List of all members.

Public Member Functions

 CTypeTemplateParam (CTemplateParamInfo *info)
 Constructor.
 ~CTypeTemplateParam ()
 Destructor.
CTemplateParamInfoTemplateParamInfo () const
 Get the template parameter information.
void TemplateParamInfo (CTemplateParamInfo *info)
 Set the template parameter information.
bool isType () const
 Check if this is the type of a type template parameter.
bool isNonType () const
 Check if this is the type of a non-type template parameter.

Detailed Description

Type of a template parameter.


Constructor & Destructor Documentation

Puma::CTypeTemplateParam::CTypeTemplateParam ( CTemplateParamInfo info) [inline]

Constructor.

The type ID is CTypeInfo::TYPE_TEMPLATE_PARAM.

Parameters:
infoThe template parameter.
Puma::CTypeTemplateParam::~CTypeTemplateParam ( ) [inline]

Destructor.


Member Function Documentation

bool Puma::CTypeTemplateParam::isNonType ( ) const [inline]

Check if this is the type of a non-type template parameter.

bool Puma::CTypeTemplateParam::isType ( ) const

Check if this is the type of a type template parameter.

CTemplateParamInfo * Puma::CTypeTemplateParam::TemplateParamInfo ( ) const [inline]

Get the template parameter information.

void Puma::CTypeTemplateParam::TemplateParamInfo ( CTemplateParamInfo info) [inline]

Set the template parameter information.

Parameters:
infoThe template parameter.