ftp.nice.ch/peanuts/GeneralData/Documents/openstep/OpenStepSpec_rtf.tar.gz#/OpenStepSpec_rtf/FoundationKit/TypesAndConstants/FoundationTypesSummary.rtf

This is FoundationTypesSummary.rtf in view mode; [Download] [Up]

paperh18648 margl-907 margr0 margt0 margb0 fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1994 by NeXT Computer, Inc.  All Rights Reserved.

s0 li100 fi0 ri1007 ql f0 b fs52 fs80 
fs52 Types and Constants
fs28 
fs52 s2 fs36 fs48 
fs36 Exception Handling
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef struct _NSHandler b NSHandlerb0 ;tab Exception handler information.
fi-6552 fs16 
fs28 fi-6552 typedef volatile void b NSUncaughtExceptionHandlerb0 (NSException *i exceptioni0 );
s16 li7030 fi-6553 fi-5796 tab Register an uncaught exception handler.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 
fi-6552 fs16 
fs28 fi-6552 NSString *b NSInconsistentArchiveExceptionb0 ;tab Consistency error in archive file.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSGenericExceptionb0 ;tab General programming error.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSInternalInconsistencyExceptionb0 ;tab Some item that should be invariant changed.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSInvalidArgumentExceptionb0 ;tab Invalid argument.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSMallocExceptionb0 ;tab No memory left to allocate.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSRangeExceptionb0 ;tab Attempt to access an element beyond the limit of an array or similar structure.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSByteStoreLockedExceptionb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSByteStoreVersionExceptionb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSBTreeStoreKeyTooLargeExceptionb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSByteStoreDamagedExceptionb0 ;
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Geometry
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef struct _NSPoint {tab Point definition.
s16 li7030 fi-6553 fi-5796 float b xb0 ;
float b yb0 ;
s15 li7029 fi-5794 fi-6552 }b  NSPointb0 ;tab 
s14 fi-6552 fs16 
fs28 fi-6552 typedef struct _NSSize {tab Rectangle sizes.
s16 li7030 fi-6553 fi-5796 float b widthb0 ;
float b heightb0 ;
s15 li7029 fi-5794 fi-6552 } b NSSizeb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 typedef struct _NSRect {tab Rectangle.
s16 li7030 fi-6553 fi-5796 NSPoint b originb0 ;
NSSize b sizeb0 ;
s15 li7029 fi-5794 fi-6552 } b NSRectb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 typedef enum _NSRectEdge {tab Sides of a rectangle.
s16 li7030 fi-6553 fi-5796 b NSMinXEdgeb0 ,
b NSMinYEdgeb0 ,
b NSMaxXEdgeb0 ,
b NSMaxYEdgeb0 tab 
s15 li7029 fi-5794 fi-6552 } b NSRectEdgeb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 
fi-6552 fs16 
fs28 fi-6552 const NSPoint b NSZeroPointb0 ;tab A zero point.
fi-6552 fs16 
fs28 fi-6552 const NSRect b NSZeroRectb0 ;tab A zero origin rectangle.
fi-6552 fs16 
fs28 fi-6552 const NSSize b NSZeroSizeb0 ;tab A zero size rectangle.
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Hash Table
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef struct b NSHashEnumeratorb0 ;tab Private type for enumerating.
fi-6552 fs16 
fs28 fi-6552 typedef struct _NSHashTable b NSHashTableb0 ;tab Hash table type.
fi-6552 fs16 
fs28 fi-6552 typedef struct {tab Callback functions.
s16 li7030 fi-6553 fi-5796 unsigned (*b hashb0 )(NSHashTable *i tablei0 , const void *i anObjecti0 );
tab Hashing function. Note: Elements with equal values must have equal hash function values.
BOOL (*b isEqualb0 )(NSHashTable *i tablei0 , const void *i anObjecti0 , const void *i anObjecti0 );
tab Comparison function. 
void (*b retainb0 )(NSHashTable *i tablei0 , const void *i anObjecti0 );
tab Retaining function called when adding elements to table.
void (*b releaseb0 )(NSHashTable *i tablei0 , void *i anObjecti0 );
tab Releasing function called when a data element is removed from the table.
NSString  *(*b describeb0 )(NSHashTable *i tablei0 , const void *i anObjecti0 );
tab  Description function.
s15 li7029 fi-5794 fi-6552 } b NSHashTableCallBacksb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 
fi-6552 fs16 
fs28 fi-6552 const NSHashTableCallBacks b NSIntHashCallBacksb0 ;tab For sets of pointer-sized or smaller quantities.
fi-6552 fs16 
fs28 fi-6552 const NSHashTableCallBacks b NSNonOwnedPointerHashCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For sets of pointers hashed by address.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSHashTableCallBacks b NSNonRetainedObjectHashCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For sets of objects without retaining and releasing.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSHashTableCallBacks b NSObjectHashCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For sets of objects; similar to NSSet.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSHashTableCallBacks b NSOwnedPointerHashCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For sets of pointers with transfer of ownership upon insertion.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSHashTableCallBacks b NSPointerToStructHashCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For sets of pointers to structs when the first field of the struct is the size of anb  intb0 .
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Map Table
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef struct b NSMapEnumeratorb0 ;tab Private type for enumerating.
fi-6552 fs16 
fs28 fi-6552 typedef struct _NSMapTable b NSMapTableb0 ;tab Map table type.
fi-6552 fs16 
fs28 fi-6552 typedef struct {tab Callback functions for a key.
s16 li7030 fi-6553 fi-5796 unsigned (*b hashb0 )(NSMapTable *i tablei0 , const void *i anObjecti0 );
tab Hashing function. Note: Elements with equal values must have equal hash function values.
BOOL (*b isEqualb0 )(NSMapTable *i tablei0 , const void *i anObjecti0 , const void *i anObjecti0 );
tab Comparison function. 
void (*b retainb0 )(NSMapTable *i tablei0 , const void *i anObjecti0 );
tab Retaining function called when adding elements to table.
void (*b releaseb0 )(NSMapTable *i tablei0 , void *i anObjecti0 );
tab Releasing function called when a data element is removed from the table.
NSString  *(*b describeb0 )(NSMapTable *i tablei0 , const void *i anObjecti0 );
tab Description function.
const void *b notAKeyMarkerb0 ;tab Quantity that is not a key to the hash table.
s15 li7029 fi-5794 fi-6552 } b NSMapTableKeyCallBacksb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 typedef struct {tab Callback functions for a value.
s16 li7030 fi-6553 fi-5796 void (*b retainb0 )(NSMapTable *i tablei0 , const void *i anObjecti0 );
tab Retaining function called when adding elements to table.
void (*b releaseb0 )(NSMapTable *i tablei0 , void *i anObjecti0 );
tab Releasing function called when a data element is removed from the table.
NSString  *(*b describeb0 )(NSMapTable *i tablei0 , const void *i anObjecti0 );
tab Description function.
s15 li7029 fi-5794 fi-6552 } b NSMapTableValueCallBacksb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 
fi-6552 fs16 
fs28 fi-6552 #define b NSNotAnIntMapKeyb0 ;tab Quantity that is never a map key.
fi-6552 fs16 
fs28 fi-6552 #define b NSNotAPointerMapKeyb0 ;tab Quantity that is never a map key.
fi-6552 fs16 
fs28 fi-6552 
fi-6552 fs16 
fs28 fi-6552 const NSMapTableKeyCallBacks b NSIntMapKeyCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For keys that are pointer-sized or smaller quantities.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableValueCallBacks b NSIntMapValueCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For values that are pointer-sized quantities.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableKeyCallBacks b NSNonOwnedPointerMapKeyCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For keys that are pointers not freed.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableValueCallBacks b NSNonOwnedPointerMapValueCallBacksb0 ;
s16 li7030 fi-6553 fi-5796 tab For values that are owned pointers.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableKeyCallBacks b NSNonOwnedPointerOrNullMapKeyCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For keys that are pointers not freed, or NULL.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableKeyCallBacks b NSNonRetainedObjectMapKeyCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For sets of objects without retaining and releasing.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableKeyCallBacks b NSObjectMapKeyCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For keys that are objects.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableValueCallBacks b NSObjectMapValueCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For values that are objects.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableKeyCallBacks b NSOwnedPointerMapKeyCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For keys that are pointers with transfer of ownership upon insertion.
s14 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 const NSMapTableValueCallBacks b NSOwnedPointerMapValueCallBacksb0 ; 
s16 li7030 fi-6553 fi-5796 tab For values that are owned pointers.
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Notification Queue
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef enum {
s16 li7030 fi-6553 fi-5796     b NSPostWhenIdleb0 ,tab Post the notification when the run loop is idletab tab .
    b NSPostASAPb0 ,tab Post the notification as soon as possible.
    b NSPostNowb0 tab Post the notification immediately.
s15 li7029 fi-5794 fi-6552 } b NSPostingStyleb0 ;
pard s3 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 
fs16 
fs28 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 typedef enum {
s16 li7030 fi-6553 fi-5796     b NSNotificationNoCoalescingb0 ,tab Do not coalesce similar notifications in the queue.
    b NSNotificationCoalescingOnNameb0 ,tab Coalesce notifications in the queue matching name.
    b NSNotificationCoalescingOnSenderb0 ,tab Coalesce notifications in the queue matching sender.
s15 li7029 fi-5794 fi-6552 } b NSNotificationCoalescingb0 ;
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Run Loop
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 NSString *b NSConnectionReplyModeb0 ;tab NSRunLoop mode in which Distributed Object system seeks replies.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSDefaultRunLoopModeb0 ;tab Common NSRunLoop mode.
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Search Results
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef enum _NSComparisonResult {tab Ordered comparison results.
s16 li7030 fi-6553 fi-5796 b NSOrderedAscendingb0 , 
b NSOrderedSameb0 , 
b NSOrderedDescending
pard s15 li7029 fi-6552 ri1007 ql tx6652 tx7030 b0 } b NSComparisonResultb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 enum {tab Flags passed to various search methods.
s16 li7030 fi-6553 fi-5796 b NSCaseInsensitiveSearchb0 ,
b NSLiteralSearchb0 ,
b NSBackwardsSearchb0 ,
b NSAnchoredSearch
s14 li7029 fi-5794 fi-6552 b0 fs16 
fs28 fi-6552 };
fi-6552 fs16 
fs28 fi-6552 enum {b NSNotFoundb0 };tab Indicates an item not found.
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 String
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef unsigned b NSStringEncodingb0 ;tab Known encodings.
fi-6552 fs16 
fs28 fi-6552 enum tab Known encodings.
s16 li7030 fi-6553 fi-5796 b NSASCIIStringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSNEXTSTEPStringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSJapaneseEUCStringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSUTF8StringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSISOLatin1StringEncoding ,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSSymbolStringEncoding ,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSNonLossyASCIIStringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSShiftJISStringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSISOLatin2StringEncoding,
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b NSUnicodeStringEncoding
pard s16 li7030 fi-5796 ri1007 ql tx6652 tx7030 b0 b 
pard s15 li7029 fi-6552 ri1007 ql tx6652 tx7030 b0 };
s14 fi-6552 fs16 
fs28 fi-6552 enum _NSOpenStepUnicodeReservedBase {tab Base for Unicode characters.
s16 li7030 fi-6553 fi-5796 b NSOpenStepUnicodeReservedBase
s15 li7029 fi-5794 fi-6552 b0 };
s14 fi-6552 fs16 
fs28 fi-6552 b NSHashStringLengthb0 ;tab Hash string length.
fi-6552 fs16 
fs28 fi-6552 b NSMaximumStringLengthb0 ;tab Maximum string length.
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Threads
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef enum {tab Thread priorities.
s16 li7030 fi-6553 fi-5796 b NSInteractiveThreadPriorityb0 ,
b NSBackgroundThreadPriorityb0 ,
b NSLowThreadPriority
pard s15 li7029 fi-6552 ri1007 ql tx6652 tx7030 b0 } b NSThreadPriorityb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 NSString *b NSBecomingMultiThreadedb0 ;tab Notifications.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSThreadExitingb0 ;
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 User Defaults
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 NSString *b NSArgumentDomainb0 ;tab For defaults parsed from the application'27s arguments.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSGlobalDomainb0 ;tab For defaults seen by all applications.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSRegistrationDomainb0 ;tab For registered defaults.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSUserDefaultsChangedb0 ;tab Public notification.
fi-6552 fs16 
fs28 fi-6552 
fi-6552 fs16 
fs28 fi-6552 NSString *b NSWeekDayNameArrayb0 ;tab Keys for language-dependent information.
fi-6552 fs16 
fs28 fi-6552 NSString *b NSShortWeekDayNameArrayb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSMonthNameArrayb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSShortMonthNameArrayb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSTimeFormatStringb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSDateFormatStringb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSTimeDateFormatStringb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSShortTimeDateFormatStringb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSCurrencySymbolb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSDecimalSeparatorb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSThousandsSeparatorb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSInternationalCurrencyStringb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSCurrencyStringb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSDecimalDigitsb0 ;
fi-6552 fs16 
fs28 fi-6552 NSString *b NSAMPMDesignationb0 ;
pard s2 li100 fi0 ri1007 ql f0 b fs36 fs70 
fs36 Miscellaneous
fs20 
fs36 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs28 typedef struct {tab Specifies layout of arguments used in invocations.
s16 li7030 fi-6553 fi-5796     int         b offsetb0 ;
    int         b sizeb0 ;
    char        *b typeb0 ;
s15 li7029 fi-5794 fi-6552 } b NSArgumentInfob0 ;
s14 fi-6552 fs16 
fs28 fi-6552 typedef struct _NSRange {tab Specifies a range of items in arrays, strings, and so on.
s16 li7030 fi-6553 fi-5796 unsigned int b locationb0 ;
unsigned int b lengthb0 ;
s15 li7029 fi-5794 fi-6552 } b NSRangeb0 ;
s14 fi-6552 fs16 
fs28 fi-6552 typedef double b NSTimeIntervalb0 ;tab Time interval difference between two dates.
fi-6552 fs16 
fs28 fi-6552 typedef struct _NSZone b NSZoneb0 ;tab Large region allocation.
fi-6552 fs16 
fs28 fi-6552 typedef int b NSBTreeComparatorb0 (NSData *, NSData *, const void *);
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.