mlpack  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
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 66 of file serialization_shim.hpp.

Constructor & Destructor Documentation

SecondNormalArrayShim ( T *  t,
const size_t  len 
)
inline

Construct the shim.

Definition at line 341 of file serialization_shim.hpp.

Member Function Documentation

void serialize ( Archive &  ar,
const unsigned  int 
)
inline

A wrapper for make_array().

Definition at line 345 of file serialization_shim.hpp.

References SecondNormalArrayShim< T >::len, and SecondNormalArrayShim< T >::t.

Member Data Documentation

const size_t len

Definition at line 351 of file serialization_shim.hpp.

Referenced by SecondNormalArrayShim< T >::serialize().

T* t

Definition at line 350 of file serialization_shim.hpp.

Referenced by SecondNormalArrayShim< T >::serialize().


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