RTK  2.1.0
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

◆ Pointer

Definition at line 47 of file rtkOraXMLFileReader.h.

◆ Self

Standard type alias

Definition at line 45 of file rtkOraXMLFileReader.h.

◆ Superclass

Definition at line 46 of file rtkOraXMLFileReader.h.

Constructor & Destructor Documentation

◆ OraXMLFileReader()

rtk::OraXMLFileReader::OraXMLFileReader ( )
protected

◆ ~OraXMLFileReader()

rtk::OraXMLFileReader::~OraXMLFileReader ( )
overrideprotecteddefault

Member Function Documentation

◆ CanReadFile()

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

Determine if a file can be read

Implements itk::XMLReaderBase.

◆ CharacterDataHandler()

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

Implements itk::XMLReaderBase.

◆ CreateAnother()

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

Reimplemented from itk::LightProcessObject.

◆ EncapsulateDouble()

void rtk::OraXMLFileReader::EncapsulateDouble ( const char *  metaName,
const char *  name 
)
protected

◆ EncapsulateMatrix3x3()

void rtk::OraXMLFileReader::EncapsulateMatrix3x3 ( const char *  metaName,
const char *  name 
)
protected

◆ EncapsulatePoint()

void rtk::OraXMLFileReader::EncapsulatePoint ( const char *  metaName,
const char *  name 
)
protected

◆ EncapsulateString()

void rtk::OraXMLFileReader::EncapsulateString ( const char *  metaName,
const char *  name 
)
protected

◆ EndElement()

void rtk::OraXMLFileReader::EndElement ( const char *  name)
overrideprotectedvirtual

Implements itk::XMLReaderBase.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

◆ New()

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

Method for creation through the object factory.

◆ StartElement()

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

Implements itk::XMLReaderBase.

Member Data Documentation

◆ m_CurCharacterData

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

Definition at line 83 of file rtkOraXMLFileReader.h.

◆ m_Dictionary

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

Definition at line 82 of file rtkOraXMLFileReader.h.


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