Factory Class Reference
[Scene]

Creates nodes from XML tags. More...

#include <Factory.hpp>

Inheritance diagram for Factory:
AdvancedFactory

List of all members.

Static Public Member Functions

static void check (const Tag &tag)
static Nodecopy (Node *node, int line)
static Nodecreate (const Tag &tag, const string &xmlFilename="")
static Nodecreate (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

Detailed Description

Creates nodes from XML tags.


Member Function Documentation

Node * copy ( Node node,
int  line 
) [static]

Creates copy of node as if it were read at line number line.

void error ( const Tag tag  )  [static]
Exceptions:
NodeException if Factory could not find a creator function.

The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:35 2010 for Gander by  doxygen 1.6.3