#include <sbindtbl.hpp>
This class implements a relatively fast map from a long integer value to an SEpression object (which is referenced by an SReference thus guaranteed to remain existing)
Definition at line 41 of file sbindtbl.hpp.
Public Member Functions | |
| IntelibBindTable () | |
| Constructor. | |
| ~IntelibBindTable () | |
| Destructor. | |
| SReference * | GetBinding (unsigned long key) const |
| Examine the table. | |
| SReference * | AddBinding (unsigned long key) |
| Add a new binding. | |
| void | Invalidate () |
| Invaidate the table. | |
| void | DeInvalidate () |
| Make the object valid (but empty in case it was invalid). | |
| bool | IsInvalid () const |
| Is the object invalid? | |
Classes | |
| struct | Item |
| class | Iterator |
| Iterator for the table. More... | |
|
|
Constructor.
Definition at line 80 of file sbindtbl.hpp. |
|
|
Destructor.
Definition at line 82 of file sbindtbl.hpp. |
|
|
Examine the table. Returns a changeable location so that you can change the binding for a given key. If there's no binding for the key, NULL is returned Definition at line 89 of file sbindtbl.hpp. Referenced by SchExpressionContext::GetBinding(), LExpressionContext::GetBinding(), and LExpressionContext::GetFunBinding(). |
|
|
Add a new binding. Returns a changeable location of the binding which you should probably assign to your value Definition at line 105 of file sbindtbl.hpp. Referenced by SchExpressionContext::AddBinding(), LExpressionContext::AddBinding(), LExpressionContext::AddFunBinding(), SchExpressionContext::ProvideBinding(), LExpressionContext::ProvideBinding(), and LExpressionContext::ProvideFunBinding(). |
|
|
Invaidate the table.
Definition at line 128 of file sbindtbl.hpp. |
|
|
Make the object valid (but empty in case it was invalid).
Definition at line 133 of file sbindtbl.hpp. |
|
|
Is the object invalid?
Definition at line 135 of file sbindtbl.hpp. |
1.4.1