ISIS Core Library 0.7.2 (api 3.0.0)
Public Member Functions

isis::data::MemChunkNonDel< TYPE > Class Template Reference

#include <chunk.hpp>

Inheritance diagram for isis::data::MemChunkNonDel< TYPE >:
isis::data::Chunk isis::util::_internal::GenericReference< TYPE_TYPE >

Public Member Functions

 MemChunkNonDel (size_t nrOfColumns, size_t nrOfRows=1, size_t nrOfSlices=1, size_t nrOfTimesteps=1)
 Create an empty MemChunkNoDel with the given size.
template<typename T >
 MemChunkNonDel (const T *const org, size_t nrOfColumns, size_t nrOfRows=1, size_t nrOfSlices=1, size_t nrOfTimesteps=1)
 Create a MemChunkNoDel as copy of a given raw memory block This chunk won't be deleted automatically - HAVE TO BE DELETED MANUALLY This will create a MemChunkNoDel of the given size and fill it with the data at the given address.
 MemChunkNonDel (const Chunk &ref, const util::ValueBase &min, const util::ValueBase &max)
 Create a deep copy of a given Chunk.
 MemChunkNonDel (const MemChunk< TYPE > &ref)
 MemChunkNonDel (const Chunk &ref)
 Create a deep copy of a given Chunk (automatic conversion will be used if datatype does not fit)
MemChunkNonDeloperator= (const MemChunkNonDel< TYPE > &ref)
 Create a deep copy of a given MemChunk (automatic conversion will be used if datatype does not fit)
MemChunkNonDeloperator= (const Chunk &ref)
 Create a deep copy of a given Chunk (automatic conversion will be used if datatype does not fit)

Detailed Description

template<typename TYPE>
class isis::data::MemChunkNonDel< TYPE >

Definition at line 344 of file chunk.hpp.


Constructor & Destructor Documentation

template<typename TYPE>
isis::data::MemChunkNonDel< TYPE >::MemChunkNonDel ( size_t  nrOfColumns,
size_t  nrOfRows = 1,
size_t  nrOfSlices = 1,
size_t  nrOfTimesteps = 1 
) [inline]

Create an empty MemChunkNoDel with the given size.

Definition at line 349 of file chunk.hpp.

template<typename TYPE>
template<typename T >
isis::data::MemChunkNonDel< TYPE >::MemChunkNonDel ( const T *const  org,
size_t  nrOfColumns,
size_t  nrOfRows = 1,
size_t  nrOfSlices = 1,
size_t  nrOfTimesteps = 1 
) [inline]

Create a MemChunkNoDel as copy of a given raw memory block This chunk won't be deleted automatically - HAVE TO BE DELETED MANUALLY This will create a MemChunkNoDel of the given size and fill it with the data at the given address.

No range check will be done. An automatic conversion will be done if necessary.

Parameters:
orgpointer to the raw data which shall be copied
nrOfColumns
nrOfRows
nrOfSlices
nrOfTimestepssize of the resulting image

Definition at line 367 of file chunk.hpp.

template<typename TYPE>
isis::data::MemChunkNonDel< TYPE >::MemChunkNonDel ( const Chunk ref) [inline]

Create a deep copy of a given Chunk (automatic conversion will be used if datatype does not fit)

Definition at line 377 of file chunk.hpp.

template<typename TYPE>
isis::data::MemChunkNonDel< TYPE >::MemChunkNonDel ( const Chunk ref,
const util::ValueBase min,
const util::ValueBase max 
) [inline]

Create a deep copy of a given Chunk.

An automatic conversion used if datatype does not fit

Parameters:
refthe source chunk
min
maxthe value range of the source to be used when the scaling for the conversion is computed

Definition at line 388 of file chunk.hpp.

template<typename TYPE>
isis::data::MemChunkNonDel< TYPE >::MemChunkNonDel ( const MemChunk< TYPE > &  ref) [inline]

Definition at line 392 of file chunk.hpp.


Member Function Documentation

template<typename TYPE>
MemChunkNonDel& isis::data::MemChunkNonDel< TYPE >::operator= ( const Chunk ref) [inline]

Create a deep copy of a given Chunk (automatic conversion will be used if datatype does not fit)

Reimplemented from isis::data::Chunk.

Definition at line 397 of file chunk.hpp.

template<typename TYPE>
MemChunkNonDel& isis::data::MemChunkNonDel< TYPE >::operator= ( const MemChunkNonDel< TYPE > &  ref) [inline]

Create a deep copy of a given MemChunk (automatic conversion will be used if datatype does not fit)

Definition at line 406 of file chunk.hpp.


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