#include <cScriptSourceCurrent.h>
Track the current script source (on this thread) for a scriptable data source. for debug logging of failures. can be resource object, script section/line cScriptSection or database/table cSQLStatementQ or other. Keep separate from cExpressionContext or cScriptContext even though they are somewhat similar. This is usually based on IScriptableEnumerator. Thread Safe.
- Note
- This should ONLY be stack based !
◆ cScriptSourceCurrent()
GrayLib::cScriptSourceCurrent::cScriptSourceCurrent |
( |
cStringA |
sScriptSourceKey | ) |
|
|
explicit |
◆ ~cScriptSourceCurrent()
GrayLib::cScriptSourceCurrent::~cScriptSourceCurrent |
( |
| ) |
|
|
virtual |
◆ get_ScriptSourceCurrent()
Are we in the process or reading some script? if so which one?
◆ get_SourceDesc()
virtual cStringA GrayLib::cScriptSourceCurrent::get_SourceDesc |
( |
| ) |
const |
|
inlinevirtual |
◆ put_ScriptSourceKey()
void GrayLib::cScriptSourceCurrent::put_ScriptSourceKey |
( |
cStringA |
sScriptSourceKey | ) |
|
|
inline |
◆ m_sScriptSourceKey
cStringA GrayLib::cScriptSourceCurrent::m_sScriptSourceKey |
|
protected |
arbitrary link to the source. (for debugging purposes)
The documentation for this class was generated from the following files: