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
FirstShim< T > Struct Template Reference

The first shim: simply holds the object and its name. More...

Public Member Functions

 FirstShim (T &t, const std::string &name)
 Construct the first shim with the given object and name. More...
 

Public Attributes

const std::string & name
 
T & t
 

Detailed Description

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

The first shim: simply holds the object and its name.

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

Constructor & Destructor Documentation

FirstShim ( T &  t,
const std::string &  name 
)
inline

Construct the first shim with the given object and name.

Definition at line 248 of file serialization_shim.hpp.

Member Data Documentation

const std::string& name

Definition at line 251 of file serialization_shim.hpp.

T& t

Definition at line 250 of file serialization_shim.hpp.


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