mlpack
2.0.2

mlpack::data::FirstArrayShim< T > Struct Template Reference
A first shim for arrays. More...
Public Member Functions  
FirstArrayShim (T *t, const size_t len, const std::string &name)  
Construct the first shim with the given objects, length, and name. More...  
Public Attributes  
const size_t  len 
const std::string &  name 
T *  t 
Detailed Description
template<typenameT>
struct mlpack::data::FirstArrayShim< T >
template
<
typename
T
>
A first shim for arrays.
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 64 of file serialization_shim.hpp.
Constructor & Destructor Documentation
◆ FirstArrayShim()
template
<
typename
T
>

inline 
Construct the first shim with the given objects, length, and name.
Definition at line 265 of file serialization_shim.hpp.
Member Data Documentation
◆ len
template
<
typename
T
>
const size_t mlpack::data::FirstArrayShim< T >::len 
Definition at line 269 of file serialization_shim.hpp.
Referenced by mlpack::data::operator &(), and mlpack::data::operator>>().
◆ name
template
<
typename
T
>
const std::string& mlpack::data::FirstArrayShim< T >::name 
Definition at line 270 of file serialization_shim.hpp.
Referenced by mlpack::data::operator &(), and mlpack::data::operator>>().
◆ t
template
<
typename
T
>
T* mlpack::data::FirstArrayShim< T >::t 
Definition at line 268 of file serialization_shim.hpp.
Referenced by mlpack::data::operator &(), and mlpack::data::operator>>().
The documentation for this struct was generated from the following file:
 src/mlpack/core/data/serialization_shim.hpp
Generated by 1.8.13