molecular
|
Implementation of dynamic scoping. More...
#include <DynamicScoping.h>
Classes | |
class | Binding |
Automatically binds a variable to the current scope. More... | |
class | ManualBinding |
class | SkeletalBinding |
Binding without its own copy of the data. More... | |
class | SkeletalManualBinding |
Binding with external data storage. More... | |
Public Types | |
typedef _Key | Key |
typedef _ValueSuperType | ValueSuperType |
typedef SkippingIterator< typename Map::const_iterator, IsSecondNull > | Iterator |
Skips entries that are not set. More... | |
typedef PairFirstIterator< Iterator > | KeyIterator |
Public Member Functions | |
const ValueSuperType * | operator[] (const Key &key) |
Iterator | Begin () const |
Iterator | End () const |
KeyIterator | KeyBegin () |
KeyIterator | KeyEnd () |
Implementation of dynamic scoping.
As opposed to static (lexical) scoping used in C/C++. Shallow binding.
typedef SkippingIterator<typename Map::const_iterator, IsSecondNull> molecular::util::DynamicScoping< _Key, _ValueSuperType >::Iterator |
Skips entries that are not set.
typedef _Key molecular::util::DynamicScoping< _Key, _ValueSuperType >::Key |
typedef PairFirstIterator<Iterator> molecular::util::DynamicScoping< _Key, _ValueSuperType >::KeyIterator |
typedef _ValueSuperType molecular::util::DynamicScoping< _Key, _ValueSuperType >::ValueSuperType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |