CppParser
Loading...
Searching...
No Matches
CppTemplateParam Struct Reference

Parameter types that are used to define a template class or function. More...

#include <cppast.h>

Collaboration diagram for CppTemplateParam:
Collaboration graph

Public Member Functions

 CppTemplateParam (std::string paramName)
 
 CppTemplateParam (CppVarType *paramType, std::string paramName)
 
 CppTemplateParam (CppFunctionPointer *paramType, std::string paramName)
 
CppObjdefaultArg ()
 
void defaultArg (CppObj *defParam)
 

Public Attributes

std::unique_ptr< CppObjparamType_
 
std::string paramName_
 

Private Attributes

CppObjPtr defaultArg_
 

Detailed Description

Parameter types that are used to define a template class or function.

Definition at line 822 of file cppast.h.

Constructor & Destructor Documentation

◆ CppTemplateParam() [1/3]

CppTemplateParam::CppTemplateParam ( std::string  paramName)
inline

Definition at line 828 of file cppast.h.

◆ CppTemplateParam() [2/3]

CppTemplateParam::CppTemplateParam ( CppVarType paramType,
std::string  paramName 
)
inline

Definition at line 834 of file cppast.h.

◆ CppTemplateParam() [3/3]

CppTemplateParam::CppTemplateParam ( CppFunctionPointer paramType,
std::string  paramName 
)
inline

Definition at line 2249 of file cppast.h.

Member Function Documentation

◆ defaultArg() [1/2]

CppObj * CppTemplateParam::defaultArg ( )
inline

Definition at line 842 of file cppast.h.

◆ defaultArg() [2/2]

void CppTemplateParam::defaultArg ( CppObj defParam)
inline

Definition at line 847 of file cppast.h.

Member Data Documentation

◆ defaultArg_

CppObjPtr CppTemplateParam::defaultArg_
private

Definition at line 854 of file cppast.h.

◆ paramName_

std::string CppTemplateParam::paramName_

Definition at line 826 of file cppast.h.

◆ paramType_

std::unique_ptr<CppObj> CppTemplateParam::paramType_

Definition at line 825 of file cppast.h.


The documentation for this struct was generated from the following file: