Cppcheck
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
CTU::FileInfo::CallBase Class Reference

#include <ctu.h>

Inheritance diagram for CTU::FileInfo::CallBase:
CTU::FileInfo::FunctionCall CTU::FileInfo::NestedCall

Public Member Functions

 CallBase ()=default
 
 CallBase (std::string callId, int callArgNr, std::string callFunctionName, Location loc)
 
 CallBase (const Tokenizer &tokenizer, const Token *callToken)
 
virtual ~CallBase ()=default
 
 CallBase (const CallBase &)=default
 

Public Attributes

std::string callId
 
int callArgNr {}
 
std::string callFunctionName
 
Location location
 

Protected Member Functions

std::string toBaseXmlString () const
 
bool loadBaseFromXml (const tinyxml2::XMLElement *xmlElement)
 

Detailed Description

Definition at line 78 of file ctu.h.

Constructor & Destructor Documentation

◆ CallBase() [1/4]

CTU::FileInfo::CallBase::CallBase ( )
default

◆ CallBase() [2/4]

CTU::FileInfo::CallBase::CallBase ( std::string  callId,
int  callArgNr,
std::string  callFunctionName,
Location  loc 
)
inline

Definition at line 81 of file ctu.h.

◆ CallBase() [3/4]

CTU::FileInfo::CallBase::CallBase ( const Tokenizer tokenizer,
const Token callToken 
)

Definition at line 159 of file ctu.cpp.

◆ ~CallBase()

virtual CTU::FileInfo::CallBase::~CallBase ( )
virtualdefault

◆ CallBase() [4/4]

CTU::FileInfo::CallBase::CallBase ( const CallBase )
default

Member Function Documentation

◆ loadBaseFromXml()

bool CTU::FileInfo::CallBase::loadBaseFromXml ( const tinyxml2::XMLElement *  xmlElement)
protected

◆ toBaseXmlString()

std::string CTU::FileInfo::CallBase::toBaseXmlString ( ) const
protected

Member Data Documentation

◆ callArgNr

int CTU::FileInfo::CallBase::callArgNr {}

Definition at line 88 of file ctu.h.

Referenced by findPath(), and CTU::getFileInfo().

◆ callFunctionName

std::string CTU::FileInfo::CallBase::callFunctionName

Definition at line 89 of file ctu.h.

Referenced by CTU::FileInfo::getErrorPath(), and CTU::getFileInfo().

◆ callId

std::string CTU::FileInfo::CallBase::callId

Definition at line 87 of file ctu.h.

Referenced by CTU::getFileInfo().

◆ location

Location CTU::FileInfo::CallBase::location

Definition at line 90 of file ctu.h.

Referenced by CTU::FileInfo::getErrorPath(), and CTU::getFileInfo().


The documentation for this class was generated from the following files: