tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stm::MiniVector< T > Class Template Reference

#include <MiniVector.hpp>

Inheritance diagram for stm::MiniVector< T >:
Collaboration diagram for stm::MiniVector< T >:

Public Types

typedef T * iterator
 

Public Member Functions

 MiniVector (const unsigned long capacity)
 
 ~MiniVector ()
 
TM_INLINE void reset ()
 
TM_INLINE void insert (T data)
 
TM_INLINE unsigned long size () const
 
TM_INLINE iterator begin () const
 
TM_INLINE iterator end () const
 

Private Member Functions

void expand ()
 

Private Attributes

unsigned long m_cap
 
unsigned long m_size
 
T * m_elements
 

Member Typedef Documentation

template<class T>
typedef T* stm::MiniVector< T >::iterator

Constructor & Destructor Documentation

template<class T>
stm::MiniVector< T >::MiniVector ( const unsigned long  capacity)
inline
template<class T>
stm::MiniVector< T >::~MiniVector ( )
inline

Member Function Documentation

template<class T>
TM_INLINE iterator stm::MiniVector< T >::begin ( ) const
inline

Here is the caller graph for this function:

template<class T>
TM_INLINE iterator stm::MiniVector< T >::end ( ) const
inline

Here is the caller graph for this function:

template<class T >
template void stm::MiniVector< T >::expand ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T>
TM_INLINE void stm::MiniVector< T >::insert ( data)
inline

Here is the caller graph for this function:

template<class T>
TM_INLINE void stm::MiniVector< T >::reset ( )
inline

Here is the caller graph for this function:

template<class T>
TM_INLINE unsigned long stm::MiniVector< T >::size ( ) const
inline

Here is the caller graph for this function:

Member Data Documentation

template<class T>
unsigned long stm::MiniVector< T >::m_cap
private
template<class T>
T* stm::MiniVector< T >::m_elements
private
template<class T>
unsigned long stm::MiniVector< T >::m_size
private

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