unwrap_check< Row< eT > > Class Template Reference
[Unwrap]

#include <unwrap.hpp>

List of all members.

Public Member Functions

 unwrap_check (const Row< eT > &A, const Mat< eT > &B)
 ~unwrap_check ()

Public Attributes

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

Detailed Description

template<typename eT>
class unwrap_check< Row< eT > >

Definition at line 183 of file unwrap.hpp.


Constructor & Destructor Documentation

template<typename eT >
unwrap_check< Row< eT > >::unwrap_check ( const Row< eT > &  A,
const Mat< eT > &  B 
) [inline]

Definition at line 188 of file unwrap.hpp.

00189     : M_local( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? new Row<eT>(A) : 0 )
00190     , M      ( (&A == reinterpret_cast<const Row<eT>*>(&B)) ? (*M_local)     : A )
00191     {
00192     arma_extra_debug_sigprint();
00193     }

template<typename eT >
unwrap_check< Row< eT > >::~unwrap_check (  )  [inline]

Definition at line 197 of file unwrap.hpp.

00198     {
00199     arma_extra_debug_sigprint();
00200     
00201     if(M_local)
00202       {
00203       delete M_local;
00204       }
00205     }


Member Data Documentation

template<typename eT >
const Row<eT>* unwrap_check< Row< eT > >::M_local

Definition at line 209 of file unwrap.hpp.

template<typename eT >
const Row<eT>& unwrap_check< Row< eT > >::M

Definition at line 210 of file unwrap.hpp.