Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
MapBase< Derived, ReadOnlyAccessors > Class Template Reference

#include <MapBase.h>

Inheritance diagram for MapBase< Derived, ReadOnlyAccessors >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, SizeAtCompileTime = Base::SizeAtCompileTime }
typedef
internal::dense_xpr_base
< Derived >::type 
Base
typedef Base::CoeffReturnType CoeffReturnType
typedef internal::traits
< Derived >::Index 
Index
typedef
internal::packet_traits
< Scalar >::type 
PacketScalar
typedef internal::conditional
< bool(internal::is_lvalue
< Derived >::value), Scalar
*, const Scalar * >::type 
PointerType
typedef NumTraits< Scalar >::Real RealScalar
typedef internal::traits
< Derived >::Scalar 
Scalar
typedef internal::traits
< Derived >::StorageKind 
StorageKind

Public Member Functions

const Scalarcoeff (Index row, Index col) const
const Scalarcoeff (Index index) const
const ScalarcoeffRef (Index row, Index col) const
const ScalarcoeffRef (Index index) const
Index cols () const
const Scalardata () const
 MapBase (PointerType data)
 MapBase (PointerType data, Index size)
 MapBase (PointerType data, Index rows, Index cols)
template<int LoadMode>
PacketScalar packet (Index row, Index col) const
template<int LoadMode>
PacketScalar packet (Index index) const
Index rows () const

Protected Member Functions

void checkSanity () const

Protected Attributes

const
internal::variable_if_dynamic
< Index, ColsAtCompileTime
m_cols
PointerType m_data
const
internal::variable_if_dynamic
< Index, RowsAtCompileTime
m_rows

Detailed Description

template<typename Derived>
class MapBase< Derived, ReadOnlyAccessors >

Definition at line 41 of file MapBase.h.


Member Typedef Documentation

template<typename Derived >
typedef internal::dense_xpr_base<Derived>::type MapBase< Derived, ReadOnlyAccessors >::Base

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 46 of file MapBase.h.

template<typename Derived >
typedef Base::CoeffReturnType MapBase< Derived, ReadOnlyAccessors >::CoeffReturnType

Definition at line 91 of file MapBase.h.

template<typename Derived >
typedef internal::traits<Derived>::Index MapBase< Derived, ReadOnlyAccessors >::Index

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 54 of file MapBase.h.

template<typename Derived >
typedef internal::packet_traits<Scalar>::type MapBase< Derived, ReadOnlyAccessors >::PacketScalar

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 56 of file MapBase.h.

template<typename Derived >
typedef internal::conditional< bool(internal::is_lvalue<Derived>::value), Scalar *, const Scalar *>::type MapBase< Derived, ReadOnlyAccessors >::PointerType

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 62 of file MapBase.h.

template<typename Derived >
typedef NumTraits<Scalar>::Real MapBase< Derived, ReadOnlyAccessors >::RealScalar

Definition at line 57 of file MapBase.h.

template<typename Derived >
typedef internal::traits<Derived>::Scalar MapBase< Derived, ReadOnlyAccessors >::Scalar

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 55 of file MapBase.h.

template<typename Derived >
typedef internal::traits<Derived>::StorageKind MapBase< Derived, ReadOnlyAccessors >::StorageKind

Definition at line 53 of file MapBase.h.


Member Enumeration Documentation

template<typename Derived >
anonymous enum
Enumerator:
RowsAtCompileTime 
ColsAtCompileTime 
SizeAtCompileTime 

Definition at line 47 of file MapBase.h.


Constructor & Destructor Documentation

template<typename Derived >
MapBase< Derived, ReadOnlyAccessors >::MapBase ( PointerType  data) [inline]

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 140 of file MapBase.h.

template<typename Derived >
MapBase< Derived, ReadOnlyAccessors >::MapBase ( PointerType  data,
Index  size 
) [inline]

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 146 of file MapBase.h.

template<typename Derived >
MapBase< Derived, ReadOnlyAccessors >::MapBase ( PointerType  data,
Index  rows,
Index  cols 
) [inline]

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 157 of file MapBase.h.


Member Function Documentation

template<typename Derived >
void MapBase< Derived, ReadOnlyAccessors >::checkSanity ( ) const [inline, protected]

Definition at line 168 of file MapBase.h.

template<typename Derived >
const Scalar& MapBase< Derived, ReadOnlyAccessors >::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 104 of file MapBase.h.

template<typename Derived >
const Scalar& MapBase< Derived, ReadOnlyAccessors >::coeff ( Index  index) const [inline]

Definition at line 109 of file MapBase.h.

template<typename Derived >
const Scalar& MapBase< Derived, ReadOnlyAccessors >::coeffRef ( Index  row,
Index  col 
) const [inline]

Definition at line 115 of file MapBase.h.

template<typename Derived >
const Scalar& MapBase< Derived, ReadOnlyAccessors >::coeffRef ( Index  index) const [inline]

Definition at line 120 of file MapBase.h.

template<typename Derived >
Index MapBase< Derived, ReadOnlyAccessors >::cols ( void  ) const [inline]

Definition at line 94 of file MapBase.h.

template<typename Derived >
const Scalar* MapBase< Derived, ReadOnlyAccessors >::data ( ) const [inline]

Returns a pointer to the first coefficient of the matrix or vector.

Note:
When addressing this data, make sure to honor the strides returned by innerStride() and outerStride().
See also:
innerStride(), outerStride()

Reimplemented in MapBase< Derived, WriteAccessors >.

Definition at line 102 of file MapBase.h.

template<typename Derived >
template<int LoadMode>
PacketScalar MapBase< Derived, ReadOnlyAccessors >::packet ( Index  row,
Index  col 
) const [inline]

Definition at line 127 of file MapBase.h.

template<typename Derived >
template<int LoadMode>
PacketScalar MapBase< Derived, ReadOnlyAccessors >::packet ( Index  index) const [inline]

Definition at line 134 of file MapBase.h.

template<typename Derived >
Index MapBase< Derived, ReadOnlyAccessors >::rows ( void  ) const [inline]

Definition at line 93 of file MapBase.h.


Member Data Documentation

template<typename Derived >
const internal::variable_if_dynamic<Index, ColsAtCompileTime> MapBase< Derived, ReadOnlyAccessors >::m_cols [protected]

Definition at line 179 of file MapBase.h.

template<typename Derived >
PointerType MapBase< Derived, ReadOnlyAccessors >::m_data [protected]

Definition at line 177 of file MapBase.h.

template<typename Derived >
const internal::variable_if_dynamic<Index, RowsAtCompileTime> MapBase< Derived, ReadOnlyAccessors >::m_rows [protected]

Definition at line 178 of file MapBase.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:21