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

A first shim for arrays without a Serialize() method. More...

Public Member Functions

 FirstNormalArrayShim (T *t, const size_t len, const std::string &name)
 Construct the first shim with the given objects, length, and name. More...
 

Public Attributes

const size_t len
 
const std::stringname
 
T * t
 

Detailed Description

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

A first shim for arrays without a Serialize() method.

This shim's purpose is to be caught by our overloads of operator<<, operator&, and operator>>, which then creates a second shim.

Definition at line 64 of file serialization_shim.hpp.

Constructor & Destructor Documentation

template<typename T>
mlpack::data::FirstNormalArrayShim< T >::FirstNormalArrayShim ( T *  t,
const size_t  len,
const std::string name 
)
inline

Construct the first shim with the given objects, length, and name.

Definition at line 281 of file serialization_shim.hpp.

Member Data Documentation

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

Definition at line 285 of file serialization_shim.hpp.

Referenced by mlpack::data::operator&(), and mlpack::data::operator>>().

template<typename T>
const std::string& mlpack::data::FirstNormalArrayShim< T >::name

Definition at line 286 of file serialization_shim.hpp.

Referenced by mlpack::data::operator&(), and mlpack::data::operator>>().

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

Definition at line 284 of file serialization_shim.hpp.

Referenced by mlpack::data::operator&(), and mlpack::data::operator>>().


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