RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rtk::OraXMLFileReader Class Reference

#include <rtkOraXMLFileReader.h>

+ Inheritance diagram for rtk::OraXMLFileReader:
+ Collaboration diagram for rtk::OraXMLFileReader:

Public Types

using Pointer = itk::SmartPointer< Self >
 
using Self = OraXMLFileReader
 
using Superclass = itk::XMLReader< itk::MetaDataDictionary >
 

Public Member Functions

int CanReadFile (const char *name) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void CharacterDataHandler (const char *inData, int inLength) override
 
void EncapsulateDouble (const char *metaName, const char *name)
 
void EncapsulateMatrix3x3 (const char *metaName, const char *name)
 
void EncapsulatePoint (const char *metaName, const char *name)
 
void EncapsulateString (const char *metaName, const char *name)
 
void EndElement (const char *name) override
 
 OraXMLFileReader ()
 
void StartElement (const char *name, const char **atts) override
 
 ~OraXMLFileReader () override=default
 

Private Attributes

std::string m_CurCharacterData
 
itk::MetaDataDictionary m_Dictionary
 

Detailed Description

Reads the XML-format file written by a medPhoton scanner

Author
Simon Rit

Definition at line 39 of file rtkOraXMLFileReader.h.

Member Typedef Documentation

Definition at line 47 of file rtkOraXMLFileReader.h.

Standard type alias

Definition at line 45 of file rtkOraXMLFileReader.h.

Definition at line 46 of file rtkOraXMLFileReader.h.

Constructor & Destructor Documentation

rtk::OraXMLFileReader::OraXMLFileReader ( )
protected
rtk::OraXMLFileReader::~OraXMLFileReader ( )
overrideprotecteddefault

Member Function Documentation

int rtk::OraXMLFileReader::CanReadFile ( const char *  name)
overridevirtual

Determine if a file can be read

Implements itk::XMLReaderBase.

void rtk::OraXMLFileReader::CharacterDataHandler ( const char *  inData,
int  inLength 
)
overrideprotectedvirtual

Implements itk::XMLReaderBase.

virtual::itk::LightObject::Pointer rtk::OraXMLFileReader::CreateAnother ( ) const
virtual

Reimplemented from itk::LightProcessObject.

void rtk::OraXMLFileReader::EncapsulateDouble ( const char *  metaName,
const char *  name 
)
protected
void rtk::OraXMLFileReader::EncapsulateMatrix3x3 ( const char *  metaName,
const char *  name 
)
protected
void rtk::OraXMLFileReader::EncapsulatePoint ( const char *  metaName,
const char *  name 
)
protected
void rtk::OraXMLFileReader::EncapsulateString ( const char *  metaName,
const char *  name 
)
protected
void rtk::OraXMLFileReader::EndElement ( const char *  name)
overrideprotectedvirtual

Implements itk::XMLReaderBase.

virtual const char* rtk::OraXMLFileReader::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

static Pointer rtk::OraXMLFileReader::New ( )
static

Method for creation through the object factory.

void rtk::OraXMLFileReader::StartElement ( const char *  name,
const char **  atts 
)
overrideprotectedvirtual

Implements itk::XMLReaderBase.

Member Data Documentation

std::string rtk::OraXMLFileReader::m_CurCharacterData
private

Definition at line 75 of file rtkOraXMLFileReader.h.

itk::MetaDataDictionary rtk::OraXMLFileReader::m_Dictionary
private

Definition at line 74 of file rtkOraXMLFileReader.h.


The documentation for this class was generated from the following file: