InFact
Interpreter and factory for easily creating C++ objects at run-time
|
Provides an interface for an Environment, which contains a map from variables of a specific type (primitives, Factory-constructible objects, or vectors thereof) to their values. More...
#include <sstream>
#include <vector>
#include "error.h"
#include "stream-init.h"
#include "stream-tokenizer.h"
Go to the source code of this file.
Classes | |
class | infact::VarMapBase |
A base class for a mapping from variables of a specific type to their values. More... | |
class | infact::Environment |
An interface for an environment in which variables of various types are mapped to their values. More... | |
class | infact::ValueString< T > |
A template class that helps print out values with ostream& operator support and vectors of those values. More... | |
class | infact::ValueString< string > |
A specialization of the ValueString class to support printing of string values. More... | |
class | infact::ValueString< bool > |
A specialization of the ValueString class to support printing of boolean values. More... | |
class | infact::ValueString< shared_ptr< T > > |
A partial specialization of the ValueString class to support printing of shared_ptr's to objects, where we simply print the typeid name followed by a colon character followed by the pointer address. More... | |
class | infact::ValueString< vector< T > > |
A partial specialization of the ValueString class to support printing of vectors of values. More... | |
class | infact::VarMapImpl< T, Derived > |
A partial implementation of the VarMapBase interface that is common to both VarMap<T> and the VarMap<vector<T> > partial specialization. More... | |
class | infact::VarMap< T > |
A container to hold the mapping between named variables of a specific type and their values. More... | |
class | infact::VarMap< vector< T > > |
A partial specialization to allow initialization of a vector of values, where the values can either be literals (if T is a primitive type), spec strings for constructing Factory-constructible objects, or variable names (where each variable must be of type T). More... | |
Namespaces | |
infact | |
The namespace for the entire InFact library. | |
Macros | |
#define | VAR_MAP_DEBUG 0 |
Provides an interface for an Environment, which contains a map from variables of a specific type (primitives, Factory-constructible objects, or vectors thereof) to their values.
Definition in file environment.h.
#define VAR_MAP_DEBUG 0 |
Definition at line 42 of file environment.h.