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

Go to the source code of this file.

Functions

std::uint8_t ptrLevel (CppVarType *varType)
 
std::uint8_t ptrLevel (std::unique_ptr< CppVarType > &varType)
 
std::uint8_t ptrLevel (CppVarTypeEPtr varType)
 
CppRefType refType (CppVarType *varType)
 
CppRefType refType (std::unique_ptr< CppVarType > &varType)
 
CppRefType refType (CppVarTypeEPtr varType)
 
std::uint8_t effectivePtrLevel (CppVarTypeEPtr &varType)
 
std::string & baseType (CppVarType *varType)
 
std::string & baseType (std::unique_ptr< CppVarType > &varType)
 
std::string & baseType (CppVarTypeEPtr varType)
 
bool usesTemplateType (std::string &varTypeName)
 
bool usesTemplateType (CppVarTypeEPtr varType)
 
bool isVoid (CppVarType *varType)
 
bool isVoid (std::unique_ptr< CppVarType > &varType)
 
bool isByRef (CppVarType *varType)
 
bool isByRef (std::unique_ptr< CppVarType > &varType)
 
bool isByRef (CppVarTypeEPtr varType)
 
bool isByRValueRef (CppVarType *varType)
 
bool isByRValueRef (std::unique_ptr< CppVarType > &varType)
 
bool isByRValueRef (CppVarTypeEPtr varType)
 
bool isConst (CppVarType *varType)
 
bool isConst (std::unique_ptr< CppVarType > &varType)
 
bool isConst (CppVarTypeEPtr varType)
 
bool isByValue (CppVarType *varType)
 
bool isByValue (std::unique_ptr< CppVarType > &varType)
 
bool isByValue (CppVarTypeEPtr varType)
 
std::string & baseType (CppVar *var)
 
std::string & baseType (std::unique_ptr< CppVar > &var)
 
std::string & baseType (CppVarEPtr var)
 
std::uint8_t ptrLevel (CppVar *var)
 
std::uint8_t ptrLevel (std::unique_ptr< CppVar > &var)
 
std::uint8_t ptrLevel (CppVarEPtr var)
 
CppRefType refType (CppVar *var)
 
CppRefType refType (std::unique_ptr< CppVar > &var)
 
CppRefType refType (CppVarEPtr var)
 
std::string & name (CppVar *var)
 
std::string & name (std::unique_ptr< CppVar > &var)
 
std::string & name (CppVarEPtr var)
 
bool isByRef (CppVar *var)
 
bool isByRef (std::unique_ptr< CppVar > &var)
 
bool isByRef (CppVarEPtr var)
 
bool isByRValueRef (CppVar *var)
 
bool isByRValueRef (std::unique_ptr< CppVar > &var)
 
bool isByRValueRef (CppVarEPtr var)
 
bool isConst (CppVar *var)
 
bool isConst (std::unique_ptr< CppVar > &var)
 
bool isConst (CppVarEPtr var)
 
bool isByValue (CppVar *var)
 
bool isByValue (std::unique_ptr< CppVar > &var)
 
bool isByValue (CppVarEPtr var)
 

Function Documentation

◆ baseType() [1/6]

std::string & baseType ( CppVar var)
inline

Definition at line 179 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ baseType() [2/6]

std::string & baseType ( CppVarEPtr  var)
inline

Definition at line 189 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ baseType() [3/6]

std::string & baseType ( CppVarType varType)
inline

Definition at line 76 of file cppvar-info-accessor.h.

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

◆ baseType() [4/6]

std::string & baseType ( CppVarTypeEPtr  varType)
inline

Definition at line 86 of file cppvar-info-accessor.h.

◆ baseType() [5/6]

std::string & baseType ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 184 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ baseType() [6/6]

std::string & baseType ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 81 of file cppvar-info-accessor.h.

◆ effectivePtrLevel()

std::uint8_t effectivePtrLevel ( CppVarTypeEPtr varType)
inline

Definition at line 61 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRef() [1/6]

bool isByRef ( CppVar var)
inline

Definition at line 239 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRef() [2/6]

bool isByRef ( CppVarEPtr  var)
inline

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

Here is the call graph for this function:

◆ isByRef() [3/6]

bool isByRef ( CppVarType varType)
inline

Definition at line 117 of file cppvar-info-accessor.h.

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

◆ isByRef() [4/6]

bool isByRef ( CppVarTypeEPtr  varType)
inline

Definition at line 127 of file cppvar-info-accessor.h.

◆ isByRef() [5/6]

bool isByRef ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 244 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRef() [6/6]

