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

#include <cppast.h>

Inheritance diagram for CppFwdClsDecl:
Inheritance graph
Collaboration diagram for CppFwdClsDecl:
Collaboration graph

Public Member Functions

 CppFwdClsDecl (CppAccessType accessType, std::string name, std::string apidecor, CppCompoundType cmpType=CppCompoundType::kNoCompound)
 
 CppFwdClsDecl (CppAccessType accessType, std::string name, CppCompoundType cmpType=CppCompoundType::kNoCompound)
 
std::uint32_t attr ()
 
void addAttr (std::uint32_t _attr)
 
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

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

Static Public Attributes

static constexpr CppObjType kObjectType = CppObjType::kFwdClsDecl
 

Private Attributes

CppTemplateParamListPtr templSpec_
 
std::uint32_t attr_ {0}
 

Detailed Description

Definition at line 857 of file cppast.h.

Constructor & Destructor Documentation

◆ CppFwdClsDecl() [1/2]

CppFwdClsDecl::CppFwdClsDecl ( CppAccessType  accessType,
std::string  name,
std::string  apidecor,
CppCompoundType  cmpType = CppCompoundType::kNoCompound 
)
inline

Definition at line 865 of file cppast.h.

◆ CppFwdClsDecl() [2/2]

CppFwdClsDecl::CppFwdClsDecl ( CppAccessType  accessType,
std::string  name,
CppCompoundType  cmpType = CppCompoundType::kNoCompound 
)
inline

Definition at line 877 of file cppast.h.

Member Function Documentation

◆ accept()

void CppFwdClsDecl::accept ( CppVisitorBase v)
inlineoverridevirtual

Implements CppObj.

Definition at line 900 of file cppast.h.

Here is the call graph for this function:

◆ addAttr()

void CppFwdClsDecl::addAttr ( std::uint32_t  _attr)
inline

Definition at line 886 of file cppast.h.

◆ attr()

std::uint32_t CppFwdClsDecl::attr ( )
inline

Definition at line 882 of file cppast.h.

Here is the caller graph for this function:

◆ templateParamList() [1/2]

CppTemplateParamList * CppFwdClsDecl::templateParamList ( )
inline

Definition at line 891 of file cppast.h.

Here is the caller graph for this function:

◆ templateParamList() [2/2]

void CppFwdClsDecl::templateParamList ( CppTemplateParamList templParamList)
inline

Definition at line 895 of file cppast.h.

Member Data Documentation

◆ apidecor_

std::string CppFwdClsDecl::apidecor_

Definition at line 863 of file cppast.h.

◆ attr_

std::uint32_t CppFwdClsDecl::attr_ {0}
private

Definition at line 907 of file cppast.h.

◆ cmpType_

CppCompoundType CppFwdClsDecl::cmpType_

Definition at line 861 of file cppast.h.

◆ kObjectType

constexpr CppObjType CppFwdClsDecl::kObjectType = CppObjType::kFwdClsDecl
staticconstexpr

Definition at line 859 of file cppast.h.

◆ name_

std::string CppFwdClsDecl::name_

Definition at line 862 of file cppast.h.

◆ templSpec_

CppTemplateParamListPtr CppFwdClsDecl::templSpec_
private

Definition at line 906 of file cppast.h.


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