#include <VarState.h>
Public Member Functions | |
ESIVariableQuery (char const *uri) | |
~ESIVariableQuery () override | |
void | eval (ESIVarState &state, char const *, char const *) const override |
char const * | queryString () const |
struct _query_elem const * | queryVector () const |
size_t const & | queryElements () const |
Public Attributes | |
struct _query_elem * | query |
size_t | query_sz |
size_t | query_elements |
char * | query_string |
Detailed Description
Definition at line 121 of file VarState.h.
Constructor & Destructor Documentation
◆ ESIVariableQuery()
ESIVariableQuery::ESIVariableQuery | ( | char const * | uri | ) |
Definition at line 163 of file VarState.cc.
References assert, debugs, memReallocBuf(), query, query_elements, query_string, query_sz, _query_elem::val, _query_elem::var, xstrdup, and xstrndup().
◆ ~ESIVariableQuery()
|
override |
Definition at line 226 of file VarState.cc.
References memFreeBuf(), query, query_elements, query_string, query_sz, safe_free, _query_elem::val, and _query_elem::var.
Member Function Documentation
◆ eval()
|
overridevirtual |
Reimplemented from ESIVarState::Variable.
Definition at line 437 of file VarState.cc.
References ESIVarState::getOutput(), ESISegment::ListAppend(), queryElements(), queryString(), queryVector(), _query_elem::val, and _query_elem::var.
◆ queryElements()
size_t const & ESIVariableQuery::queryElements | ( | ) | const |
Definition at line 93 of file VarState.cc.
Referenced by eval().
◆ queryString()
char const * ESIVariableQuery::queryString | ( | ) | const |
Definition at line 82 of file VarState.cc.
Referenced by eval().
◆ queryVector()
struct _query_elem const * ESIVariableQuery::queryVector | ( | ) | const |
Definition at line 88 of file VarState.cc.
Referenced by eval().
Member Data Documentation
◆ query
struct _query_elem* ESIVariableQuery::query |
Definition at line 133 of file VarState.h.
Referenced by ESIVariableQuery(), and ~ESIVariableQuery().
◆ query_elements
size_t ESIVariableQuery::query_elements |
Definition at line 135 of file VarState.h.
Referenced by ESIVariableQuery(), and ~ESIVariableQuery().
◆ query_string
char* ESIVariableQuery::query_string |
Definition at line 136 of file VarState.h.
Referenced by ESIVariableQuery(), and ~ESIVariableQuery().
◆ query_sz
size_t ESIVariableQuery::query_sz |
Definition at line 134 of file VarState.h.
Referenced by ESIVariableQuery(), and ~ESIVariableQuery().
The documentation for this class was generated from the following files:
- src/esi/VarState.h
- src/esi/VarState.cc