Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Deprecated/Object.bak/Object.hpp

Go to the documentation of this file.
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 
00012 #define SerialID_JObject  0xFE12FEDE
00013 #define J2K_Author       "J2K: Fred"
00014 
00015 class JObject {
00016 
00017 MC_SerializeHeader();
00018 
00019 ////////////////////////////////////////////////////////////////////////////
00020 // Disable the copy constructor and assignment by default so you will get //
00021 // compiler errors instead of unexpected behaviour if you pass JObjects    //
00022 // by value or assign JObjects.                                            //
00023 ////////////////////////////////////////////////////////////////////////////
00024 
00025 private:
00026     JObject(const JObject& JObjectSrc);          // NO Implementation
00027     void operator=(const JObject& JObjectSrc);   // NO Implementation
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

Generated on Sun Oct 14 18:46:20 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001