CppParser
Loading...
Searching...
No Matches
cppobj-info-accessor.h File Reference
#include "cppast.h"
#include "cppconst.h"
#include "cpputil.h"
Include dependency graph for cppobj-info-accessor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CppAccessType accessType (CppObj *cppObj)
 
CppAccessType accessType (CppObjPtr &cppObj)
 
bool isFunction (CppObj *cppObj)
 
bool isFunction (CppObjPtr &cppObj)
 
bool isFunctionPtr (CppObj *cppObj)
 
bool isFunctionPtr (CppObjPtr &cppObj)
 
bool isFunctionLike (CppObj *cppObj)
 
bool isFunctionLike (CppObjPtr &cppObj)
 
bool isDestructor (CppObj *cppObj)
 
bool isDestructor (CppObjPtr &cppObj)
 
bool isEnum (CppObj *cppObj)
 
bool isEnum (CppObjPtr cppObj)
 
bool isTypedefName (CppObj *cppObj)
 
bool isTypedefName (CppObjPtr &cppObj)
 
bool isUsingDecl (CppObj *cppObj)
 
bool isUsingDecl (CppObjPtr &cppObj)
 
bool isCompound (CppObj *cppObj)
 
bool isCompound (CppObjPtr &cppObj)
 
bool isFwdClsDecl (CppObj *cppObj)
 
bool isFwdClsDecl (CppObjPtr &cppObj)
 
bool isNamespaceLike (CppObj *cppObj)
 
bool isNamespaceLike (CppObjPtr &cppObj)
 
bool isClassLike (CppObj *cppObj)
 
bool isClassLike (CppObjPtr &cppObj)
 
bool isTypedefLike (CppObj *cppObj)
 
bool isTypedefLike (CppObjPtr &cppObj)
 
bool isPreProcessorType (CppObj *cppObj)
 
bool isPreProcessorType (CppObjPtr &cppObj)
 
bool isVar (CppObj *cppObj)
 
bool isVar (CppObjPtr &cppObj)
 
bool isVarList (CppObj *cppObj)
 
bool isVarList (CppObjPtr &cppObj)
 
bool isExpr (CppObj *cppObj)
 
bool isExpr (CppObjPtr &cppObj)
 
bool isPublic (CppObj *cppObj)
 
bool isPublic (CppObjPtr &cppObj)
 
bool isProtected (CppObj *cppObj)
 
bool isProtected (CppObjPtr &cppObj)
 
bool isPrivate (CppObj *cppObj)
 
bool isPrivate (CppObjPtr &cppObj)
 
CppCompoundroot (CppObj *cppObj)
 
CppCompoundroot (CppObjPtr &cppObj)
 

Function Documentation

◆ accessType() [1/2]

CppAccessType accessType ( CppObj cppObj)
inline

Definition at line 30 of file cppobj-info-accessor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ accessType() [2/2]

CppAccessType accessType ( CppObjPtr cppObj)
inline

Definition at line 37 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isClassLike() [1/2]

bool isClassLike ( CppObj cppObj)
inline

Definition at line 146 of file cppobj-info-accessor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isClassLike() [2/2]

bool isClassLike ( CppObjPtr cppObj)
inline

Definition at line 154 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isCompound() [1/2]

bool isCompound ( CppObj cppObj)
inline

Definition at line 113 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isCompound() [2/2]

bool isCompound ( CppObjPtr cppObj)
inline

Definition at line 118 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isDestructor() [1/2]

bool isDestructor ( CppObj cppObj)
inline

Definition at line 73 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isDestructor() [2/2]

bool isDestructor ( CppObjPtr cppObj)
inline

Definition at line 78 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isEnum() [1/2]

bool isEnum ( CppObj cppObj)
inline

Definition at line 83 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isEnum() [2/2]

bool isEnum ( CppObjPtr  cppObj)
inline

Definition at line 88 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isExpr() [1/2]

bool isExpr ( CppObj cppObj)
inline

