00001 #ifndef __J2K__JObject_HPP__
00002 #define __J2K__JObject_HPP__
00003
00004
00005
00006
00007
00008 #include "j2k\Fred\Basic.hpp"
00009 #include "j2k\Fred\Boolean.hpp"
00010 #include "j2k\Fred\Serialize.hpp"
00011
00012 #define SerialID_JObject 0xFE12FEDE
00013 #define J2K_Author "J2K: Fred"
00014
00015 class JObject {
00016
00017 MC_SerializeHeader();
00018
00019
00020
00021
00022
00023
00024
00025 private:
00026 JObject(const JObject& JObjectSrc);
00027 void operator=(const JObject& JObjectSrc);
00028
00029 public:
00030 JObject() : MC_SerializeConstructor( SerialID_JObject,
00031 "JObject;", J2K_Author, "1.0", NULL ) {
00032 }
00033
00034 virtual ~JObject();
00035 String& getClass() const;
00036 int hashCode();
00037 void notify();
00038 void notifyAll();
00039 BOOL equals( JObject& obj );
00040 String& toString();
00041 BOOL isKindOf( JObject& obj ) const;
00042 BOOL isDerivedFrom( JObject& obj ) const;
00043 };
00044
00045 #endif