tvm
Static Public Attributes | List of all members
tvm::support::Serializer< T, typename > Struct Template Reference

Primary Serializer template. Specialize for each serializable type. More...

#include <io.h>

Collaboration diagram for tvm::support::Serializer< T, typename >:

Static Public Attributes

static constexpr bool enabled = false
 

Detailed Description

template<typename T, typename = void>
struct tvm::support::Serializer< T, typename >

Primary Serializer template. Specialize for each serializable type.

A valid specialization must provide: static constexpr bool enabled = true; static void Write(Stream* strm, const T& data); static bool Read(Stream* strm, T* data);

Member Data Documentation

◆ enabled

template<typename T , typename = void>
constexpr bool tvm::support::Serializer< T, typename >::enabled = false
staticconstexpr

The documentation for this struct was generated from the following file: