C++ API Reference
SerializerInitializer< TheType > Class Template Reference

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

#include <adskDataSerializer.h>

Public Member Functions

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

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.

Examples:
MetadataXML/metadataXMLPlugin.cpp.

Constructor & Destructor Documentation

SerializerInitializer ( const TheType &  fmt)
inline

Constructor, automatically register the new format.

Parameters
[in]fmtNew format to be registered

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