#include <Importer/ZeissXMLReader.h>
Public Member Functions | |
void | setXMLInputFile (const std::string &inputFile) |
Sets the input file to parse. | |
std::string | getXMLInputFile () |
returns the XML File that this importer is using | |
int32 | parse () |
Reads the Data Model from an XML File/. | |
int32 | getParseError () |
Returns the current parser error. | |
void | printStats (std::ostream &out) |
Print some statistics about this parser and the values it extracted from the xml file. | |
void | setTileInfos (ZeissTileInfo::Collection frameInfos) |
Sets the vector of ZeissTileInfo objects to be used. | |
ZeissTileInfo::Collection | getTileInfos () |
returns a copy of the ZeissTileInfo object | |
void | clearTileInfos () |
Clears the ZeissTileInfos vector. | |
Static Public Member Functions | |
static Pointer | New (const std::string &filename, int slice) |
Creates a new Object which is wrapped in a shared_ptr. |
static Pointer ZeissXMLReader::New | ( | const std::string & | filename, | |
int | slice | |||
) | [inline, static] |
Creates a new Object which is wrapped in a shared_ptr.
filename | The filename of the xml file to read The slice number that the xml file corresponds to |
void ZeissXMLReader::setXMLInputFile | ( | const std::string & | inputFile | ) | [inline] |
Sets the input file to parse.
inputFile | The path to an xml file |
int32 ZeissXMLReader::parse | ( | ) |
Reads the Data Model from an XML File/.
void ZeissXMLReader::printStats | ( | std::ostream & | out | ) |
Print some statistics about this parser and the values it extracted from the xml file.
out | A std::ostream Object reference |
void ZeissXMLReader::setTileInfos | ( | ZeissTileInfo::Collection | frameInfos | ) |
void ZeissXMLReader::clearTileInfos | ( | ) |
Clears the ZeissTileInfos vector.
Useful if you are reusing the parser.