Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::DataObjects::TableColumn< Type >::InconvertibleToDoubleType Struct Reference

Helper struct helping to write a generic casting to double. More...

Public Member Functions

 InconvertibleToDoubleType (const double &)
 Constructor. More...
 
 InconvertibleToDoubleType (const Type &)
 Constructor. More...
 
 operator double () const
 Convertion to double throws a runtime_error. More...
 
 operator Type () const
 

Detailed Description

template<class Type>
struct Mantid::DataObjects::TableColumn< Type >::InconvertibleToDoubleType

Helper struct helping to write a generic casting to double.

Definition at line 47 of file TableColumn.h.

Constructor & Destructor Documentation

◆ InconvertibleToDoubleType() [1/2]

template<class Type >
Mantid::DataObjects::TableColumn< Type >::InconvertibleToDoubleType::InconvertibleToDoubleType ( const Type &  )
inline

Constructor.

Definition at line 49 of file TableColumn.h.

◆ InconvertibleToDoubleType() [2/2]

template<class Type >
Mantid::DataObjects::TableColumn< Type >::InconvertibleToDoubleType::InconvertibleToDoubleType ( const double &  )
inline

Constructor.

Definition at line 51 of file TableColumn.h.

Member Function Documentation

◆ operator double()

template<class Type >
Mantid::DataObjects::TableColumn< Type >::InconvertibleToDoubleType::operator double ( ) const
inline

Convertion to double throws a runtime_error.

Definition at line 53 of file TableColumn.h.

References Mantid::API::Column::name().

◆ operator Type()

template<class Type >
Mantid::DataObjects::TableColumn< Type >::InconvertibleToDoubleType::operator Type ( ) const
inline

Definition at line 56 of file TableColumn.h.


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