Qt 4.8
|
Base class for all DynamicContext classes that needs to supply variables. It has a new frame for local caches, position iterators, expressions, range variables, template parameters but notably continues to delegate global caches. More...
#include <qstackcontextbase_p.h>
Public Functions | |
virtual Expression::Ptr | expressionVariable (const VariableSlotID slotNumber) const |
virtual ItemCacheCell & | itemCacheCell (const VariableSlotID slot) |
virtual ItemSequenceCacheCell::Vector & | itemSequenceCacheCells (const VariableSlotID slot) |
virtual Item::Iterator::Ptr | positionIterator (const VariableSlotID slot) const |
virtual Item | rangeVariable (const VariableSlotID slotNumber) const |
virtual void | setExpressionVariable (const VariableSlotID slotNumber, const Expression::Ptr &newValue) |
virtual void | setPositionIterator (const VariableSlotID slot, const Item::Iterator::Ptr &newValue) |
virtual void | setRangeVariable (const VariableSlotID slotNumber, const Item &newValue) |
template<typename VectorType , typename UnitType > | |
void | setSlotVariable (const VariableSlotID slot, const UnitType &newValue, VectorType &container) const |
StackContextBase () | |
StackContextBase (const DynamicContext::Ptr &prevContext) | |
virtual DynamicContext::TemplateParameterHash & | templateParameterStore () |
Protected Functions | |
template<typename VectorType , typename UnitType > | |
void | setSlotVariable (const VariableSlotID slot, const UnitType &newValue, VectorType &container) const |
Base class for all DynamicContext classes that needs to supply variables. It has a new frame for local caches, position iterators, expressions, range variables, template parameters but notably continues to delegate global caches.
Definition at line 76 of file qstackcontextbase_p.h.
QPatternist::StackContextBase< TSuperClass >::StackContextBase | ( | ) |
Definition at line 49 of file qstackcontextbase.cpp.
QPatternist::StackContextBase< TSuperClass >::StackContextBase | ( | const DynamicContext::Ptr & | prevContext | ) |
Construct a StackContextBase and passes prevContext
to its super class. This constructor is typically used when the super class is DelegatingDynamicContext.
Definition at line 59 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 97 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 71 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 80 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 105 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 89 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 135 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 142 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 128 of file qstackcontextbase.cpp.
|
inlineprotected |
This function is protected, although it only is used in this class. I don't know why it has to be, but it won't compile when private.
Definition at line 115 of file qstackcontextbase_p.h.
|
inline |
Definition at line 114 of file qstackcontextbase.cpp.
|
virtual |
Definition at line 149 of file qstackcontextbase.cpp.
|
private |
Definition at line 115 of file qstackcontextbase_p.h.
|
private |
Definition at line 117 of file qstackcontextbase_p.h.
|
private |
Definition at line 118 of file qstackcontextbase_p.h.
|
private |
Definition at line 116 of file qstackcontextbase_p.h.
|
private |
Definition at line 114 of file qstackcontextbase_p.h.
|
private |
Definition at line 119 of file qstackcontextbase_p.h.