Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::API::Result< T > Class Template Reference

#include <Result.h>

Public Member Functions

const std::string & errors () const
 
 operator bool () const
 
const T & result () const
 
 Result (T result, std::string errors="")
 

Private Attributes

std::string m_errors
 
m_result
 

Detailed Description

template<typename T>
class Mantid::API::Result< T >

Definition at line 14 of file Result.h.

Constructor & Destructor Documentation

◆ Result()

template<typename T >
Mantid::API::Result< T >::Result ( result,
std::string  errors = "" 
)
inline

Definition at line 16 of file Result.h.

Member Function Documentation

◆ errors()

template<typename T >
const std::string & Mantid::API::Result< T >::errors ( ) const
inline

Definition at line 20 of file Result.h.

References Mantid::API::Result< T >::m_errors.

Referenced by Mantid::API::FileFinderImpl::getPath().

◆ operator bool()

template<typename T >
Mantid::API::Result< T >::operator bool ( ) const
inline

Definition at line 23 of file Result.h.

References Mantid::API::Result< T >::m_errors.

◆ result()

template<typename T >
const T & Mantid::API::Result< T >::result ( ) const
inline

Definition at line 19 of file Result.h.

References Mantid::API::Result< T >::m_result.

Member Data Documentation

◆ m_errors

template<typename T >
std::string Mantid::API::Result< T >::m_errors
private

◆ m_result

template<typename T >
T Mantid::API::Result< T >::m_result
private

Definition at line 26 of file Result.h.

Referenced by Mantid::API::Result< T >::result().


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