unwrap_cube_check< Cube< eT > > Class Template Reference
[Unwrap_cube]

#include <unwrap_cube.hpp>

List of all members.

Public Member Functions

 unwrap_cube_check (const Cube< eT > &A, const Cube< eT > &B)
 ~unwrap_cube_check ()

Public Attributes

const Cube< eT > * M_local
const Cube< eT > & M

Detailed Description

template<typename eT>
class unwrap_cube_check< Cube< eT > >

Definition at line 84 of file unwrap_cube.hpp.


Constructor & Destructor Documentation

template<typename eT >
unwrap_cube_check< Cube< eT > >::unwrap_cube_check ( const Cube< eT > &  A,
const Cube< eT > &  B 
) [inline]

Definition at line 89 of file unwrap_cube.hpp.

00090     : M_local( (&A == &B) ? new Cube<eT>(A) : 0 )
00091     , M      ( (&A == &B) ? (*M_local)      : A )
00092     {
00093     arma_extra_debug_sigprint();
00094     }

template<typename eT >
unwrap_cube_check< Cube< eT > >::~unwrap_cube_check (  )  [inline]

Definition at line 98 of file unwrap_cube.hpp.

00099     {
00100     arma_extra_debug_sigprint();
00101     
00102     if(M_local)
00103       {
00104       delete M_local;
00105       }
00106     }


Member Data Documentation

template<typename eT >
const Cube<eT>* unwrap_cube_check< Cube< eT > >::M_local

Definition at line 110 of file unwrap_cube.hpp.

template<typename eT >
const Cube<eT>& unwrap_cube_check< Cube< eT > >::M

Definition at line 111 of file unwrap_cube.hpp.