mlpack
master
|
A shim for objects in an array; this is basically like the SecondShim, but for arrays that hold objects that have Serialize() methods instead of serialize() methods. More...
Public Member Functions | |
SecondArrayShim (T *t, const size_t len) | |
Construct the shim. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int) |
A wrapper for Serialize() for each element. More... | |
Public Attributes | |
const size_t | len |
T * | t |
A shim for objects in an array; this is basically like the SecondShim, but for arrays that hold objects that have Serialize() methods instead of serialize() methods.
Definition at line 66 of file serialization_shim.hpp.
|
inline |
Construct the shim.
Definition at line 319 of file serialization_shim.hpp.
|
inline |
A wrapper for Serialize() for each element.
Definition at line 323 of file serialization_shim.hpp.
References mlpack::data::CreateNVP().
const size_t mlpack::data::SecondArrayShim< T >::len |
Definition at line 331 of file serialization_shim.hpp.
T* mlpack::data::SecondArrayShim< T >::t |
Definition at line 330 of file serialization_shim.hpp.