53 static const char* IO_MODE_TOKENS[];
Handles the different possible IO modes.
static IO_MODE getModeFromExtension(const char *fileName)
Returns the mode that fits to file's extension (using getDefaultFileExtension);.
static IO_MODE getModeFromContents(const char *fileName)
Returns the mode that fits to file's contents (only a small part of the file's contents is evaluated)
IO_MODE
Register your parser type here.
@ IO_MODE_XML
import/export in XML format
@ IO_MODE_AUTO
auto detect format
static const char * getDefaultFileExtension(IO_MODE ioMode)
Get the default file extension Register your own TreeNode type here.
static TreeNode * createRootTreeNode(IO_MODE ioMode, TreeNode::ConstructionMode conMode)
Creates a root node for reading or writing.
The class TreeNodeException is the base class for all exceptions thrown by the class TreeNode and all...
The class TreeNode is the abstract base class for the import/export of ML objects.
ConstructionMode
TreeNode construction modes:
The class XMLTreeNode implements the abstract class TreeNode to allow export and import of ML objects...
#define PARSER_EXPORT
Definiert systemspezifische Macros, die f"ur diese DLL gelten sollen.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.