bool isByRef ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 122 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRValueRef() [1/6]

bool isByRValueRef ( CppVar var)
inline

Definition at line 254 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRValueRef() [2/6]

bool isByRValueRef ( CppVarEPtr  var)
inline

Definition at line 264 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRValueRef() [3/6]

bool isByRValueRef ( CppVarType varType)
inline

Definition at line 132 of file cppvar-info-accessor.h.

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

◆ isByRValueRef() [4/6]

bool isByRValueRef ( CppVarTypeEPtr  varType)
inline

Definition at line 142 of file cppvar-info-accessor.h.

◆ isByRValueRef() [5/6]

bool isByRValueRef ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 259 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByRValueRef() [6/6]

bool isByRValueRef ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 137 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByValue() [1/6]

bool isByValue ( CppVar var)
inline

Definition at line 284 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByValue() [2/6]

bool isByValue ( CppVarEPtr  var)
inline

Definition at line 294 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByValue() [3/6]

bool isByValue ( CppVarType varType)
inline

Definition at line 162 of file cppvar-info-accessor.h.

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

◆ isByValue() [4/6]

bool isByValue ( CppVarTypeEPtr  varType)
inline

Definition at line 173 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByValue() [5/6]

bool isByValue ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 289 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isByValue() [6/6]

bool isByValue ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 168 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isConst() [1/6]

bool isConst ( CppVar var)
inline

Definition at line 269 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isConst() [2/6]

bool isConst ( CppVarEPtr  var)
inline

Definition at line 279 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isConst() [3/6]

bool isConst ( CppVarType varType)
inline

Definition at line 147 of file cppvar-info-accessor.h.

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

◆ isConst() [4/6]

bool isConst ( CppVarTypeEPtr  varType)
inline

Definition at line 157 of file cppvar-info-accessor.h.

◆ isConst() [5/6]

bool isConst ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 274 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isConst() [6/6]

bool isConst ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 152 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ isVoid() [1/2]

bool isVoid ( CppVarType varType)
inline

Definition at line 101 of file cppvar-info-accessor.h.

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

◆ isVoid() [2/2]

bool isVoid ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 112 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ name() [1/3]

std::string & name ( CppVar var)
inline

Definition at line 224 of file cppvar-info-accessor.h.

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

◆ name() [2/3]

std::string & name ( CppVarEPtr  var)
inline

Definition at line 234 of file cppvar-info-accessor.h.

◆ name() [3/3]

std::string & name ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 229 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ ptrLevel() [1/6]

std::uint8_t ptrLevel ( CppVar var)
inline

Definition at line 194 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ ptrLevel() [2/6]

std::uint8_t ptrLevel ( CppVarEPtr  var)
inline

Definition at line 204 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ ptrLevel() [3/6]

std::uint8_t ptrLevel ( CppVarType varType)
inline

Definition at line 31 of file cppvar-info-accessor.h.

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

◆ ptrLevel() [4/6]

std::uint8_t ptrLevel ( CppVarTypeEPtr  varType)
inline

Definition at line 41 of file cppvar-info-accessor.h.

◆ ptrLevel() [5/6]

std::uint8_t ptrLevel ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 199 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ ptrLevel() [6/6]

std::uint8_t ptrLevel ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 36 of file cppvar-info-accessor.h.

◆ refType() [1/6]

CppRefType refType ( CppVar var)
inline

Definition at line 209 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ refType() [2/6]

CppRefType refType ( CppVarEPtr  var)
inline

Definition at line 219 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ refType() [3/6]

CppRefType refType ( CppVarType varType)
inline

Definition at line 46 of file cppvar-info-accessor.h.

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

◆ refType() [4/6]

CppRefType refType ( CppVarTypeEPtr  varType)
inline

Definition at line 56 of file cppvar-info-accessor.h.

◆ refType() [5/6]

CppRefType refType ( std::unique_ptr< CppVar > &  var)
inline

Definition at line 214 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ refType() [6/6]

CppRefType refType ( std::unique_ptr< CppVarType > &  varType)
inline

Definition at line 51 of file cppvar-info-accessor.h.

◆ usesTemplateType() [1/2]

bool usesTemplateType ( CppVarTypeEPtr  varType)
inline

Definition at line 96 of file cppvar-info-accessor.h.

Here is the call graph for this function:

◆ usesTemplateType() [2/2]

bool usesTemplateType ( std::string &  varTypeName)
inline

Definition at line 91 of file cppvar-info-accessor.h.

Here is the caller graph for this function: