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
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 62 of file serialization_shim.hpp.

Constructor & Destructor Documentation

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 263 of file serialization_shim.hpp.

Member Data Documentation

const size_t len

Definition at line 267 of file serialization_shim.hpp.

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

const std::string& name

Definition at line 268 of file serialization_shim.hpp.

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

T* t

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