/Volumes/Plantain/MyDocuments/Projects/MacTrek/MacTrek/FrameWorks/OmniBase.framework/Versions/A/Headers/OBObject.h

00001 // Copyright 1997-2005 Omni Development, Inc.  All rights reserved.
00002 //
00003 // This software may only be used and reproduced according to the
00004 // terms in the file OmniSourceLicense.html, which should be
00005 // distributed with this project and can also be found at
00006 // <http://www.omnigroup.com/developer/sourcecode/sourcelicense/>.
00007 //
00008 // $Header: svn+ssh://source.omnigroup.com/Source/svn/Omni/tags/SourceRelease_2005-11-18/OmniGroup/Frameworks/OmniBase/OBObject.h 68913 2005-10-03 19:36:19Z kc $
00009 
00010 #ifndef _OmniBase_OBObject_h_
00011 #define _OmniBase_OBObject_h_
00012 
00013 #import <Foundation/NSObject.h>
00014 
00015 @interface OBObject : NSObject
00016 
00017 // Creation and destruction
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 // Debugging methods
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 // OmniBase Functions
00051 
00052 /*"
00053 This method returns the original description for anObject, as implemented on NSObject. This allows you to get the original description even if the normal description methods have been overridden.
00054 
00055 See also: - description (NSObject), - description (OBObject), - shortDescription (OBObject)
00056  "*/
00057 OmniBase_EXTERN NSString *OBShortObjectDescription(id anObject);
00058 
00059 
00060 // OmniBase Symbols
00061 
00062 #import <OmniBase/SystemType.h> // Defines OBOperatingSystem{Major,Minor}Version
00063 
00064 
00065 #endif // _OmniBase_OBObject_h_

Generated on Fri Jul 28 19:15:19 2006 for MacTrek by  doxygen 1.4.7