A single-value container, which can either be empty or full. More...
#include <container.h>
Public Member Functions | |
Single () | |
bool | empty () |
Type * | insert (const Type &other) |
void | clear () |
Type & | get () |
const Type & | get () const |
Private Attributes | |
Type * | m_value |
A single-value container, which can either be empty or full.
Definition at line 32 of file container.h.
Definition at line 35 of file container.h.
void Single< Type >::clear | ( | ) | [inline] |
Definition at line 44 of file container.h.
References Single< Type >::m_value.
bool Single< Type >::empty | ( | ) | [inline] |
Definition at line 37 of file container.h.
References Single< Type >::m_value.
const Type& Single< Type >::get | ( | ) | const [inline] |
Definition at line 52 of file container.h.
References Single< Type >::m_value.
Type& Single< Type >::get | ( | ) | [inline] |
Definition at line 48 of file container.h.
References Single< Type >::m_value.
Type* Single< Type >::insert | ( | const Type & | other | ) | [inline] |
Definition at line 40 of file container.h.
References Single< Type >::m_value.
Definition at line 33 of file container.h.
Referenced by Single< Type >::clear(), Single< Type >::empty(), Single< Type >::get(), and Single< Type >::insert().