|
mlpack
2.2.5
|
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 65 of file serialization_shim.hpp.
|
inline |
Construct the shim.
Definition at line 318 of file serialization_shim.hpp.
|
inline |
A wrapper for Serialize() for each element.
Definition at line 322 of file serialization_shim.hpp.
References mlpack::data::CreateNVP(), SecondArrayShim< T >::len, and SecondArrayShim< T >::t.
| const size_t len |
Definition at line 330 of file serialization_shim.hpp.
Referenced by SecondArrayShim< T >::serialize().
| T* t |
Definition at line 329 of file serialization_shim.hpp.
Referenced by SecondArrayShim< T >::serialize().
1.8.14