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

#include <cppast.h>

Inheritance diagram for CppUsingDecl:
Inheritance graph
Collaboration diagram for CppUsingDecl:
Collaboration graph

Public Member Functions

 CppUsingDecl (std::string name, CppVarType *varType)
 
 CppUsingDecl (std::string name, CppFunctionPointer *fptr)
 
 CppUsingDecl (std::string name, CppCompound *compound)
 
 CppUsingDecl (std::string name, CppAccessType accessType)
 
CppTemplateParamListtemplateParamList ()
 
void templateParamList (CppTemplateParamList *templParamList)
 
void accept (CppVisitorBase *v) override
 
- Public Member Functions inherited from CppObj
 CppObj (CppObjType type, CppAccessType accessType)
 
CppCompoundowner ()
 
void owner (CppCompound *o)
 
virtual void accept (CppVisitorBase *v)=0
 
virtual ~CppObj ()
 

Public Attributes

std::string name_
 
CppObjPtr cppObj_
 
- Public Attributes inherited from CppObj
CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Static Public Attributes

static constexpr CppObjType kObjectType = CppObjType::kUsingDecl
 

Private Attributes

CppTemplateParamListPtr templSpec_
 

Detailed Description

Definition at line 1567 of file cppast.h.

Constructor & Destructor Documentation

◆ CppUsingDecl() [1/4]

CppUsingDecl::CppUsingDecl ( std::string  name,
CppVarType varType 
)
inline

Definition at line 1574 of file cppast.h.

◆ CppUsingDecl() [2/4]

CppUsingDecl::CppUsingDecl ( std::string  name,
CppFunctionPointer fptr 
)
inline

Definition at line 1581 of file cppast.h.

◆ CppUsingDecl() [3/4]

CppUsingDecl::CppUsingDecl ( std::string  name,
CppCompound compound 
)
inline

Definition at line 1588 of file cppast.h.

◆ CppUsingDecl() [4/4]

CppUsingDecl::CppUsingDecl ( std::string  name,
CppAccessType  accessType 
)
inline

Definition at line 1595 of file cppast.h.

Member Function Documentation

◆ accept()

void CppUsingDecl::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 1610 of file cppast.h.

Here is the call graph for this function:

◆ templateParamList() [1/2]

CppTemplateParamList * CppUsingDecl::templateParamList ( )
inline

Definition at line 1601 of file cppast.h.

Here is the caller graph for this function:

◆ templateParamList() [2/2]

void CppUsingDecl::templateParamList ( CppTemplateParamList templParamList)
inline

Definition at line 1605 of file cppast.h.

Member Data Documentation

◆ cppObj_

CppObjPtr CppUsingDecl::cppObj_

Definition at line 1572 of file cppast.h.

◆ kObjectType

constexpr CppObjType CppUsingDecl::kObjectType = CppObjType::kUsingDecl
staticconstexpr

Definition at line 1569 of file cppast.h.

◆ name_

std::string CppUsingDecl::name_

Definition at line 1571 of file cppast.h.

◆ templSpec_

CppTemplateParamListPtr CppUsingDecl::templSpec_
private

Definition at line 1619 of file cppast.h.


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