SerializerInitializer< TheType > Class Template Reference


Detailed Description

template<typename TheType>
class adsk::Data::SerializerInitializer< TheType >

Helper : Instantiate to automatically (de)register a serializaton format Requires that the template parameter class has implemented the registerFormat() and deregisterFormat() methods.

#include <adskDataSerializer.h>

List of all members.

Public Member Functions

 SerializerInitializer (const TheType &fmt)
 Constructor, automatically register the new format.
 ~SerializerInitializer ()
 Destructor, automatically deregister the format.

Constructor & Destructor Documentation

SerializerInitializer ( const TheType &  fmt) [inline]

Constructor, automatically register the new format.

Parameters:
[in]fmtNew format to be registered