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

Base class of constructor, destructor, and functions. More...

#include <cppast.h>

Inheritance diagram for CppFunctionBase:
Inheritance graph
Collaboration diagram for CppFunctionBase:
Collaboration graph

Public Member Functions

std::uint32_t attr ()
 
void addAttr (std::uint32_t _attr)
 
bool hasAttr (std::uint32_t _attr)
 
std::string & decor1 ()
 
void decor1 (std::string _decor)
 
std::string & decor2 ()
 
void decor2 (std::string _decor)
 
CppTemplateParamListtemplateParamList ()
 
void templateParamList (CppTemplateParamList *templParamList)
 
- Public Member Functions inherited from CppFuncLikeBase
CppFuncThrowSpecthrowSpec ()
 
void throwSpec (CppFuncThrowSpec *_throwSpec)
 
CppCompounddefn ()
 
void defn (CppCompound *_defn)
 
- 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_
 
- Public Attributes inherited from CppObj
CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Protected Member Functions

 CppFunctionBase (CppObjType type, CppAccessType accessType, std::string name, std::uint32_t attr)
 
- Protected Member Functions inherited from CppFuncLikeBase
 CppFuncLikeBase (CppObjType type, CppAccessType accessType)
 

Private Attributes

std::uint32_t attr_
 
std::string decor1_
 
std::string decor2_
 
CppTemplateParamListPtr templSpec_
 

Detailed Description

Base class of constructor, destructor, and functions.

Definition at line 1194 of file cppast.h.

Constructor & Destructor Documentation

◆ CppFunctionBase()

CppFunctionBase::CppFunctionBase ( CppObjType  type,
CppAccessType  accessType,
std::string  name,
std::uint32_t  attr 
)
inlineprotected

Definition at line 1239 of file cppast.h.

Member Function Documentation

◆ addAttr()

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

Definition at line 1202 of file cppast.h.

◆ attr()

std::uint32_t CppFunctionBase::attr ( )
inline

Definition at line 1198 of file cppast.h.

Here is the caller graph for this function:

◆ decor1() [1/2]

std::string & CppFunctionBase::decor1 ( )
inline

Definition at line 1211 of file cppast.h.

Here is the caller graph for this function:

◆ decor1() [2/2]

void CppFunctionBase::decor1 ( std::string  _decor)
inline

Definition at line 1215 of file cppast.h.

◆ decor2() [1/2]

std::string & CppFunctionBase::decor2 ( )
inline

Definition at line 1220 of file cppast.h.

Here is the caller graph for this function:

◆ decor2() [2/2]

void CppFunctionBase::decor2 ( std::string  _decor)
inline

Definition at line 1224 of file cppast.h.

◆ hasAttr()

bool CppFunctionBase::hasAttr ( std::uint32_t  _attr)
inline

Definition at line 1206 of file cppast.h.

Here is the caller graph for this function:

◆ templateParamList() [1/2]

CppTemplateParamList * CppFunctionBase::templateParamList ( )
inline

Definition at line 1229 of file cppast.h.

Here is the caller graph for this function:

◆ templateParamList() [2/2]

void CppFunctionBase::templateParamList ( CppTemplateParamList templParamList)
inline

Definition at line 1233 of file cppast.h.

Member Data Documentation

◆ attr_

std::uint32_t CppFunctionBase::attr_
private

Definition at line 1247 of file cppast.h.

◆ decor1_

std::string CppFunctionBase::decor1_
private

Definition at line 1248 of file cppast.h.

◆ decor2_

std::string CppFunctionBase::decor2_
private

Definition at line 1249 of file cppast.h.

◆ name_

std::string CppFunctionBase::name_

Definition at line 1196 of file cppast.h.

◆ templSpec_

CppTemplateParamListPtr CppFunctionBase::templSpec_
private

Definition at line 1250 of file cppast.h.


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