mlpack  master
Public Member Functions | Public Attributes | List of all members
mlpack::data::SecondNormalArrayShim< T > Struct Template Reference

A shim for objects in an array which do not have a Serialize() function. More...

Public Member Functions

 SecondNormalArrayShim (T *t, const size_t len)
 Construct the shim. More...
 
template<typename Archive >
void serialize (Archive &ar, const unsigned int)
 A wrapper for make_array(). More...
 

Public Attributes

const size_t len
 
T * t
 

Detailed Description

template<typename T>
struct mlpack::data::SecondNormalArrayShim< T >

A shim for objects in an array which do not have a Serialize() function.

This is like the SecondShim class.

Definition at line 67 of file serialization_shim.hpp.

Constructor & Destructor Documentation

template<typename T>
mlpack::data::SecondNormalArrayShim< T >::SecondNormalArrayShim ( T *  t,
const size_t  len 
)
inline

Construct the shim.

Definition at line 342 of file serialization_shim.hpp.

Member Function Documentation

template<typename T>
template<typename Archive >
void mlpack::data::SecondNormalArrayShim< T >::serialize ( Archive &  ar,
const unsigned  int 
)
inline

A wrapper for make_array().

Definition at line 346 of file serialization_shim.hpp.

Member Data Documentation

template<typename T>
const size_t mlpack::data::SecondNormalArrayShim< T >::len

Definition at line 352 of file serialization_shim.hpp.

template<typename T>
T* mlpack::data::SecondNormalArrayShim< T >::t

Definition at line 351 of file serialization_shim.hpp.


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