Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::optional< T > Class Template Reference

Galois version of boost::optional. More...

#include <optional.h>

Public Types

typedef bool(optional::* unspecified_bool_type )() const
 

Public Member Functions

 optional ()
 
 optional (const T &val)
 
 optional (const optional &rhs)
 
template<typename U >
 optional (const optional< U > &rhs)
 
 ~optional ()
 
void assign (const optional &rhs)
 
template<typename U >
void assign (const optional< U > &rhs)
 
void assign (const T &val)
 
bool is_initialized () const
 
optionaloperator= (const optional &rhs)
 
template<typename U >
optionaloperator= (const optional< U > &rhs)
 
optionaloperator= (const T &val)
 
T & get ()
 
const T & get () const
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
 operator unspecified_bool_type () const
 

Detailed Description

template<typename T>
class galois::optional< T >

Galois version of boost::optional.

Member Typedef Documentation

template<typename T>
typedef bool(optional::* galois::optional< T >::unspecified_bool_type)() const

Constructor & Destructor Documentation

template<typename T>
galois::optional< T >::optional ( )
inline
template<typename T>
galois::optional< T >::optional ( const T &  val)
inline
template<typename T>
galois::optional< T >::optional ( const optional< T > &  rhs)
inline
template<typename T>
template<typename U >
galois::optional< T >::optional ( const optional< U > &  rhs)
inlineexplicit
template<typename T>
galois::optional< T >::~optional ( )
inline

Member Function Documentation

template<typename T>
void galois::optional< T >::assign ( const optional< T > &  rhs)
inline
template<typename T>
template<typename U >
void galois::optional< T >::assign ( const optional< U > &  rhs)
inline
template<typename T>
void galois::optional< T >::assign ( const T &  val)
inline
template<typename T>
T& galois::optional< T >::get ( void  )
inline
template<typename T>
const T& galois::optional< T >::get ( void  ) const
inline
template<typename T>
bool galois::optional< T >::is_initialized ( ) const
inline
template<typename T>
galois::optional< T >::operator unspecified_bool_type ( ) const
inline
template<typename T>
T& galois::optional< T >::operator* ( )
inline
template<typename T>
const T& galois::optional< T >::operator* ( ) const
inline
template<typename T>
T* galois::optional< T >::operator-> ( )
inline
template<typename T>
const T* galois::optional< T >::operator-> ( ) const
inline
template<typename T>
optional& galois::optional< T >::operator= ( const optional< T > &  rhs)
inline
template<typename T>
template<typename U >
optional& galois::optional< T >::operator= ( const optional< U > &  rhs)
inline
template<typename T>
optional& galois::optional< T >::operator= ( const T &  val)
inline

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