Rise
The Vieneo Province
Nullable< T > Class Template Reference

#include <Nullable.h>

Collaboration diagram for Nullable< T >:
[legend]

Public Member Functions

 Nullable ()
 
 Nullable (T value)
 
 Nullable (const Nullable &other)
 
operator= (T value)
 
bool operator== (const T value)
 
bool operator== (const Nullable &other)
 
bool operator!= (const Nullable &other)
 
 operator T () const
 
get () const
 
bool is_set () const
 
void reset ()
 

Private Member Functions

void set (T value)
 

Private Attributes

m_value
 
bool m_isSet
 

Detailed Description

Constructor & Destructor Documentation

◆ Nullable() [1/3]

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

Definition at line 20 of file Nullable.h.

◆ Nullable() [2/3]

template<typename T>
Nullable< T >::Nullable ( value)
inline

Definition at line 24 of file Nullable.h.

◆ Nullable() [3/3]

template<typename T>
Nullable< T >::Nullable ( const Nullable< T > &  other)
inline

Definition at line 28 of file Nullable.h.

Member Function Documentation

◆ get()

template<typename T>
T Nullable< T >::get ( ) const
inline

Definition at line 80 of file Nullable.h.

Here is the caller graph for this function:

◆ is_set()

template<typename T>
bool Nullable< T >::is_set ( ) const
inline

Definition at line 87 of file Nullable.h.

Here is the caller graph for this function:

◆ operator T()

template<typename T>
Nullable< T >::operator T ( ) const
inline

Definition at line 75 of file Nullable.h.

◆ operator!=()

template<typename T>
bool Nullable< T >::operator!= ( const Nullable< T > &  other)
inline

Definition at line 66 of file Nullable.h.

◆ operator=()

template<typename T>
T Nullable< T >::operator= ( value)
inline

Definition at line 46 of file Nullable.h.

◆ operator==() [1/2]

template<typename T>
bool Nullable< T >::operator== ( const T  value)
inline

Definition at line 52 of file Nullable.h.

◆ operator==() [2/2]

template<typename T>
bool Nullable< T >::operator== ( const Nullable< T > &  other)
inline

Definition at line 57 of file Nullable.h.

◆ reset()

template<typename T>
void Nullable< T >::reset ( )
inline

Definition at line 92 of file Nullable.h.

◆ set()

template<typename T>
void Nullable< T >::set ( value)
inlineprivate

Definition at line 13 of file Nullable.h.

Member Data Documentation

◆ m_isSet

template<typename T>
bool Nullable< T >::m_isSet
private

Definition at line 11 of file Nullable.h.

◆ m_value

template<typename T>
T Nullable< T >::m_value
private

Definition at line 10 of file Nullable.h.


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