#ifndef __X10_IO_SERIALDATA_H
#define __X10_IO_SERIALDATA_H

#include <x10rt.h>


#define X10_LANG_OBJECT_H_NODEPS
#include <x10/lang/Object.h>
#undef X10_LANG_OBJECT_H_NODEPS
namespace x10 { namespace lang { 
class Any;
} } 
namespace x10 { namespace lang { 
class String;
} } 
namespace x10 { namespace io { 

class SerialData : public x10::lang::Object   {
    public:
    RTT_H_DECLS_CLASS
    
    x10aux::ref<x10::lang::Any> FMGL(data);
    
    x10aux::ref<x10::io::SerialData> FMGL(superclassData);
    
    void _constructor(x10aux::ref<x10::lang::Any> data, x10aux::ref<x10::io::SerialData> superclassData);
    
    static x10aux::ref<x10::io::SerialData> _make(x10aux::ref<x10::lang::Any> data,
                                                  x10aux::ref<x10::io::SerialData> superclassData);
    
    virtual x10aux::ref<x10::lang::String> toString();
    virtual x10aux::ref<x10::io::SerialData> x10__io__SerialData____x10__io__SerialData__this(
      );
    
    // Serialization
    public: static const x10aux::serialization_id_t _serialization_id;
    
    public: x10aux::serialization_id_t _get_serialization_id() {
         return _serialization_id;
    }
    
    public: virtual void _serialize_body(x10aux::serialization_buffer& buf);
    
    public: static x10aux::ref<x10::lang::Reference> _deserializer(x10aux::deserialization_buffer& buf);
    
    public: void _deserialize_body(x10aux::deserialization_buffer& buf);
    
};

} } 
#endif // X10_IO_SERIALDATA_H

namespace x10 { namespace io { 
class SerialData;
} } 

#ifndef X10_IO_SERIALDATA_H_NODEPS
#define X10_IO_SERIALDATA_H_NODEPS
#ifndef X10_IO_SERIALDATA_H_GENERICS
#define X10_IO_SERIALDATA_H_GENERICS
#endif // X10_IO_SERIALDATA_H_GENERICS
#endif // __X10_IO_SERIALDATA_H_NODEPS
