The CallContext
Class Reference
Represents the call context. More...
Declaration
class CallContext { ... }
Included Headers
#include <src/scopedtypevariant.h>
Public Constructors Index
CallContext () | |
Public Member Functions Index
void | setScope (const ScopedTypeVariant &stv) |
void | pushScope (const QCString &name_, const QCString &type_, int bracketCount_) |
void | popScope (QCString &name_, QCString &type_, int &bracketCount_) |
void | clear () |
const ScopedTypeVariant | getScope () const |
Private Member Attributes Index
std::vector< Ctx > | m_stvList |
Description
Represents the call context.
Definition at line 139 of file scopedtypevariant.h.
Public Constructors
CallContext()
| inline |
Definition at line 151 of file scopedtypevariant.h.
Reference clear.
Public Member Functions
clear()
| inline |
Definition at line 175 of file scopedtypevariant.h.
Reference m_stvList.
Referenced by CallContext.
getScope()
| inline |
Definition at line 180 of file scopedtypevariant.h.
Reference m_stvList.
popScope()
Definition at line 164 of file scopedtypevariant.h.
165 {
166 if (m_stvList.size()>1)
167 {
169 name_ = ctx.name;
170 type_ = ctx.type;
171 bracketCount_ = ctx.bracketCount;
172 m_stvList.pop_back();
173 }
174 }
References CallContext::Ctx::bracketCount, m_stvList, CallContext::Ctx::name and CallContext::Ctx::type.
pushScope()
setScope()
| inline |
Definition at line 155 of file scopedtypevariant.h.
References m_stvList and CallContext::Ctx::stv.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.