Creates nodes from XML tags. More...
#include <Factory.hpp>
Static Public Member Functions | |
static void | check (const Tag &tag) |
static Node * | copy (Node *node, int line) |
static Node * | create (const Tag &tag, const string &xmlFilename="") |
static Node * | create (const string &text, const string &xmlFilename="") |
static void | error (const Tag &tag) |
static void | install (const string &name, creator_t creator) |
static bool | isInstalled (const string &name) |
Static Protected Member Functions | |
static Tag | filter (Tag tag, const string &xmlFilename) |
Static Private Attributes | |
static map< string, creator_t > | creators |
Creates nodes from XML tags.
Creates copy of node as if it were read at line number line.
void error | ( | const Tag & | tag | ) | [static] |
NodeException | if Factory could not find a creator function. |