RVL::PartitionedLocalDataContainer< DataType > Class Template Reference

ProductLocalDataContainer made by dicing up a LocalDataContainer. More...

#include <localproduct.hh>

Inheritance diagram for RVL::PartitionedLocalDataContainer< DataType >:

RVL::ProductLocalDataContainer< DataType > RVL::LocalDataContainer< DataType > RVL::DataContainer RVL::Writeable List of all members.

Public Member Functions

 PartitionedLocalDataContainer (const PartitionedLocalDataContainer< DataType > &p)
 Copy constructor.
 PartitionedLocalDataContainer (LocalDataContainer< DataType > &_ldc, vector< int > _k)
 Main constructor.
 ~PartitionedLocalDataContainer ()
int getSize () const
 delegates getSize()
DataType * getData ()
 delegates getData()
DataType const * getData () const
int getNumberOfComponents () const
LocalDataContainer< DataType > & operator[] (int i)
LocalDataContainer< DataType
> const & 
operator[] (int i) const
ostream & write (ostream &str) const

Detailed Description

template<class DataType>
class RVL::PartitionedLocalDataContainer< DataType >

ProductLocalDataContainer made by dicing up a LocalDataContainer.

It is possible to treat the data as either a single array or as a block structured array.

Definition at line 120 of file localproduct.hh.


Constructor & Destructor Documentation

template<class DataType>
RVL::PartitionedLocalDataContainer< DataType >::PartitionedLocalDataContainer ( const PartitionedLocalDataContainer< DataType > &  p  ) 

Copy constructor.

Makes new vector of pointers to the components.

Definition at line 135 of file localproduct.hh.

template<class DataType>
RVL::PartitionedLocalDataContainer< DataType >::PartitionedLocalDataContainer ( LocalDataContainer< DataType > &  _ldc,
vector< int >  _k 
)

Main constructor.

Creates STL vector of LocalDataContainerSection *'s.

Definition at line 152 of file localproduct.hh.

template<class DataType>
RVL::PartitionedLocalDataContainer< DataType >::~PartitionedLocalDataContainer (  ) 

Definition at line 183 of file localproduct.hh.


Member Function Documentation

template<class DataType>
int RVL::PartitionedLocalDataContainer< DataType >::getSize (  )  const [virtual]

delegates getSize()

Implements RVL::LocalDataContainer< DataType >.

Definition at line 190 of file localproduct.hh.

template<class DataType>
DataType* RVL::PartitionedLocalDataContainer< DataType >::getData (  )  [virtual]

delegates getData()

Implements RVL::LocalDataContainer< DataType >.

Definition at line 193 of file localproduct.hh.

template<class DataType>
DataType const* RVL::PartitionedLocalDataContainer< DataType >::getData (  )  const [virtual]

Implements RVL::LocalDataContainer< DataType >.

Definition at line 194 of file localproduct.hh.

template<class DataType>
int RVL::PartitionedLocalDataContainer< DataType >::getNumberOfComponents (  )  const [virtual]

Implements RVL::ProductLocalDataContainer< DataType >.

Definition at line 196 of file localproduct.hh.

Referenced by RVL::PartitionedLocalDataContainer< DataType >::write().

template<class DataType>
LocalDataContainer<DataType>& RVL::PartitionedLocalDataContainer< DataType >::operator[] ( int  i  )  [virtual]

Implements RVL::ProductLocalDataContainer< DataType >.

Definition at line 197 of file localproduct.hh.

template<class DataType>
LocalDataContainer<DataType> const& RVL::PartitionedLocalDataContainer< DataType >::operator[] ( int  i  )  const [virtual]

Implements RVL::ProductLocalDataContainer< DataType >.

Definition at line 207 of file localproduct.hh.

template<class DataType>
ostream& RVL::PartitionedLocalDataContainer< DataType >::write ( ostream &  str  )  const [virtual]

Implements RVL::Writeable.

Definition at line 217 of file localproduct.hh.

References RVL::PartitionedLocalDataContainer< DataType >::getNumberOfComponents().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for LocalRVL by  doxygen 1.4.7