CppParser
Loading...
Searching...
No Matches
CppObj Struct Referenceabstract

An abstract class that is used as base class of all other classes. More...

#include <cppast.h>

Inheritance diagram for CppObj:
Inheritance graph
Collaboration diagram for CppObj:
Collaboration graph

Public Member Functions

 CppObj (CppObjType type, CppAccessType accessType)
 
CppCompoundowner ()
 
void owner (CppCompound *o)
 
virtual void accept (CppVisitorBase *v)=0
 
virtual ~CppObj ()
 

Public Attributes

CppObjType objType_
 
CppAccessType accessType_
 All objects do not need this. More...
 

Private Attributes

CppCompoundowner_
 

Detailed Description

An abstract class that is used as base class of all other classes.

Definition at line 133 of file cppast.h.

Constructor & Destructor Documentation

◆ CppObj()

CppObj::CppObj ( CppObjType  type,
CppAccessType  accessType 
)
inline

Definition at line 138 of file cppast.h.

◆ ~CppObj()

virtual CppObj::~CppObj ( )
inlinevirtual

Definition at line 157 of file cppast.h.

Member Function Documentation

◆ accept()

◆ owner() [1/2]

CppCompound * CppObj::owner ( )
inline

Definition at line 145 of file cppast.h.

Here is the caller graph for this function:

◆ owner() [2/2]

void CppObj::owner ( CppCompound o)
inline

Definition at line 149 of file cppast.h.

Member Data Documentation

◆ accessType_

CppAccessType CppObj::accessType_

All objects do not need this.

Definition at line 136 of file cppast.h.

◆ objType_

CppObjType CppObj::objType_

Definition at line 135 of file cppast.h.

◆ owner_

CppCompound* CppObj::owner_
private

Definition at line 160 of file cppast.h.


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