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::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

Definition at line 52 of file rtkVarianObiXMLFileReader.h.

Standard type alias

Definition at line 50 of file rtkVarianObiXMLFileReader.h.

Definition at line 51 of file rtkVarianObiXMLFileReader.h.

Constructor & Destructor Documentation

rtk::VarianObiXMLFileReader::VarianObiXMLFileReader ( )
inlineprotected
rtk::VarianObiXMLFileReader::~VarianObiXMLFileReader ( )
overrideprotecteddefault

Referenced by VarianObiXMLFileReader().

Member Function Documentation

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

Determine if a file can be read

Implements itk::XMLReaderBase.

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

Implements itk::XMLReaderBase.

Referenced by VarianObiXMLFileReader().

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

Reimplemented from itk::LightProcessObject.

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

Implements itk::XMLReaderBase.

Referenced by VarianObiXMLFileReader().

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

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

Method for creation through the object factory.

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

Implements itk::XMLReaderBase.

Referenced by VarianObiXMLFileReader().

Member Data Documentation

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

Definition at line 75 of file rtkVarianObiXMLFileReader.h.

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

Definition at line 74 of file rtkVarianObiXMLFileReader.h.

Referenced by VarianObiXMLFileReader().


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