00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _OmniBase_OBObject_h_
00011 #define _OmniBase_OBObject_h_
00012
00013 #import <Foundation/NSObject.h>
00014
00015 @interface OBObject : NSObject
00016
00017
00018
00019 #if defined(DEBUG_INITIALIZE) || defined(DEBUG_ALLOC)
00020 + allocWithZone:(NSZone *)zone;
00021 #endif
00022
00023 #if defined(DEBUG_ALLOC)
00024 - (void)dealloc;
00025 #endif
00026
00027 @end
00028
00029
00030 @class NSDictionary;
00031 @class NSMutableDictionary;
00032
00033
00034 @interface OBObject (Debug)
00035
00036
00037
00038 - (NSMutableDictionary *)debugDictionary;
00039 - (NSString *)descriptionWithLocale:(NSDictionary *)locale indent:(unsigned)level;
00040 - (NSString *)description;
00041
00042
00043 - (NSString *)shortDescription;
00044
00045 @end
00046
00047
00048 #import <OmniBase/FrameworkDefines.h>
00049
00050
00051
00052
00053
00054
00055
00056
00057 OmniBase_EXTERN NSString *OBShortObjectDescription(id anObject);
00058
00059
00060
00061
00062 #import <OmniBase/SystemType.h>
00063
00064
00065 #endif // _OmniBase_OBObject_h_