/** @file basetypejsonparser.h
 *  Functionality for writing EABaseTypes as XML
 *	@author Chris Burns (cburns@ea.com)
 *
 *	CTUI
 *	(c) 2013 Electronic Arts Inc. 
 */

#ifndef EABASETYPESXML_BASETYPEXMLWRITER_H_
#define EABASETYPESXML_BASETYPEXMLWRITER_H_

#include "EABaseTypes/autoref.h"

namespace EA
{
	namespace IO
	{
		class IStream;
	}

	namespace Types
	{
		EABASETYPES_FORWARD_DECLARATION(class, BaseType)

		namespace BaseTypeXmlWriter
		{
			/*!
			*	Function for writing a Types::BaseType as XML
			*	@param[in]	base		A pointer to the Types::BaseType to be written out
			*	@param[in]	writeStream	A stream for the XML to be written into
			*/
			 void Write(BaseTypeIn base, EA::IO::IStream* writeStream);
		}
	}
}

#endif /* EABASETYPESXML_BASETYPEXMLWRITER_H_ */
