Rise
The Vieneo Province
Loading...
Searching...
No Matches
Nullable< T > Class Template Reference

#include <Nullable.h>

Public Member Functions

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

Private Member Functions

void set (T value)

Private Attributes

T 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.

Here is the caller graph for this function:

◆ Nullable() [2/3]

template<typename T>
Nullable< T >::Nullable ( T 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.

Here is the call graph for this function:

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) const
inline

Definition at line 66 of file Nullable.h.

Here is the call graph for this function:

◆ operator=()

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

Definition at line 46 of file Nullable.h.

Here is the call graph for this function:

◆ operator==() [1/2]

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

Definition at line 57 of file Nullable.h.

Here is the call graph for this function:

◆ operator==() [2/2]

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

Definition at line 52 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 ( T value)
inlineprivate

Definition at line 13 of file Nullable.h.

Here is the caller graph for this function:

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: