threaddb  2.0
A file mapped memory container extension
Public Types | Public Member Functions | Protected Attributes | List of all members
tdb::ritem< T > Class Template Reference

Wrapper class for storing data items in a random fashion. More...

#include <threaddbSTLWrapper.h>

Public Types

typedef T value_type
 

Public Member Functions

 ritem ()
 
 ritem (const T &rVal_p, pool< T > &rPool_p)
 
 ritem (const ritem &rhs_p)
 
void operator= (const ritem &rhs_p)
 
 ~ritem ()
 
void deref ()
 
std::unique_ptr< T > get () const
 

Protected Attributes

ItemHandlem_T
 

Detailed Description

template<class T>
class tdb::ritem< T >

Wrapper class for storing data items in a random fashion.

Member Typedef Documentation

◆ value_type

template<class T >
typedef T tdb::ritem< T >::value_type

Constructor & Destructor Documentation

◆ ritem() [1/3]

template<class T >
tdb::ritem< T >::ritem ( )
inline

◆ ritem() [2/3]

template<class T >
tdb::ritem< T >::ritem ( const T &  rVal_p,
pool< T > &  rPool_p 
)
inline

◆ ritem() [3/3]

template<class T >
tdb::ritem< T >::ritem ( const ritem< T > &  rhs_p)
inline

◆ ~ritem()

template<class T >
tdb::ritem< T >::~ritem ( )
inline

Member Function Documentation

◆ deref()

template<class T >
void tdb::ritem< T >::deref ( )
inline

◆ get()

template<class T >
std::unique_ptr<T> tdb::ritem< T >::get ( ) const
inline

◆ operator=()

template<class T >
void tdb::ritem< T >::operator= ( const ritem< T > &  rhs_p)
inline

Member Data Documentation

◆ m_T

template<class T >
ItemHandle* tdb::ritem< T >::m_T
protected

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