ICG 2
Electric Boogaloo
Classes | Namespaces | Typedefs | Functions
ICGTemplateEngine.hpp File Reference
#include <string>
#include <algorithm>
#include <vector>
#include <unordered_set>
#include <map>
#include <sstream>

Go to the source code of this file.

Classes

class  ICGTemplateEngine::recursable
 An interface for an object that has some attributes that should be used in a list_ token, with the option to nest. More...
 

Namespaces

 ICGTemplateEngine
 

Typedefs

typedef std::map< std::string, std::string > ICGTemplateEngine::Dictionary
 Map of token name to string it should be replaced with. More...
 
typedef std::map< std::string, std::vector< const recursable * > > ICGTemplateEngine::ListTokenItems
 Lists that we can recurse into. More...
 

Functions

std::string ICGTemplateEngine::process (const std::string &template_to_fill, const Dictionary &token_dictionary, const ListTokenItems &recursable_map)
 
std::string ICGTemplateEngine::process (const Dictionary &token_dictionary, const ListTokenItems &recursable_list)
 process(const std::string& template_to_fill, const Dictionary& token_dictionary, const std::vector<const recursable *>& recursable_list); Uses token named "top" in token_dictionary to begin processing. More...