library of assembled shared sources

http://lass.cocamware.com

lass::num::impl::VStorage< T > Class Template Reference

#include <vector_expressions.h>


Public Types

enum  { lvalue = true }
typedef util::CallTraits< T >
::TValue 
TValue
typedef util::CallTraits< T >
::TParam 
TParam
typedef util::CallTraits< T >
::TReference 
TReference
typedef util::CallTraits< T >
::TConstReference 
TConstReference
typedef size_t TSize

Public Member Functions

 VStorage ()
 VStorage (TSize iSize, TParam iInitialValue)
TReference operator[] (TSize iIndex)
TConstReference operator[] (TSize iIndex) const
TSize size () const
void resize (TSize iSize)
void swap (VStorage< T > &iOther)

Private Attributes

std::vector< T > storage_


Detailed Description

template<typename T>
class lass::num::impl::VStorage< T >

Definition at line 58 of file vector_expressions.h.


Member Typedef Documentation

template<typename T >
typedef util::CallTraits<T>::TValue lass::num::impl::VStorage< T >::TValue

Definition at line 62 of file vector_expressions.h.

template<typename T >
typedef util::CallTraits<T>::TParam lass::num::impl::VStorage< T >::TParam

Definition at line 63 of file vector_expressions.h.

template<typename T >
typedef util::CallTraits<T>::TReference lass::num::impl::VStorage< T >::TReference

Definition at line 64 of file vector_expressions.h.

Definition at line 65 of file vector_expressions.h.

template<typename T >
typedef size_t lass::num::impl::VStorage< T >::TSize

Definition at line 66 of file vector_expressions.h.


Member Enumeration Documentation

template<typename T >
anonymous enum

Enumerator:
lvalue 

Definition at line 61 of file vector_expressions.h.


Constructor & Destructor Documentation

template<typename T >
lass::num::impl::VStorage< T >::VStorage (  )  [inline]

Definition at line 68 of file vector_expressions.h.

template<typename T >
lass::num::impl::VStorage< T >::VStorage ( TSize  iSize,
TParam  iInitialValue 
) [inline]

Definition at line 69 of file vector_expressions.h.


Member Function Documentation

template<typename T >
TReference lass::num::impl::VStorage< T >::operator[] ( TSize  iIndex  )  [inline]

template<typename T >
TConstReference lass::num::impl::VStorage< T >::operator[] ( TSize  iIndex  )  const [inline]

template<typename T >
TSize lass::num::impl::VStorage< T >::size (  )  const [inline]

template<typename T >
void lass::num::impl::VStorage< T >::resize ( TSize  iSize  )  [inline]

Definition at line 76 of file vector_expressions.h.

References lass::num::impl::VStorage< T >::storage_, and lass::stde::T.

template<typename T >
void lass::num::impl::VStorage< T >::swap ( VStorage< T > &  iOther  )  [inline]

Definition at line 77 of file vector_expressions.h.

References lass::num::impl::VStorage< T >::storage_.


Field Documentation

template<typename T >
std::vector<T> lass::num::impl::VStorage< T >::storage_ [private]


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

Generated on Mon Nov 10 14:22:11 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo