Developer Documentation
Option< T > Struct Template Reference
Inheritance diagram for Option< T >:

Public Types

typedef std::pair< T, bool > Base
 

Public Member Functions

bool is_valid () const
 
bool is_empty () const
 
 operator T& ()
 
 operator const T & () const
 
Optionoperator= (const T &_rhs)
 
bool operator== (const T &_rhs) const
 
bool operator!= (const T &_rhs) const
 

Detailed Description

template<typename T>
struct Option< T >

Definition at line 102 of file mconvert.cc.

Member Typedef Documentation

◆ Base

template<typename T >
typedef std::pair< T, bool > Option< T >::Base

Definition at line 104 of file mconvert.cc.

Constructor & Destructor Documentation

◆ Option()

template<typename T >
Option< T >::Option ( )
inline

Definition at line 106 of file mconvert.cc.

Member Function Documentation

◆ is_empty()

template<typename T >
bool Option< T >::is_empty ( ) const
inline

Definition at line 110 of file mconvert.cc.

◆ is_valid()

template<typename T >
bool Option< T >::is_valid ( void  ) const
inline

Definition at line 109 of file mconvert.cc.

◆ operator const T &()

template<typename T >
Option< T >::operator const T & ( ) const
inline

Definition at line 113 of file mconvert.cc.

◆ operator T&()

template<typename T >
Option< T >::operator T& ( )
inline

Definition at line 112 of file mconvert.cc.

◆ operator!=()

template<typename T >
bool Option< T >::operator!= ( const T &  _rhs) const
inline

Definition at line 121 of file mconvert.cc.

◆ operator=()

template<typename T >
Option & Option< T >::operator= ( const T &  _rhs)
inline

Definition at line 115 of file mconvert.cc.

◆ operator==()

template<typename T >
bool Option< T >::operator== ( const T &  _rhs) const
inline

Definition at line 118 of file mconvert.cc.


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