#include <Context.h>
|
using | ParameterMap = std::unordered_map< std::string, std::string > |
|
Definition at line 14 of file Context.h.
◆ ParameterMap
◆ ~Context()
KSeExpr::Context::~Context |
( |
| ) |
|
|
default |
◆ Context() [1/3]
KSeExpr::Context::Context |
( |
const Context & |
| ) |
|
|
delete |
Private constructor and un-implemented default/copy/assignment (it is required that we derive from the global context via createChildContext)
Referenced by createChildContext().
◆ Context() [2/3]
KSeExpr::Context::Context |
( |
Context && |
| ) |
|
|
delete |
◆ Context() [3/3]
Context::Context |
( |
const Context * |
parent | ) |
|
|
private |
◆ createChildContext()
Context * Context::createChildContext |
( |
| ) |
const |
Create a context that is a child of this context.
Definition at line 20 of file Context.cpp.
References Context().
◆ getParent()
const Context* KSeExpr::Context::getParent |
( |
| ) |
const |
|
inline |
◆ global()
The global default context of the seexpr.
Definition at line 25 of file Context.cpp.
◆ hasContext()
bool KSeExpr::Context::hasContext |
( |
const Context * |
context | ) |
const |
|
inline |
◆ lookupParameter()
bool KSeExpr::Context::lookupParameter |
( |
const std::string & |
parameterName, |
|
|
std::string & |
value |
|
) |
| const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setParameter()
void Context::setParameter |
( |
const std::string & |
parameterName, |
|
|
const std::string & |
value |
|
) |
| |
Set a parameter. NOTE: this must be done when no threads are accessing lookupParameter for safety.
Definition at line 15 of file Context.cpp.
References _parameters.
◆ setParent()
void KSeExpr::Context::setParent |
( |
const Context * |
context | ) |
|
|
inline |
◆ _parameters
◆ _parent
const Context* KSeExpr::Context::_parent {nullptr} |
|
private |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.eohk0rvv/kseexpr-4.0.4.0/src/KSeExpr/Context.h
- /var/cache/acbs/build/acbs.eohk0rvv/kseexpr-4.0.4.0/src/KSeExpr/Context.cpp