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::VarianObiXMLFileReader Class Reference

#include <rtkVarianObiXMLFileReader.h>

+ Inheritance diagram for rtk::VarianObiXMLFileReader:
+ Collaboration diagram for rtk::VarianObiXMLFileReader:

Public Types

using Pointer = itk::SmartPointer< Self >
 
using Self = VarianObiXMLFileReader
 
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 EndElement (const char *name) override
 
void StartElement (const char *name, const char **atts) override
 
 VarianObiXMLFileReader ()
 
 ~VarianObiXMLFileReader () override=default
 

Private Attributes

std::string m_CurCharacterData
 
itk::MetaDataDictionary m_Dictionary
 

Detailed Description

Reads the XML-format file written by a Varian OBI machine for every acquisition

Author
Simon Rit

Definition at line 44 of file rtkVarianObiXMLFileReader.h.

Member Typedef Documentation

◆ Pointer

Definition at line 52 of file rtkVarianObiXMLFileReader.h.

◆ Self

Standard type alias

Definition at line 50 of file rtkVarianObiXMLFileReader.h.

◆ Superclass

Definition at line 51 of file rtkVarianObiXMLFileReader.h.

Constructor & Destructor Documentation

◆ VarianObiXMLFileReader()

rtk::VarianObiXMLFileReader::VarianObiXMLFileReader ( )
inlineprotected

Definition at line 65 of file rtkVarianObiXMLFileReader.h.

References m_Dictionary.

◆ ~VarianObiXMLFileReader()

rtk::VarianObiXMLFileReader::~VarianObiXMLFileReader ( )
overrideprotecteddefault

Member Function Documentation

◆ CanReadFile()

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

Determine if a file can be read

Implements itk::XMLReaderBase.

◆ CharacterDataHandler()

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

Implements itk::XMLReaderBase.

◆ CreateAnother()

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

Reimplemented from itk::LightProcessObject.

◆ EndElement()

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

Implements itk::XMLReaderBase.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

◆ New()

static Pointer rtk::VarianObiXMLFileReader::New ( )
static

Method for creation through the object factory.

◆ StartElement()

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

Implements itk::XMLReaderBase.

Member Data Documentation

◆ m_CurCharacterData

std::string rtk::VarianObiXMLFileReader::m_CurCharacterData
private

Definition at line 79 of file rtkVarianObiXMLFileReader.h.

◆ m_Dictionary

itk::MetaDataDictionary rtk::VarianObiXMLFileReader::m_Dictionary
private

Definition at line 78 of file rtkVarianObiXMLFileReader.h.

Referenced by VarianObiXMLFileReader().


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