Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | List of all members
honey::matrix::priv::StorageAuto< Subclass > Class Template Reference

Automatic (stack-compatible) dense storage. More...

#include <Storage.h>

Inheritance diagram for honey::matrix::priv::StorageAuto< Subclass >:
Inheritance graph
[legend]
Collaboration diagram for honey::matrix::priv::StorageAuto< Subclass >:
Collaboration graph
[legend]

Public Types

typedef Traits< Subclass >::Real Real
 
- Public Types inherited from honey::matrix::priv::StorageDense< Subclass >
typedef Traits< Subclass >::Real Real
 
typedef Traits< Subclass >::ElemT ElemT
 
typedef Traits< Subclass >::Alloc Alloc
 

Public Member Functions

const Realoperator[] (sdt row) const
 Access matrix element with [row][column]. More...
 
Realoperator[] (sdt row)
 
const Realoperator() (sdt i) const
 Access matrix element at index. More...
 
Realoperator() (sdt i)
 
const Realoperator() (sdt row, sdt col) const
 Access matrix element with (row, column) More...
 
Realoperator() (sdt row, sdt col)
 
sdt rows () const
 
sdt cols () const
 
sdt size () const
 
const Realdata () const
 Get as array. More...
 
Realdata ()
 
- Public Member Functions inherited from honey::matrix::priv::StorageDense< Subclass >
const ElemToperator() (sdt row, sdt col) const
 
ElemToperator() (sdt row, sdt col)
 
void resize (sdt rows, sdt cols)
 Default resize, just asserts that fixed dimensions match args. More...
 
sdt rows () const
 
sdt cols () const
 
sdt size () const
 
const ElemTdata () const
 
ElemTdata ()
 
 operator ElemT * ()
 Cast to array. More...
 
 operator const ElemT * () const
 
const Subclass & subc () const
 Get the subclass that inherited from this base class. More...
 
Subclass & subc ()
 

Additional Inherited Members

- Static Public Attributes inherited from honey::matrix::priv::StorageDense< Subclass >
static const sdt s_rows = Traits<Subclass>::rows
 
static const sdt s_cols = Traits<Subclass>::cols
 
static const sdt s_size = s_rows != dynamic && s_cols != dynamic ? s_rows*s_cols : dynamic
 
static const int options = Traits<Subclass>::options
 
- Protected Member Functions inherited from honey::matrix::priv::StorageDense< Subclass >
void assertIndex (sdt i) const
 
void assertIndex (sdt row, sdt col) const
 
void assertSize (sdt size) const
 
void assertSize (sdt rows, sdt cols) const
 

Detailed Description

template<class Subclass>
class honey::matrix::priv::StorageAuto< Subclass >

Automatic (stack-compatible) dense storage.

Member Typedef Documentation

template<class Subclass >
typedef Traits<Subclass>::Real honey::matrix::priv::StorageDense< Subclass >::Real

Member Function Documentation

template<class Subclass >
sdt honey::matrix::priv::StorageAuto< Subclass >::cols ( ) const
inline
template<class Subclass >
const Real* honey::matrix::priv::StorageAuto< Subclass >::data ( ) const
inline

Get as array.

template<class Subclass >
Real* honey::matrix::priv::StorageAuto< Subclass >::data ( )
inline
template<class Subclass >
const Real& honey::matrix::priv::StorageAuto< Subclass >::operator() ( sdt  i) const
inline

Access matrix element at index.

template<class Subclass >
Real& honey::matrix::priv::StorageAuto< Subclass >::operator() ( sdt  i)
inline
template<class Subclass >
const Real& honey::matrix::priv::StorageAuto< Subclass >::operator() ( sdt  row,
sdt  col 
) const
inline

Access matrix element with (row, column)

template<class Subclass >
Real& honey::matrix::priv::StorageAuto< Subclass >::operator() ( sdt  row,
sdt  col 
)
inline
template<class Subclass >
const Real* honey::matrix::priv::StorageAuto< Subclass >::operator[] ( sdt  row) const
inline

Access matrix element with [row][column].

template<class Subclass >
Real* honey::matrix::priv::StorageAuto< Subclass >::operator[] ( sdt  row)
inline
template<class Subclass >
sdt honey::matrix::priv::StorageAuto< Subclass >::rows ( ) const
inline
template<class Subclass >
sdt honey::matrix::priv::StorageAuto< Subclass >::size ( ) const
inline

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