User Manual, Developers Guide and API Documentation

wns::container::wns::container::Matrix< T, 1, R > Class Template Reference

One dimensional specialization of Matrix.

#include <container/Matrix.hpp>

Inheritance diagram for wns::container::wns::container::Matrix< T, 1, R >:

Inheritance graph
[legend]
Collaboration diagram for wns::container::wns::container::Matrix< T, 1, R >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef const ValueTypeConstReference
 Constant reference to the next hyperplane (what is returned after [] has been applied once).
typedef SuperType::IndexType IndexType
 The type of indexes in the [] operator.
typedef ValueTypeReference
 Reference to the next hyperplane (what is returned after [] has been applied once).
typedef
MultiAccessibleDefs::SizeType 
SizeType
 The type for sizes used in this class.
typedef SuperType::ValueType ValueType
 The type of the values that are accessed.

Public Member Functions

virtual SizeType dimSize (const SizeType &dim) const
 Get the size of a dimension.
virtual SizeType getSize (const SizeType &dim) const
virtual bool isEmpty () const
 Check if the matrix is empty.
 Matrix (const SizeType sizes[1], const ValueType defaultValue=ValueType())
 Matrix ()
virtual bool operator!= (const Matrix &other) const
virtual bool operator== (const Matrix &other) const
virtual SuperType::ReturnType operator[] (const IndexType &index) const
virtual Reference operator[] (const IndexType &index)
virtual ~Matrix ()

Private Types

typedef
MultiReadWriteAccessible< T,
1, R > 
SuperType

Private Attributes

std::vector< ValueTypev


Detailed Description

template<typename T, typename R>
class wns::container::wns::container::Matrix< T, 1, R >

Definition at line 149 of file Matrix.hpp.


Member Typedef Documentation

template<typename T, typename R>
typedef const ValueType& wns::container::wns::container::Matrix< T, 1, R >::ConstReference

Reimplemented from wns::container::MultiReadAccessible< T, N, R, I >.

Definition at line 159 of file Matrix.hpp.

template<typename T, typename R>
typedef SuperType::IndexType wns::container::wns::container::Matrix< T, 1, R >::IndexType

Reimplemented from wns::container::MultiReadWriteAccessible< T, 1, R >.

Definition at line 155 of file Matrix.hpp.

template<typename T, typename R>
typedef ValueType& wns::container::wns::container::Matrix< T, 1, R >::Reference

Reimplemented from wns::container::MultiWriteAccessible< T, N, I >.

Definition at line 158 of file Matrix.hpp.

template<typename T, typename R>
typedef MultiAccessibleDefs::SizeType wns::container::wns::container::Matrix< T, 1, R >::SizeType

Reimplemented from wns::container::MultiReadWriteAccessible< T, 1, R >.

Definition at line 156 of file Matrix.hpp.

template<typename T, typename R>
typedef MultiReadWriteAccessible<T, 1, R> wns::container::wns::container::Matrix< T, 1, R >::SuperType [private]

Definition at line 152 of file Matrix.hpp.

template<typename T, typename R>
typedef SuperType::ValueType wns::container::wns::container::Matrix< T, 1, R >::ValueType

Reimplemented from wns::container::MultiReadWriteAccessible< T, 1, R >.

Definition at line 154 of file Matrix.hpp.


Constructor & Destructor Documentation

template<typename T, typename R>
virtual wns::container::wns::container::Matrix< T, 1, R >::~Matrix (  )  [inline, virtual]

Definition at line 173 of file Matrix.hpp.


Member Function Documentation

template<typename T, typename R>
virtual SizeType wns::container::wns::container::Matrix< T, 1, R >::dimSize ( const SizeType dim  )  const [inline, virtual]

Parameters:
dim (in) The dimension to get the size for.
Returns:
Size of dimension dim.

Implements wns::container::MultiReadWriteAccessible< T, 1, R >.

Definition at line 219 of file Matrix.hpp.

template<typename T, typename R>
virtual SizeType wns::container::wns::container::Matrix< T, 1, R >::getSize ( const SizeType dim  )  const [inline, virtual]

Definition at line 212 of file Matrix.hpp.

template<typename T, typename R>
virtual bool wns::container::wns::container::Matrix< T, 1, R >::isEmpty (  )  const [inline, virtual]

Definition at line 231 of file Matrix.hpp.

template<typename T, typename R>
wns::container::wns::container::Matrix< T, 1, R >::Matrix ( const SizeType  sizes[1],
const ValueType  defaultValue = ValueType() 
) [inline]

Definition at line 166 of file Matrix.hpp.

template<typename T, typename R>
wns::container::wns::container::Matrix< T, 1, R >::Matrix (  )  [inline]

Definition at line 161 of file Matrix.hpp.

template<typename T, typename R>
virtual bool wns::container::wns::container::Matrix< T, 1, R >::operator!= ( const Matrix< T, 1, R > &  other  )  const [inline, virtual]

Definition at line 190 of file Matrix.hpp.

template<typename T, typename R>
virtual bool wns::container::wns::container::Matrix< T, 1, R >::operator== ( const Matrix< T, 1, R > &  other  )  const [inline, virtual]

Definition at line 177 of file Matrix.hpp.

template<typename T, typename R>
virtual SuperType::ReturnType wns::container::wns::container::Matrix< T, 1, R >::operator[] ( const IndexType index  )  const [inline, virtual]

Definition at line 204 of file Matrix.hpp.

template<typename T, typename R>
virtual Reference wns::container::wns::container::Matrix< T, 1, R >::operator[] ( const IndexType index  )  [inline, virtual]

Definition at line 196 of file Matrix.hpp.


Member Data Documentation

template<typename T, typename R>
std::vector<ValueType> wns::container::wns::container::Matrix< T, 1, R >::v [private]

Definition at line 237 of file Matrix.hpp.


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

Generated on Sat May 26 03:32:52 2012 for openWNS by  doxygen 1.5.5