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

#include <ctu.h>

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

Public Member Functions

 NestedCall ()=default
 
 NestedCall (std::string myId, nonneg int myArgNr, const std::string &callId, nonneg int callArgnr, const std::string &callFunctionName, const Location &location)
 
 NestedCall (const Tokenizer &tokenizer, const Function *myFunction, const Token *callToken)
 
std::string toXmlString () const
 
bool loadFromXml (const tinyxml2::XMLElement *xmlElement)
 
- Public Member Functions inherited from CTU::FileInfo::CallBase
 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 myId
 
nonneg int myArgNr {}
 
- Public Attributes inherited from CTU::FileInfo::CallBase
std::string callId
 
int callArgNr {}
 
std::string callFunctionName
 
Location location
 

Additional Inherited Members

- Protected Member Functions inherited from CTU::FileInfo::CallBase
std::string toBaseXmlString () const
 
bool loadBaseFromXml (const tinyxml2::XMLElement *xmlElement)
 

Detailed Description

Definition at line 108 of file ctu.h.

Constructor & Destructor Documentation

◆ NestedCall() [1/3]

CTU::FileInfo::NestedCall::NestedCall ( )
default

◆ NestedCall() [2/3]

CTU::FileInfo::NestedCall::NestedCall ( std::string  myId,
nonneg int  myArgNr,
const std::string &  callId,
nonneg int  callArgnr,
const std::string &  callFunctionName,
const Location location 
)
inline

Definition at line 112 of file ctu.h.

◆ NestedCall() [3/3]

CTU::FileInfo::NestedCall::NestedCall ( const Tokenizer tokenizer,
const Function myFunction,
const Token callToken 
)

Definition at line 165 of file ctu.cpp.

Member Function Documentation

◆ loadFromXml()

bool CTU::FileInfo::NestedCall::loadFromXml ( const tinyxml2::XMLElement *  xmlElement)

Definition at line 222 of file ctu.cpp.

References ATTR_MY_ARGNR, ATTR_MY_ID, error, readAttrInt(), and readAttrString().

Referenced by CTU::FileInfo::loadFromXml().

◆ toXmlString()

std::string CTU::FileInfo::NestedCall::toXmlString ( ) const

Definition at line 125 of file ctu.cpp.

References ATTR_MY_ARGNR, and ATTR_MY_ID.

Member Data Documentation

◆ myArgNr

nonneg int CTU::FileInfo::NestedCall::myArgNr {}

Definition at line 123 of file ctu.h.

Referenced by CTU::getFileInfo().

◆ myId

std::string CTU::FileInfo::NestedCall::myId

Definition at line 122 of file ctu.h.


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