ISMRMRD
ISMRM Raw Data Format
Public Member Functions | Protected Attributes | List of all members
ISMRMRD::Optional< T > Class Template Reference

Public Member Functions

 Optional (const T &v)
 
Optionaloperator= (const Optional &o)
 
Optionaloperator= (const T &v)
 
T * operator-> ()
 
T & operator* ()
 
const T * operator-> () const
 
const T & operator* () const
 
 operator bool () const
 
bool is_present () const
 
bool has_value () const noexcept
 
T & value () &
 
const T & value () const &
 
T && value () &&
 
const T && value () const &&
 
T & get () &
 
T && get () &&
 
const T & get () const &
 
const T && get () const &&
 
template<class U >
value_or (U &&default_value) const &
 
template<class U >
value_or (U &&default_value) &&
 
T & operator() ()
 
void set (const T &v)
 

Protected Attributes

bool present_
 
value_
 

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