mlpack
master
|
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 |
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 62 of file serialization_shim.hpp.
|
inline |
Construct the first shim with the given object and name.
Definition at line 249 of file serialization_shim.hpp.
const std::string& mlpack::data::FirstShim< T >::name |
Definition at line 252 of file serialization_shim.hpp.
Referenced by mlpack::data::operator&(), and mlpack::data::operator>>().
T& mlpack::data::FirstShim< T >::t |
Definition at line 251 of file serialization_shim.hpp.
Referenced by mlpack::data::operator&(), and mlpack::data::operator>>().