Mantid
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
Mantid::DataObjects::CoordTransformAffineParser Class Reference

A parser for processing coordinate transform xml. More...

#include <CoordTransformAffineParser.h>

Inheritance diagram for Mantid::DataObjects::CoordTransformAffineParser:
Mantid::DataObjects::CoordTransformDistanceParser

Public Types

using SuccessorType_sptr = std::shared_ptr< CoordTransformAffineParser >
 successor parser shared ptr typedef More...
 

Public Member Functions

 CoordTransformAffineParser ()
 Constructor. More...
 
virtual Mantid::API::CoordTransformcreateTransform (Poco::XML::Element *coordTransElement) const
 Create the transform object. More...
 
virtual void setSuccessor (CoordTransformAffineParser *other)
 Set the successor parser. More...
 
virtual ~CoordTransformAffineParser ()=default
 

Protected Attributes

SuccessorType_sptr m_successor
 successor parser More...
 

Private Member Functions

 CoordTransformAffineParser (const CoordTransformAffineParser &)
 Copy constructor. More...
 
CoordTransformAffineParseroperator= (const CoordTransformAffineParser &)
 Assignment operator. More...
 

Detailed Description

A parser for processing coordinate transform xml.

Author
Owen Arnold
Date
22/july/2011

Definition at line 32 of file CoordTransformAffineParser.h.

Member Typedef Documentation

◆ SuccessorType_sptr

successor parser shared ptr typedef

Definition at line 38 of file CoordTransformAffineParser.h.

Constructor & Destructor Documentation

◆ CoordTransformAffineParser() [1/2]

Mantid::DataObjects::CoordTransformAffineParser::CoordTransformAffineParser ( )
default

Constructor.

◆ ~CoordTransformAffineParser()

virtual Mantid::DataObjects::CoordTransformAffineParser::~CoordTransformAffineParser ( )
virtualdefault

◆ CoordTransformAffineParser() [2/2]

Mantid::DataObjects::CoordTransformAffineParser::CoordTransformAffineParser ( const CoordTransformAffineParser )
private

Copy constructor.

Member Function Documentation

◆ createTransform()

Mantid::API::CoordTransform * Mantid::DataObjects::CoordTransformAffineParser::createTransform ( Poco::XML::Element *  coordTransElement) const
virtual

Create the transform object.

Parameters
coordTransElement: xml coordinate transform element
Returns
a fully constructed coordinate transform object.

Reimplemented in Mantid::DataObjects::CoordTransformDistanceParser.

Definition at line 26 of file CoordTransformAffineParser.cpp.

References Mantid::DataObjects::AffineMatrixParameterParser::createParameter(), and m_successor.

◆ operator=()

CoordTransformAffineParser & Mantid::DataObjects::CoordTransformAffineParser::operator= ( const CoordTransformAffineParser )
private

Assignment operator.

◆ setSuccessor()

void Mantid::DataObjects::CoordTransformAffineParser::setSuccessor ( CoordTransformAffineParser other)
virtual

Set the successor parser.

Parameters
other: another parser to use if this one fails.

Definition at line 71 of file CoordTransformAffineParser.cpp.

References m_successor.

Member Data Documentation

◆ m_successor

SuccessorType_sptr Mantid::DataObjects::CoordTransformAffineParser::m_successor
protected

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