InFact
Interpreter and factory for easily creating C++ objects at run-time
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Namespaces
stream-init.h File Reference

Provides a generic dynamic object factory. More...

#include <cstdlib>
#include <iostream>
#include <sstream>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <stdexcept>
#include "error.h"
#include "stream-tokenizer.h"

Go to the source code of this file.

Classes

class  infact::StreamInitializer
 An interface that allows for a primitive, Factory-constructible object or vector thereof to be initialized based on the next token or tokens from a token stream. More...
 
class  infact::Factory< T >
 Factory for dynamically created instance of the specified type. More...
 
class  infact::Initializer< T >
 A class to initialize a Factory-constructible object. More...
 
class  infact::Initializer< int >
 A specialization to allow Factory-constructible objects to initialize int data members. More...
 
class  infact::Initializer< double >
 A specialization to initialize double data members. More...
 
class  infact::Initializer< bool >
 A specialization to initialize bool data members. More...
 
class  infact::Initializer< string >
 A specialization to initialize string data members. More...
 

Namespaces

 infact
 The namespace for the entire InFact library.
 

Detailed Description

Provides a generic dynamic object factory.

Author
dbike.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Dan Bikel)

Definition in file stream-init.h.