Definition at line 200 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isExpr() [2/2]

bool isExpr ( CppObjPtr cppObj)
inline

Definition at line 205 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isFunction() [1/2]

bool isFunction ( CppObj cppObj)
inline

Definition at line 42 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isFunction() [2/2]

bool isFunction ( CppObjPtr cppObj)
inline

Definition at line 47 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isFunctionLike() [1/2]

bool isFunctionLike ( CppObj cppObj)
inline

Definition at line 62 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isFunctionLike() [2/2]

bool isFunctionLike ( CppObjPtr cppObj)
inline

Definition at line 68 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isFunctionPtr() [1/2]

bool isFunctionPtr ( CppObj cppObj)
inline

Definition at line 52 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isFunctionPtr() [2/2]

bool isFunctionPtr ( CppObjPtr cppObj)
inline

Definition at line 57 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isFwdClsDecl() [1/2]

bool isFwdClsDecl ( CppObj cppObj)
inline

Definition at line 123 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isFwdClsDecl() [2/2]

bool isFwdClsDecl ( CppObjPtr cppObj)
inline

Definition at line 128 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isNamespaceLike() [1/2]

bool isNamespaceLike ( CppObj cppObj)
inline

Definition at line 133 of file cppobj-info-accessor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isNamespaceLike() [2/2]

bool isNamespaceLike ( CppObjPtr cppObj)
inline

Definition at line 141 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isPreProcessorType() [1/2]

bool isPreProcessorType ( CppObj cppObj)
inline

Definition at line 169 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isPreProcessorType() [2/2]

bool isPreProcessorType ( CppObjPtr cppObj)
inline

Definition at line 175 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isPrivate() [1/2]

bool isPrivate ( CppObj cppObj)
inline

Definition at line 230 of file cppobj-info-accessor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isPrivate() [2/2]

bool isPrivate ( CppObjPtr cppObj)
inline

Definition at line 235 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isProtected() [1/2]

bool isProtected ( CppObj cppObj)
inline

Definition at line 220 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isProtected() [2/2]

bool isProtected ( CppObjPtr cppObj)
inline

Definition at line 225 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isPublic() [1/2]

bool isPublic ( CppObj cppObj)
inline

Definition at line 210 of file cppobj-info-accessor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isPublic() [2/2]

bool isPublic ( CppObjPtr cppObj)
inline

Definition at line 215 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isTypedefLike() [1/2]

bool isTypedefLike ( CppObj cppObj)
inline

Definition at line 159 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isTypedefLike() [2/2]

bool isTypedefLike ( CppObjPtr cppObj)
inline

Definition at line 164 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isTypedefName() [1/2]

bool isTypedefName ( CppObj cppObj)
inline

Definition at line 93 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isTypedefName() [2/2]

bool isTypedefName ( CppObjPtr cppObj)
inline

Definition at line 98 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isUsingDecl() [1/2]

bool isUsingDecl ( CppObj cppObj)
inline

Definition at line 103 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isUsingDecl() [2/2]

bool isUsingDecl ( CppObjPtr cppObj)
inline

Definition at line 108 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isVar() [1/2]

bool isVar ( CppObj cppObj)
inline

Definition at line 180 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isVar() [2/2]

bool isVar ( CppObjPtr cppObj)
inline

Definition at line 185 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ isVarList() [1/2]

bool isVarList ( CppObj cppObj)
inline

Definition at line 190 of file cppobj-info-accessor.h.

Here is the caller graph for this function:

◆ isVarList() [2/2]

bool isVarList ( CppObjPtr cppObj)
inline

Definition at line 195 of file cppobj-info-accessor.h.

Here is the call graph for this function:

◆ root() [1/2]

CppCompound * root ( CppObj cppObj)
inline

Definition at line 240 of file cppobj-info-accessor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ root() [2/2]

CppCompound * root ( CppObjPtr cppObj)
inline

Definition at line 249 of file cppobj-info-accessor.h.

Here is the call graph for this function: