MetadataXML/structureSerializerXML.h

MetadataXML/structureSerializerXML.h
#ifndef structureSerializerXML_h
#define structureSerializerXML_h
#include <maya/adskDataStructureSerializer.h> // for base class
#include <maya/adskCommon.h>
namespace adsk {
namespace Data {
class Structure;
}
}
// ****************************************************************************
using namespace adsk::Data;
class StructureSerializerXML : public StructureSerializer
{
DeclareSerializerFormat(StructureSerializerXML, StructureSerializer);
public:
virtual ~StructureSerializerXML();
// Mandatory implementation overrides
virtual Structure* read (std::istream& cSrc,
std::string& errors) const;
virtual int write (const Structure& dataToWrite,
std::ostream& cDst) const;
virtual void getFormatDescription(std::ostream& info) const;
private:
StructureSerializerXML();
};
//-
// ==================================================================
// Copyright 2015 Autodesk, Inc. All rights reserved.
//
// This computer source code and related instructions and comments are
// the unpublished confidential and proprietary information of Autodesk,
// Inc. and are protected under applicable copyright and trade secret
// law. They may not be disclosed to, copied or used by any third party
// without the prior written consent of Autodesk, Inc.
// ==================================================================
//+
#endif // structureSerializerXML_h