RVL::LocalDataContainerSection< DataType > Class Template Reference

A view of a contiguous portion of another LDC. More...

#include <localdata.hh>

Inheritance diagram for RVL::LocalDataContainerSection< DataType >:

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

Public Member Functions

 LocalDataContainerSection (const LocalDataContainerSection< DataType > &D)
 Copy constructor copies reference.
 LocalDataContainerSection (LocalDataContainer< DataType > &_src, size_t _begin, size_t _length)
 Main constructor: initializes source LDC reference, begin index, length.
virtual ~LocalDataContainerSection ()
size_t getSize () const
DataType * getData ()
DataType const * getData () const
ostream & write (ostream &str) const

Detailed Description

template<class DataType>
class RVL::LocalDataContainerSection< DataType >

A view of a contiguous portion of another LDC.

Definition at line 178 of file localdata.hh.


Constructor & Destructor Documentation

template<class DataType>
RVL::LocalDataContainerSection< DataType >::LocalDataContainerSection ( const LocalDataContainerSection< DataType > &  D  ) 

Copy constructor copies reference.

Refers to same source LDC.

Definition at line 189 of file localdata.hh.

template<class DataType>
RVL::LocalDataContainerSection< DataType >::LocalDataContainerSection ( LocalDataContainer< DataType > &  _src,
size_t  _begin,
size_t  _length 
)

Main constructor: initializes source LDC reference, begin index, length.

Checks that section is legal.

Definition at line 193 of file localdata.hh.

template<class DataType>
virtual RVL::LocalDataContainerSection< DataType >::~LocalDataContainerSection (  )  [virtual]

Definition at line 206 of file localdata.hh.


Member Function Documentation

template<class DataType>
size_t RVL::LocalDataContainerSection< DataType >::getSize (  )  const [virtual]

Implements RVL::LocalDataContainer< DataType >.

Definition at line 208 of file localdata.hh.

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

Implements RVL::LocalDataContainer< DataType >.

Definition at line 209 of file localdata.hh.

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

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

Implements RVL::LocalDataContainer< DataType >.

Definition at line 210 of file localdata.hh.

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

Implements RVL::Writeable.

Definition at line 212 of file localdata.hh.

References RVL::LocalDataContainerSection< DataType >::getData().


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