mlpack
master
|
The second shim: wrap the call to Serialize() inside of a serialize() function, so that an archive type can call serialize() on a SecondShim object and this gets forwarded correctly to our object's Serialize() function. More...
Public Member Functions | |
SecondShim (T &t) | |
Construct the second shim. The name isn't necessary for this shim. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
A wrapper for t.Serialize(). More... | |
Public Attributes | |
T & | t |
The second shim: wrap the call to Serialize() inside of a serialize() function, so that an archive type can call serialize() on a SecondShim object and this gets forwarded correctly to our object's Serialize() function.
Definition at line 65 of file serialization_shim.hpp.
|
inline |
Construct the second shim. The name isn't necessary for this shim.
Definition at line 298 of file serialization_shim.hpp.
|
inline |
A wrapper for t.Serialize().
Definition at line 302 of file serialization_shim.hpp.
T& mlpack::data::SecondShim< T >::t |
Definition at line 307 of file serialization_shim.hpp.