text: //
  // Struct1Serializer.h
  //
  // Package: Generated
  // Module:  TypeSerializer
  //
  // This file has been generated.
  // Warning: All changes to this will be lost when the file is re-generated.
  //
  
  
  #ifndef TypeSerializer_Struct1_INCLUDED
  #define TypeSerializer_Struct1_INCLUDED
  
  
  #include "Poco/RemotingNG/TypeSerializer.h"
  #include "Tester.h"
  
  
  namespace Poco {
  namespace RemotingNG {
  
  
  template <>
  class TypeSerializer<Struct1>
  {
  public:
  	static void serialize(const std::string& name, const Struct1& value, Serializer& ser)
  	{
  		ser.serializeStructBegin(name);
  		serializeImpl(value, ser);
  		ser.serializeStructEnd(name);
  	}
  
  	static void serializeImpl(const Struct1& value, Serializer& ser)
  	{
  		remoting__staticInitBegin(REMOTING__NAMES);
  		static const std::string REMOTING__NAMES[] = {"aDouble","aString","anEnum","anEnum2","anInt",""};
  		remoting__staticInitEnd(REMOTING__NAMES);
  		TypeSerializer<double >::serialize(REMOTING__NAMES[0], value.aDouble, ser);
  		TypeSerializer<std::string >::serialize(REMOTING__NAMES[1], value.aString, ser);
  		TypeSerializer<int >::serialize(REMOTING__NAMES[2], value.anEnum, ser);
  		TypeSerializer<int >::serialize(REMOTING__NAMES[3], value.anEnum2, ser);
  		TypeSerializer<int >::serialize(REMOTING__NAMES[4], value.anInt, ser);
  	}
  
  };
  
  
  } // namespace RemotingNG
  } // namespace Poco
  
  
  #endif // TypeSerializer_Struct1_INCLUDED
  
  