Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Teuchos::ValueTypeSerializer< Ordinal, T > Class Template Reference

Serialization class for types T that use value semantics. More...

#include <Teuchos_SerializationTraits.hpp>

Inheritance diagram for Teuchos::ValueTypeSerializer< Ordinal, T >:
Inheritance graph
[legend]

Detailed Description

template<typename Ordinal, typename T>
class Teuchos::ValueTypeSerializer< Ordinal, T >

Serialization class for types T that use value semantics.

This works similarly to SerializationTraits, except that it provides a class that can be specialized for types T to implement serialization through an object instead of a traits class. Some types need other data to help them serialize, and that data can be encapsulated into a non-static specialization of this class.

The default implementation is just given by the SerializationTraits for the type T, and thus this class will be defined for any type that defines its SerializationTraits.

Definition at line 276 of file Teuchos_SerializationTraits.hpp.


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