mlpack
2.2.5
|
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 64 of file serialization_shim.hpp.
|
inline |
Construct the second shim. The name isn't necessary for this shim.
Definition at line 297 of file serialization_shim.hpp.
|
inline |
A wrapper for t.Serialize().
Definition at line 301 of file serialization_shim.hpp.
References SecondShim< T >::t.
T& t |
Definition at line 306 of file serialization_shim.hpp.
Referenced by SecondShim< T >::serialize().