Fraxinus  16.5.0-fx-rc1
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::OptionalValue< T > Class Template Reference

#include <cxOptionalValue.h>

Public Member Functions

 OptionalValue ()
 
 OptionalValue (T val)
 
const T & get () const
 
void set (const T &val)
 
bool isValid () const
 
void reset ()
 

Detailed Description

template<class T>
class cx::OptionalValue< T >

Template that holds a value and validity of that value.

Date
2014-03-27
Author
christiana

Definition at line 47 of file cxOptionalValue.h.

Constructor & Destructor Documentation

template<class T>
cx::OptionalValue< T >::OptionalValue ( )
inline

Definition at line 50 of file cxOptionalValue.h.

template<class T>
cx::OptionalValue< T >::OptionalValue ( val)
inlineexplicit

Definition at line 51 of file cxOptionalValue.h.

Member Function Documentation

template<class T>
const T& cx::OptionalValue< T >::get ( ) const
inline

Definition at line 52 of file cxOptionalValue.h.

template<class T>
bool cx::OptionalValue< T >::isValid ( ) const
inline

Definition at line 54 of file cxOptionalValue.h.

template<class T>
void cx::OptionalValue< T >::reset ( )
inline

Definition at line 55 of file cxOptionalValue.h.

template<class T>
void cx::OptionalValue< T >::set ( const T &  val)
inline

Definition at line 53 of file cxOptionalValue.h.


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