Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
honey::matrix::priv::StorageDense< Subclass > Struct Template Reference

#include <Storage.h>

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

Public Types

typedef Traits< Subclass >::Real Real
 
typedef Traits< Subclass >::ElemT ElemT
 
typedef Traits< Subclass >::Alloc Alloc
 

Public Member Functions

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 ()
 

Static Public Attributes

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

void assertIndex (sdt i) const
 
void assertIndex (sdt row, sdt col) const
 
void assertSize (sdt size) const
 
void assertSize (sdt rows, sdt cols) const
 

Member Typedef Documentation

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

Member Function Documentation

template<class Subclass>
void honey::matrix::priv::StorageDense< Subclass >::assertIndex ( sdt  i) const
inlineprotected
template<class Subclass>
void honey::matrix::priv::StorageDense< Subclass >::assertIndex ( sdt  row,
sdt  col 
) const
inlineprotected
template<class Subclass>
void honey::matrix::priv::StorageDense< Subclass >::assertSize ( sdt  size) const
inlineprotected
template<class Subclass>
void honey::matrix::priv::StorageDense< Subclass >::assertSize ( sdt  rows,
sdt  cols 
) const
inlineprotected
template<class Subclass>
sdt honey::matrix::priv::StorageDense< Subclass >::cols ( ) const
inline
template<class Subclass>
const ElemT* honey::matrix::priv::StorageDense< Subclass >::data ( ) const
inline
template<class Subclass>
ElemT* honey::matrix::priv::StorageDense< Subclass >::data ( )
inline
template<class Subclass>
honey::matrix::priv::StorageDense< Subclass >::operator const ElemT * ( ) const
inline
template<class Subclass>
honey::matrix::priv::StorageDense< Subclass >::operator ElemT * ( )
inline

Cast to array.

template<class Subclass>
const ElemT& honey::matrix::priv::StorageDense< Subclass >::operator() ( sdt  row,
sdt  col 
) const
inline
template<class Subclass>
ElemT& honey::matrix::priv::StorageDense< Subclass >::operator() ( sdt  row,
sdt  col 
)
inline
template<class Subclass>
void honey::matrix::priv::StorageDense< Subclass >::resize ( sdt  rows,
sdt  cols 
)
inline

Default resize, just asserts that fixed dimensions match args.

template<class Subclass>
sdt honey::matrix::priv::StorageDense< Subclass >::rows ( ) const
inline
template<class Subclass>
sdt honey::matrix::priv::StorageDense< Subclass >::size ( ) const
inline
template<class Subclass>
const Subclass& honey::matrix::priv::StorageDense< Subclass >::subc ( ) const
inline

Get the subclass that inherited from this base class.

template<class Subclass>
Subclass& honey::matrix::priv::StorageDense< Subclass >::subc ( )
inline

Member Data Documentation

template<class Subclass>
const int honey::matrix::priv::StorageDense< Subclass >::options = Traits<Subclass>::options
static
template<class Subclass>
const sdt honey::matrix::priv::StorageDense< Subclass >::s_cols = Traits<Subclass>::cols
static
template<class Subclass>
const sdt honey::matrix::priv::StorageDense< Subclass >::s_rows = Traits<Subclass>::rows
static
template<class Subclass>
const sdt honey::matrix::priv::StorageDense< Subclass >::s_size = s_rows != dynamic && s_cols != dynamic ? s_rows*s_cols : dynamic
static

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