home *** CD-ROM | disk | FTP | other *** search
/ Altsys Virtuoso 2.0K / virtuoso_20k.iso / NeXTanswers / OpenStepSpec_rtf / FoundationKit / Classes / NSValue.rtf < prev   
Encoding:
Text File  |  1994-07-01  |  5.9 KB  |  101 lines

  1. {\rtf0\ansi\paperw16228 \paperh18648 \margl-907 \margr0 \margt0 \margb0 {\fonttbl\f0\fswiss Helvetica;\f1\froman Times;\f2\fmodern Courier;\f3\ftech Symbol;\f4\froman Palatino;}
  2. {\stylesheet{\s0 \li100 \fi0 \ri1007 \ql   1Head;}
  3. {\s1 \li1360 \fi0 \ri1007 \ql   AdoptedProtocols;}
  4. {\s2 \li2116 \fi0 \ri1007 \ql \tx2494 \tx2872 \tx3250   Body;}
  5. {\s3 \li2494 \fi0 \ri1007 \ql \tx2872 \tx3250 \tx3642   BodyIndented;}
  6. {\s4 \li2494 \fi-378 \ri1007 \ql \tx2494 \tx2872 \tx3250   BulletLong;}
  7. {\s5 \li2494 \fi-378 \ri1007 \ql   BulletShort;}
  8. {\s6 \li1360 \fi0 \ri1007 \ql   ClassDescription;}
  9. {\s7 \li1360 \fi0 \ri1007 \ql   ClassMethods;}
  10. {\s8 \li100 \fi0 \ri1007 \ql   ClassName;}
  11. {\s9 \li2494 \fi0 \ri1007 \ql \tx3124 \tx3628 \tx4132 \tx4636 \tx5140 \tx5644 \tx6148 \tx6652 \tx7156 \tx7660 \tx8164 \tx8668 \tx9172 \tx9676 \tx10180 \tx10684   CodeExamp;}
  12. {\s10 \li2872 \fi0 \ri1007 \ql \tx3376 \tx3880 \tx4384 \tx4888 \tx5392 \tx5896 \tx6400 \tx6904 \tx7408 \tx7912 \tx8416 \tx8920 \tx9424 \tx9928 \tx10432   CodeExamp2;}
  13. {\s11 \li2872 \fi-2771 \ri1007 \ql \tx2872   ConformsTo;}
  14. {\s12 \li2872 \fi-2771 \ri1007 \ql   DeclaredIn;}
  15. {\s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030   Description;}
  16. {\s14 \li7030 \fi-5796 \ri1007 \ql   DescriptionPart;}
  17. {\s15 \li6148 \fi-4031 \ri1007 \ql \tx6148 \tx9676 \tx10180   FirstVar/TypeLine1;}
  18. {\s16 \li0 \fi0 \ri0 \ql \tx-25 \tx8290 \tx9172   Footer;}
  19. {\s17 \li1360 \fi0 \ri1007 \ql   Heading;}
  20. {\s18 \li2872 \fi-2771 \ri1007 \ql \tx2872   InheritsFrom;}
  21. {\s19 \li1360 \fi0 \ri1007 \ql   InstanceMethods;}
  22. {\s20 \li2116 \fi0 \ri1007 \ql \tx2872   InstanceVar;}
  23. {\s21 \li1360 \fi0 \ri1007 \ql   InstanceVarHead;}
  24. {\s22 \li3250 \fi-756 \ri1007 \ql   MethodDesc;}
  25. {\s23 \li2494 \fi-378 \ri1007 \ql \tx7156   MethodHead;}
  26. {\s24 \li2494 \fi-378 \ri1007 \ql   MethodHeadFirst;}
  27. {\s25 \li1360 \fi0 \ri1007 \ql   MethodsImp...;}
  28. {\s26 \li1360 \fi0 \ri1007 \ql   MethodTypes;}
  29. {\s27 \li2116 \fi0 \ri1007 \ql   Note;}
  30. {\s28 \li2116 \fi0 \ri1007 \ql \tx2494 \tx2872 \tx3250   SeeAlso;}
  31. {\s29 \li2116 \fi0 \ri1007 \ql   SubHeading;}
  32. {\s30 \li100 \fi0 \ri1007 \ql   Summary;}
  33. {\s31 \li2494 \fi0 \ri1007 \ql \tx6148 \tx10180   TableBody1;}
  34. {\s32 \li6148 \fi-3654 \ri1007 \ql \tx6148 \tx10432   TableBody2;}
  35. {\s33 \li2494 \fi0 \ri1007 \ql \tx6148 \tx10180   TableHead;}
  36. {\s34 \li6652 \fi-503 \ri1007 \ql \tx9676 \tx10180   Var/Type;}
  37. {\s35 \li6148 \fi-4031 \ri1007 \ql \tx6148 \tx9676 \tx10180   Var/TypeLine1;}
  38. {\s36 \li2116 \fi-2015 \ri1007 \ql \tx806 \tx2116   Warning;}
  39. }
  40. \li0 \fi0 \ri0 \ql \sb0 \f1 \fs24 
  41. (Preliminary Documentation) Copyright \f3 \'e3\f1 1994 by NeXT Computer, Inc.  All Rights Reserved.\
  42. \
  43. \pard \s0 \li100 \fi0 \ri1007 \ql \f0 \b \fs36 \fs16 \
  44. \
  45. \
  46. \
  47. \
  48. \
  49. \
  50. \fs36 NSValue \
  51. \pard \s18 \li2872 \fi-2771 \ri1007 \ql \tx2872 \f1 \b0 \fs28 \fs16 \
  52. \
  53. \
  54. \fs28 \f0 \b \fs28 Inherits From:    \b0 \fs28 \f1 NSObject \
  55. \fs16 \
  56. \fs28 \s11 \fs16 \fs28 \f0 \b \fs28 Conforms To:    \b0 \fs28 \f1 NSCoding\
  57. \fi0 NSCopying\
  58. \fi0 NSObject \
  59. \fs16 \
  60. \fs28 \s12 \fi-2771 \fs16 \fs28 \f0 \b \fs28 Declared In:    \b0 \fs28 \f1 foundation/NSValue.h\
  61. \fi0 foundation/NSGeometry.h \
  62. \fs16 \
  63. \fs28 \pard \s30 \li100 \fi0 \ri1007 \ql \f0 \b \fs28 \fs16 \
  64. \
  65. \fs28 Allocating and Initializing \
  66. \fs16 \
  67. \fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (NSValue *)\b value:\b0 (const void *)\i value\i0     Creates and returns a value object containing the value  \
  68. \fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \b withObjCType:\b0 (const char *)\i type\i0     \i     value\i0  of the Objective C type \i type\i0 .\
  69. \s13 \li7029 \fi-5794 \fi-6552 \fi-6552 + (NSValue *)\b valueWithNonretainedObject:\b0  (id)\i anObject\
  70. \fi-6552 \s14 \li7030 \fi-6553 \fi-5796 \i0     Creates and returns a value object containing the object \i anObject,\i0  without retaining \i anObject\i0 .\
  71. \s13 \li7029 \fi-5794 \fi-6552 \fi-6552 + (NSValue *)\b valueWithPoint:\b0 (NSPoint)\i point    \i0 Creates and returns a value object that contains the specified\i  \i0 NSPoint structure (which represents a geometrical point in two dimensions).\
  72. \fi-6552 \fi-6552 \fi-6552 + (NSValue *)\b valueWithPointer:\b0 (const void *)\i pointer\
  73. \fi-6552 \fi-6552 \i0 \fi-6552     Creates and returns a value object that contains the specified pointer.\
  74. \fi-6552 \fi-6552 \fi-6552 + (NSValue *)\b valueWithRect:\b0 (NSRect)\i rect    \i0 Creates and returns a value object that contains the specified\i  \i0 NSRect structure, representing a rectangle.\
  75. \fi-6552 \fi-6552 \fi-6552 + (NSValue *)\b valueWithSize:\b0 (NSSize)\i size\i0     Creates and returns a value object that contains the specified\i  \i0 NSSize structure (which stores a width and a height).\
  76. \fi-6552 \pard \s30 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  77. \
  78. \
  79. \fs28 Accessing Data \
  80. \fs16 \
  81. \fs28 \pard \s13 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b getValue:\b0 (void *)\i value\i0     Copies the receiver\'27s data into \i value\i0 .\
  82. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b nonretainedObjectValue\b0     Returns the non-retained object that\'27s contained in the receiver.\
  83. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (const char *)\b objCType\b0     Returns the Objective C type of the data contained in the receiver.\
  84. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void *)\b pointerValue\b0     Returns the pointer that\'27s contained in the receiver.\
  85. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSRect)\b rectValue\b0     Returns the rectangle structure that\'27s contained in the receiver.\
  86. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSSize)\b sizeValue    \b0 Returns the size structure that\'27s contained in the receiver\b .\
  87. \fi-6552 \fi-6552 \b0 \fi-6552 {\f3 -} (NSPoint)\b pointValue\b0     Returns the point structure that\'27s contained in the receiver.\
  88. \fi-6552 \fi-6552 \fi-6552 \
  89. \fi-6552 \pard \s2 \li2116 \fi0 \ri1007 \ql \fs28 \li100 \fi2015 \fi0 \tx478 \tx856 \tx1234 \fs16 \
  90. \
  91. \fs28 \
  92. \fs16 \
  93. \
  94. \fs28 \li2116 \fi-2015 \fi0 \li100 \fi2015 \fi0 \tx478 \tx856 \tx1234 \fs16 \fs28 \
  95. \fs16 \
  96. \
  97. \fs28 \li2116 \fi-2015 \fi0 \li100 \fi2015 \fi0 \tx478 \tx856 \tx1234 \fs16 \fs28 \
  98. \fs16 \
  99. \
  100. \fs28 }
  101.