mlpack: mlpack::data::FirstArrayShim< T > Struct Template Reference
mlpack::data::FirstArrayShim< T > Struct Template Reference

A first shim for arrays. More...

Public Member Functions

 FirstArrayShim (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::string & name
 
T * t
 

Detailed Description

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

A first shim for arrays.

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::FirstArrayShim< T >::FirstArrayShim ( 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 265 of file serialization_shim.hpp.

Member Data Documentation

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

Definition at line 269 of file serialization_shim.hpp.

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

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

Definition at line 270 of file serialization_shim.hpp.

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

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

Definition at line 268 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: