Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::Geometry::MatrixVectorPairParser< Iterator > Class Template Reference

MatrixVectorPairParser. More...

#include <MatrixVectorPairParser.h>

Inheritance diagram for Mantid::Geometry::MatrixVectorPairParser< Iterator >:

Public Member Functions

 MatrixVectorPairParser (MatrixVectorPairBuilder &builder)
 

Public Attributes

rule< Iterator, boost::spirit::qi::space_type > m_component
 
rule< Iterator, boost::spirit::qi::space_type > m_componentSeries
 
rule< Iterator, boost::spirit::qi::space_type > m_direction
 
rule< Iterator, boost::spirit::qi::space_type > m_parser
 
rule< Iterator, boost::spirit::qi::space_type > m_rational
 
rule< Iterator, boost::spirit::qi::space_type > m_sign
 

Detailed Description

template<typename Iterator>
class Mantid::Geometry::MatrixVectorPairParser< Iterator >

MatrixVectorPairParser.

MatrixVectorPairParser can parse matrix/vector pairs in Jones faithful notation of the form:

a/b-x, cy, -z

The resulting matrix/vector pair can be retrieved through a templated method that lets the caller decide on the numeric type stored in the matrix. The vector is currently always V3R.

To reuse the internally constructed boost::spirit-based parser, simply instantiate MatrixVectorPairParser once and use the parse-method.

@author Michael Wedel, ESS
@date 02/11/2015

Definition at line 172 of file MatrixVectorPairParser.h.

Constructor & Destructor Documentation

◆ MatrixVectorPairParser()

template<typename Iterator >
Mantid::Geometry::MatrixVectorPairParser< Iterator >::MatrixVectorPairParser ( MatrixVectorPairBuilder builder)
inline

Member Data Documentation

◆ m_component

template<typename Iterator >
rule<Iterator, boost::spirit::qi::space_type> Mantid::Geometry::MatrixVectorPairParser< Iterator >::m_component

◆ m_componentSeries

template<typename Iterator >
rule<Iterator, boost::spirit::qi::space_type> Mantid::Geometry::MatrixVectorPairParser< Iterator >::m_componentSeries

◆ m_direction

template<typename Iterator >
rule<Iterator, boost::spirit::qi::space_type> Mantid::Geometry::MatrixVectorPairParser< Iterator >::m_direction

◆ m_parser

template<typename Iterator >
rule<Iterator, boost::spirit::qi::space_type> Mantid::Geometry::MatrixVectorPairParser< Iterator >::m_parser

◆ m_rational

template<typename Iterator >
rule<Iterator, boost::spirit::qi::space_type> Mantid::Geometry::MatrixVectorPairParser< Iterator >::m_rational

◆ m_sign

template<typename Iterator >
rule<Iterator, boost::spirit::qi::space_type> Mantid::Geometry::MatrixVectorPairParser< Iterator >::m_sign

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