Public Types | Public Member Functions

MapBase< Derived, WriteAccessors > Class Template Reference

#include <MapBase.h>

Inheritance diagram for MapBase< Derived, WriteAccessors >:
MapBase< Derived, ReadOnlyAccessors >

List of all members.

Public Types

typedef MapBase< Derived,
ReadOnlyAccessors > 
Base
typedef Base::Scalar Scalar
typedef Base::PacketScalar PacketScalar
typedef Base::Index Index
typedef Base::PointerType PointerType
typedef internal::conditional
< internal::is_lvalue< Derived >
::value, Scalar, const Scalar >
::type 
ScalarWithConstIfNotLvalue

Public Member Functions

const Scalardata () const
ScalarWithConstIfNotLvaluedata ()
ScalarWithConstIfNotLvaluecoeffRef (Index row, Index col)
ScalarWithConstIfNotLvaluecoeffRef (Index index)
template<int StoreMode>
void writePacket (Index row, Index col, const PacketScalar &x)
template<int StoreMode>
void writePacket (Index index, const PacketScalar &x)
 MapBase (PointerType data)
 MapBase (PointerType data, Index size)
 MapBase (PointerType data, Index rows, Index cols)
Derived & operator= (const MapBase &other)

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


Member Typedef Documentation

template<typename Derived >
typedef MapBase<Derived, ReadOnlyAccessors> MapBase< Derived, WriteAccessors >::Base
template<typename Derived >
typedef Base::Index MapBase< Derived, WriteAccessors >::Index
template<typename Derived >
typedef Base::PacketScalar MapBase< Derived, WriteAccessors >::PacketScalar
template<typename Derived >
typedef Base::PointerType MapBase< Derived, WriteAccessors >::PointerType
template<typename Derived >
typedef Base::Scalar MapBase< Derived, WriteAccessors >::Scalar
template<typename Derived >
typedef internal::conditional< internal::is_lvalue<Derived>::value, Scalar, const Scalar >::type MapBase< Derived, WriteAccessors >::ScalarWithConstIfNotLvalue

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename Derived >
ScalarWithConstIfNotLvalue& MapBase< Derived, WriteAccessors >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename Derived >
ScalarWithConstIfNotLvalue& MapBase< Derived, WriteAccessors >::coeffRef ( Index  index  )  [inline]
template<typename Derived >
ScalarWithConstIfNotLvalue* MapBase< Derived, WriteAccessors >::data (  )  [inline]
template<typename Derived >
const Scalar* MapBase< Derived, WriteAccessors >::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 from MapBase< Derived, ReadOnlyAccessors >.

template<typename Derived >
Derived& MapBase< Derived, WriteAccessors >::operator= ( const MapBase< Derived, WriteAccessors > &  other  )  [inline]
template<typename Derived >
template<int StoreMode>
void MapBase< Derived, WriteAccessors >::writePacket ( Index  row,
Index  col,
const PacketScalar x 
) [inline]
template<typename Derived >
template<int StoreMode>
void MapBase< Derived, WriteAccessors >::writePacket ( Index  index,
const PacketScalar x 
) [inline]

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