library of assembled shared sources |
http://lass.cocamware.com |
#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_ |
Definition at line 58 of file vector_expressions.h.
typedef util::CallTraits<T>::TValue lass::num::impl::VStorage< T >::TValue |
Definition at line 62 of file vector_expressions.h.
typedef util::CallTraits<T>::TParam lass::num::impl::VStorage< T >::TParam |
Definition at line 63 of file vector_expressions.h.
typedef util::CallTraits<T>::TReference lass::num::impl::VStorage< T >::TReference |
Definition at line 64 of file vector_expressions.h.
typedef util::CallTraits<T>::TConstReference lass::num::impl::VStorage< T >::TConstReference |
Definition at line 65 of file vector_expressions.h.
typedef size_t lass::num::impl::VStorage< T >::TSize |
Definition at line 66 of file vector_expressions.h.
anonymous enum |
lass::num::impl::VStorage< T >::VStorage | ( | ) | [inline] |
Definition at line 68 of file vector_expressions.h.
lass::num::impl::VStorage< T >::VStorage | ( | TSize | iSize, | |
TParam | iInitialValue | |||
) | [inline] |
Definition at line 69 of file vector_expressions.h.
TReference lass::num::impl::VStorage< T >::operator[] | ( | TSize | iIndex | ) | [inline] |
Definition at line 70 of file vector_expressions.h.
References LASS_ASSERT, lass::num::impl::VStorage< T >::size(), and lass::num::impl::VStorage< T >::storage_.
TConstReference lass::num::impl::VStorage< T >::operator[] | ( | TSize | iIndex | ) | const [inline] |
Definition at line 71 of file vector_expressions.h.
References LASS_ASSERT, lass::num::impl::VStorage< T >::size(), and lass::num::impl::VStorage< T >::storage_.
TSize lass::num::impl::VStorage< T >::size | ( | ) | const [inline] |
Definition at line 72 of file vector_expressions.h.
References lass::num::impl::VStorage< T >::storage_.
Referenced by lass::num::impl::VStorage< T >::operator[]().
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.
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_.
std::vector<T> lass::num::impl::VStorage< T >::storage_ [private] |
Definition at line 79 of file vector_expressions.h.
Referenced by lass::num::impl::VStorage< T >::operator[](), lass::num::impl::VStorage< T >::resize(), lass::num::impl::VStorage< T >::size(), and lass::num::impl::VStorage< T >::swap().
Generated on Mon Nov 10 14:22:11 2008 for Library of Assembled Shared Sources by 1.5.7.1 |