A factory class that takes examplar that will be cloned to read each block. More...
#include <nxspublicblocks.h>
Public Member Functions | |
virtual NxsBlock * | GetBlockReaderForID (const std::string &id, NxsReader *, NxsToken *) |
bool | AddDefaultPrototype (const NxsBlock *exemplar) |
bool | AddPrototype (const NxsBlock *exemplar, const char *blockName=NULL) |
A factory class that takes examplar that will be cloned to read each block.
To use this factory you MUST overload NxsBlock::Clone() for class that you would like to use to parse blocks
Definition at line 153 of file nxspublicblocks.h.