ZeissXMLReader Class Reference

#include <Importer/ZeissXMLReader.h>

List of all members.


Detailed Description

This class reads the xml file that is produced by the Zeiss software during an image export.

Author:
Mike Jackson
Date:
Oct 2007
Version:
Revision
1.1


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.


Member Function Documentation

static Pointer ZeissXMLReader::New ( const std::string &  filename,
int  slice 
) [inline, static]

Creates a new Object which is wrapped in a shared_ptr.

Parameters:
filename The filename of the xml file to read The slice number that the xml file corresponds to
Returns:
Shared Pointer

void ZeissXMLReader::setXMLInputFile ( const std::string &  inputFile  )  [inline]

Sets the input file to parse.

Parameters:
inputFile The path to an xml file

int32 ZeissXMLReader::parse (  ) 

Reads the Data Model from an XML File/.

Returns:
Error: Negative is error Condition

void ZeissXMLReader::printStats ( std::ostream &  out  ) 

Print some statistics about this parser and the values it extracted from the xml file.

Parameters:
out A std::ostream Object reference

void ZeissXMLReader::setTileInfos ( ZeissTileInfo::Collection  frameInfos  ) 

Sets the vector of ZeissTileInfo objects to be used.

Parameters:
frameInfos ZeissTileInfos object

void ZeissXMLReader::clearTileInfos (  ) 

Clears the ZeissTileInfos vector.

Useful if you are reusing the parser.


The documentation for this class was generated from the following files:
Generated on Fri Aug 28 14:04:33 2009 for R3DImageTools by  doxygen 1.5.2