unwrap_cube_write< T1 > Class Template Reference
[Unwrap_cube]

if the given object in not a cube, unwrap it into the given 'out' cube (i.e. do not create another cube) and provide a reference to the 'out' cube. if the given object is a cube, set the size of the 'out' cube to be the same as the given object and provide a reference to the given object. More...

#include <unwrap_cube.hpp>

List of all members.

Private Member Functions

template<typename eT >
 unwrap_cube_write (Cube< eT > &out, const T1 &in)

Detailed Description

template<typename T1>
class unwrap_cube_write< T1 >

if the given object in not a cube, unwrap it into the given 'out' cube (i.e. do not create another cube) and provide a reference to the 'out' cube. if the given object is a cube, set the size of the 'out' cube to be the same as the given object and provide a reference to the given object.

Definition at line 239 of file unwrap_cube.hpp.


Constructor & Destructor Documentation

template<typename T1>
template<typename eT >
unwrap_cube_write< T1 >::unwrap_cube_write ( Cube< eT > &  out,
const T1 &  in 
) [inline, private]