library of assembled shared sources

http://lass.cocamware.com

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

#include <matrix_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

 MStorage ()
 MStorage (TSize iRows, TSize iCols)
TConstReference operator() (TSize iI, TSize iJ) const
TReference operator() (TSize iI, TSize iJ)
TSize rows () const
TSize columns () const
void resize (TSize iRows, TSize iCols)
void swap (MStorage< T > &iOther)
std::vector< T >::iterator rowMajor ()
std::vector< T >::const_iterator rowMajor () const

Private Attributes

std::vector< T > storage_
TSize rows_
TSize cols_


Detailed Description

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

Definition at line 60 of file matrix_expressions.h.


Member Typedef Documentation

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

Definition at line 64 of file matrix_expressions.h.

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

Definition at line 65 of file matrix_expressions.h.

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

Definition at line 66 of file matrix_expressions.h.

Definition at line 67 of file matrix_expressions.h.

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

Definition at line 68 of file matrix_expressions.h.


Member Enumeration Documentation

template<typename T >
anonymous enum

Enumerator:
lvalue 

Definition at line 63 of file matrix_expressions.h.


Constructor & Destructor Documentation

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

Definition at line 70 of file matrix_expressions.h.

template<typename T >
lass::num::impl::MStorage< T >::MStorage ( TSize  iRows,
TSize  iCols 
) [inline]

Definition at line 71 of file matrix_expressions.h.


Member Function Documentation

template<typename T >
TConstReference lass::num::impl::MStorage< T >::operator() ( TSize  iI,
TSize  iJ 
) const [inline]

template<typename T >
TReference lass::num::impl::MStorage< T >::operator() ( TSize  iI,
TSize  iJ 
) [inline]

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

Definition at line 74 of file matrix_expressions.h.

References lass::num::impl::MStorage< T >::rows_.

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

Definition at line 75 of file matrix_expressions.h.

References lass::num::impl::MStorage< T >::cols_.

template<typename T >
void lass::num::impl::MStorage< T >::resize ( TSize  iRows,
TSize  iCols 
) [inline]

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

template<typename T >
std::vector<T>::iterator lass::num::impl::MStorage< T >::rowMajor (  )  [inline]

Definition at line 92 of file matrix_expressions.h.

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

template<typename T >
std::vector<T>::const_iterator lass::num::impl::MStorage< T >::rowMajor (  )  const [inline]

Definition at line 93 of file matrix_expressions.h.

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


Field Documentation

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

template<typename T >
TSize lass::num::impl::MStorage< T >::rows_ [private]

template<typename T >
TSize lass::num::impl::MStorage< T >::cols_ [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