#include <Context.h>
|
static Context & | global () |
| The global default context of the seexpr.
|
|
Definition at line 24 of file Context.h.
◆ ParameterMap
◆ Context() [1/2]
SeExpr2::Context::Context |
( |
const Context & | | ) |
|
|
private |
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/2]
Context::Context |
( |
const Context * | parent | ) |
|
|
private |
◆ createChildContext()
Context * Context::createChildContext |
( |
| ) |
const |
Create a context that is a child of this context.
Definition at line 27 of file Context.cpp.
References Context().
◆ getParent()
const Context * SeExpr2::Context::getParent |
( |
| ) |
const |
|
inline |
◆ global()
The global default context of the seexpr.
Definition at line 29 of file Context.cpp.
References context.
◆ hasContext()
bool SeExpr2::Context::hasContext |
( |
const Context * | context | ) |
const |
|
inline |
◆ lookupParameter()
bool SeExpr2::Context::lookupParameter |
( |
const std::string & | parameterName, |
|
|
std::string & | value ) const |
|
inline |
◆ operator=()
◆ 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 23 of file Context.cpp.
References _parameters, and value().
◆ setParent()
void SeExpr2::Context::setParent |
( |
const Context * | context | ) |
|
|
inline |
◆ _parameters
◆ _parent
const Context* SeExpr2::Context::_parent |
|
private |
The documentation for this class was generated from the following files:
- /tmp/seexpr-20240826-5023-3mb21j/SeExpr-3.0.1/src/SeExpr2/Context.h
- /tmp/seexpr-20240826-5023-3mb21j/SeExpr-3.0.1/src/SeExpr2/Context.cpp