#include <localproduct.hh>
Inheritance diagram for RVL::PartitionedLocalDataContainer< DataType >:
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 |
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.
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.
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.
RVL::PartitionedLocalDataContainer< DataType >::~PartitionedLocalDataContainer | ( | ) |
Definition at line 183 of file localproduct.hh.
int RVL::PartitionedLocalDataContainer< DataType >::getSize | ( | ) | const [virtual] |
delegates getSize()
Implements RVL::LocalDataContainer< DataType >.
Definition at line 190 of file localproduct.hh.
DataType* RVL::PartitionedLocalDataContainer< DataType >::getData | ( | ) | [virtual] |
delegates getData()
Implements RVL::LocalDataContainer< DataType >.
Definition at line 193 of file localproduct.hh.
DataType const* RVL::PartitionedLocalDataContainer< DataType >::getData | ( | ) | const [virtual] |
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().
LocalDataContainer<DataType>& RVL::PartitionedLocalDataContainer< DataType >::operator[] | ( | int | i | ) | [virtual] |
Implements RVL::ProductLocalDataContainer< DataType >.
Definition at line 197 of file localproduct.hh.
LocalDataContainer<DataType> const& RVL::PartitionedLocalDataContainer< DataType >::operator[] | ( | int | i | ) | const [virtual] |
Implements RVL::ProductLocalDataContainer< DataType >.
Definition at line 207 of file localproduct.hh.
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().