SourceForge.net Logo
Public Types | Public Member Functions
Scope Class Reference

used inside VariableStore to implement variable scoping More...

#include <Scope.hpp>

Inheritance diagram for Scope:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Type { GLOBAL_SCOPE, LOCAL_SCOPE, LOGICAL_BLOCK_SCOPE }
 enum for classifying type of scope More...
typedef
xercesc::RefHash2KeysTableOf
< VarHashEntry< TYPE > > 
VarHash

Public Member Functions

 Scope (XPath2MemoryManager *memMgr, Type type)
 constructor.
 ~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
ScopegetNext ()
void setNext (Scope *next)

Detailed Description

used inside VariableStore to implement variable scoping


Member Typedef Documentation

typedef xercesc:: RefHash2KeysTableOf< VarHashEntry<TYPE> > Scope::VarHash

Member Enumeration Documentation

enum for classifying type of scope

Enumerator:
GLOBAL_SCOPE 
LOCAL_SCOPE 
LOGICAL_BLOCK_SCOPE 

Constructor & Destructor Documentation

Scope::Scope ( XPath2MemoryManager memMgr,
Type  type 
)

constructor.

Scope::~Scope ( )

Member Function Documentation

void Scope::clear ( )
VarHashEntry< TYPE > * Scope::get ( unsigned int  nsID,
const XMLCh *  name 
)
Scope< TYPE > * Scope::getNext ( )
Scope< TYPE >::Type Scope::getType ( ) const
std::vector< std::pair< unsigned int, const XMLCh * > > Scope::getVars ( ) const
void Scope::put ( unsigned int  nsID,
const XMLCh *  name,
VarHashEntry< TYPE > *  value 
)
void Scope::remove ( unsigned int  nsID,
const XMLCh *  name 
)
void Scope::setNext ( Scope next)

The documentation for this class was generated from the following file: