/** @file iencodercontext.cpp
*	native encoder context interface and base class
 * 	@headerfile iencodercontext.h "EABaseTypes/iencodercontext.h"
 *	@author Chris Burns (cburns@ea.com)
 *
 *	EABaseTypes
 *	(c) 2012 Electronic Arts Inc. 
 */

#include "EABaseTypes/iencodercontext.h"

namespace EA
{
	namespace Types
	{
		/* virtual */ IEncoderContext* ChildContext::Reset() { return mParent; }
		/* virtual */ void ChildContext::BeginArray() {}
		/* virtual */ IEncoderContext* ChildContext::EndArray() { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::BeginArrayValue(size_t index) { return mParent; }
		/* virtual */ void ChildContext::EndArrayValue(size_t index) {}
		/* virtual */ void ChildContext::BeginObject() {}
		/* virtual */ IEncoderContext* ChildContext::EndObject() { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::BeginObjectValue(const char* key, size_t length) { return mParent; }
		/* virtual */ void ChildContext::EndObjectValue(const char* key, size_t length) {}

		/* virtual */ IEncoderContext* ChildContext::Boolean(bool boolean) { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::Number(BaseTypeFloat number) { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::String(const char* str, size_t length) { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::Function(EA::Types::FunctionIn function) { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::UserData(EA::Types::UserDataIn userData) { return mParent; }
		/* virtual */ IEncoderContext* ChildContext::Null() { return mParent; }
	}
}
