00001 #ifndef __J2K__JObject_HPP__ 00002 #define __J2K__JObject_HPP__ 00003 00004 //////////////////////////////////////////////////////////////////////////// 00005 /// class JObject is the root of all compliant JObjects /// 00006 //////////////////////////////////////////////////////////////////////////// 00007 00008 #include <j2k\Fred\Basic.hpp> 00009 #include <j2k\Fred\Boolean.hpp> 00010 #include <j2k\Fred\Serialize.hpp> 00011 #include <j2k\Fred\String\String.cpp> 00012 00013 #define SerialID_JObject 0x26911911 00014 //0xFE12FEDE 00015 #define J2K_Author "J2K: Fred" 00016 00017 class JObject 00018 { 00019 00020 MC_SerializeHeader(); 00021 00022 //////////////////////////////////////////////////////////////////////////// 00023 // Disable the copy constructor and assignment by default so you will get // 00024 // compiler errors instead of unexpected behaviour if you pass JObjects // 00025 // by value or assign JObjects. // 00026 //////////////////////////////////////////////////////////////////////////// 00027 00028 private: 00029 JObject(const JObject& JObjectSrc); // NO Implementation 00030 void operator=(const JObject& JObjectSrc); // NO Implementation 00031 00032 public: 00033 JObject() : MC_SerializeConstructor( SerialID_JObject, 00034 "JObject;", J2K_Author, "1.0", NULL ) 00035 { 00036 } 00037 00038 ~JObject() 00039 { 00040 MC_SerializeDestructor() 00041 } 00042 00043 MC_SerializeTools( 1 ) 00044 }; 00045 00046 #endif