wibble 1.1
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
wibble::Singleton< T > Class Template Reference

#include <singleton.h>

Collaboration diagram for wibble::Singleton< T >:
Collaboration graph
[legend]

Classes

class  const_iterator
 
class  iterator
 

Public Types

typedefvalue_type
 

Public Member Functions

 Singleton (const T &value)
 
 Singleton ()
 
bool empty () const
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
iterator insert (iterator, const value_type &v)
 
iterator insert (const value_type &v)
 

Protected Attributes

value
 

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T wibble::Singleton< T >::value_type

Constructor & Destructor Documentation

◆ Singleton() [1/2]

template<typename T >
wibble::Singleton< T >::Singleton ( const T &  value)
inlineexplicit

◆ Singleton() [2/2]

template<typename T >
wibble::Singleton< T >::Singleton ( )
inline

Member Function Documentation

◆ begin() [1/2]

template<typename T >
iterator wibble::Singleton< T >::begin ( )
inline

◆ begin() [2/2]

template<typename T >
const_iterator wibble::Singleton< T >::begin ( ) const
inline

◆ empty()

template<typename T >
bool wibble::Singleton< T >::empty ( ) const
inline

◆ end() [1/2]

template<typename T >
iterator wibble::Singleton< T >::end ( )
inline

◆ end() [2/2]

template<typename T >
const_iterator wibble::Singleton< T >::end ( ) const
inline

◆ insert() [1/2]

template<typename T >
iterator wibble::Singleton< T >::insert ( const value_type v)
inline

◆ insert() [2/2]

template<typename T >
iterator wibble::Singleton< T >::insert ( iterator  ,
const value_type v 
)
inline

◆ size()

template<typename T >
size_t wibble::Singleton< T >::size ( ) const
inline

Member Data Documentation

◆ value

template<typename T >
T wibble::Singleton< T >::value
protected

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