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

Automatic (stack-compatible) vector storage that allows direct access to dimension fields. More...

#include <Storage.h>

Inheritance diagram for honey::vec::priv::StorageFields< Subclass >:
Inheritance graph
[legend]
Collaboration diagram for honey::vec::priv::StorageFields< 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 i) const
 Access vector element at index. More...
 
Realoperator[] (sdt i)
 
const Realoperator() (sdt i) const
 Access vector element at index. More...
 
Realoperator() (sdt i)
 
const Realoperator() (sdt row, sdt col) const
 Access vector element with (row, column) More...
 
Realoperator() (sdt row, sdt col)
 
sdt rows () const
 
sdt cols () const
 
sdt size () const
 
Realdata ()
 
const Realdata () const
 
- 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::vec::priv::StorageFields< Subclass >

Automatic (stack-compatible) vector storage that allows direct access to dimension fields.

Member Typedef Documentation

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

Member Function Documentation

template<class Subclass >
sdt honey::vec::priv::StorageFields< Subclass >::cols ( ) const
inline
template<class Subclass >
Real* honey::vec::priv::StorageFields< Subclass >::data ( )
inline
template<class Subclass >
const Real* honey::vec::priv::StorageFields< Subclass >::data ( ) const
inline
template<class Subclass >
const Real& honey::vec::priv::StorageFields< Subclass >::operator() ( sdt  i) const
inline

Access vector element at index.

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

Access vector element with (row, column)

template<class Subclass >
Real& honey::vec::priv::StorageFields< Subclass >::operator() ( sdt  row,
sdt  col 
)
inline
template<class Subclass >
const Real& honey::vec::priv::StorageFields< Subclass >::operator[] ( sdt  i) const
inline

Access vector element at index.

template<class Subclass >
Real& honey::vec::priv::StorageFields< Subclass >::operator[] ( sdt  i)
inline
template<class Subclass >
sdt honey::vec::priv::StorageFields< Subclass >::rows ( ) const
inline
template<class Subclass >
sdt honey::vec::priv::StorageFields< Subclass >::size ( ) const
inline

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