used inside VariableStore to implement variable scoping
More...
#include <Scope.hpp>
|
| | Scope (XPath2MemoryManager *memMgr, Type type) |
| | constructor. More...
|
| |
| | ~Scope () |
| |
| void | clear () |
| |
| Type | getType () const |
| |
| VarHashEntry< TYPE > * | get (unsigned int nsID, const XMLCh *name) |
| |
| void | put (unsigned int nsID, const XMLCh *name, VarHashEntry< TYPE > *value) |
| |
| void | remove (unsigned int nsID, const XMLCh *name) |
| |
std::vector< std::pair
< unsigned int, const XMLCh * > > | getVars () const |
| |
| Scope * | getNext () |
| |
| void | setNext (Scope *next) |
| |
| void * | operator new (size_t size) |
| | This method overrides operator new. More...
|
| |
| void * | operator new (size_t size, MemoryManager *memMgr) |
| | This method defines a custom operator new, that will use the provided memory manager to perform the allocation. More...
|
| |
| void * | operator new (size_t size, void *ptr) |
| | This method overrides placement operator new. More...
|
| |
| void | operator delete (void *p) |
| | This method overrides operator delete. More...
|
| |
| void | operator delete (void *p, MemoryManager *memMgr) |
| | This method provides a matching delete for the custom operator new. More...
|
| |
| void | operator delete (void *p, void *ptr) |
| | This method provides a matching delete for the placement new. More...
|
| |
template<class TYPE>
class Scope< TYPE >
used inside VariableStore to implement variable scoping
enum for classifying type of scope
| Enumerator |
|---|
| GLOBAL_SCOPE |
|
| LOCAL_SCOPE |
|
| LOGICAL_BLOCK_SCOPE |
|
template<class TYPE >
| void Scope< TYPE >::clear |
( |
| ) |
|
template<class TYPE >
| std::vector< std::pair< unsigned int, const XMLCh * > > Scope< TYPE >::getVars |
( |
| ) |
const |
template<class TYPE >
| void Scope< TYPE >::put |
( |
unsigned int |
nsID, |
|
|
const XMLCh * |
name, |
|
|
VarHashEntry< TYPE > * |
value |
|
) |
| |
template<class TYPE >
| void Scope< TYPE >::remove |
( |
unsigned int |
nsID, |
|
|
const XMLCh * |
name |
|
) |
| |
template<class TYPE >
| void Scope< TYPE >::setNext |
( |
Scope< TYPE > * |
next | ) |
|
The documentation for this class was generated from the following file: