libs-base/Documentation/gsdoc/NSValue.html

126 lines
3.4 KiB
HTML
Raw Normal View History

<html><head>
<title>NSValue</title>
</head>
<body>
<a href="NSUserDefaults.html">[Previous]</a>
<a href="Base.html">[Up]</a>
<h1>NSValue</h1>
<h3>Authors</h3>
<dl>
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
<dd>
</dl>
<p>Version: 0.1</p>
<p>Date: 28 February, 2000</p>
<h2><a name="cont-0">NSValue</a></h2>
<h2><a name="NSValue">NSValue</a></h2>
<p><b>Declared in:</b> Foundation/NSValue.h</p>
<p><b>Inherits from:</b> NSObject</p>
<p><b>Conforms to:</b> NSCoding
</p>
<hr>
<ul>
<li><a href="NSValue.html#method-0">+value:withObjCType:</a>
<li><a href="NSValue.html#method-1">+valueWithBytes:objCType:</a>
<li><a href="NSValue.html#method-2">+valueWithNonretainedObject:</a>
<li><a href="NSValue.html#method-3">+valueWithPoint:</a>
<li><a href="NSValue.html#method-4">+valueWithPointer:</a>
<li><a href="NSValue.html#method-5">+valueWithRect:</a>
<li><a href="NSValue.html#method-6">+valueWithSize:</a>
<li><a href="NSValue.html#method-9">-</a>
<li><a href="NSValue.html#method-7">-getValue:</a>
<li><a href="NSValue.html#method-8">-initWithBytes:objCType:</a>
<li><a href="NSValue.html#method-10">-nonretainedObjectValue</a>
<li><a href="NSValue.html#method-11">-objCType</a>
<li><a href="NSValue.html#method-12">-pointValue</a>
<li><a href="NSValue.html#method-13">-pointerValue</a>
<li><a href="NSValue.html#method-14">-rectValue</a>
<li><a href="NSValue.html#method-15">-sizeValue</a>
</ul>
<hr>
<h2><a name="method-0">value:withObjCType:</a></h2>
+ (NSValue*) <b>value:</b> (const void*)value <b>withObjCType:</b> (const char*)type<br>
<hr>
<h2><a name="method-1">valueWithBytes:objCType:</a></h2>
+ (NSValue*) <b>valueWithBytes:</b> (const void*)value <b>objCType:</b> (const char*)type<br>
<hr>
<h2><a name="method-2">valueWithNonretainedObject:</a></h2>
+ (NSValue*) <b>valueWithNonretainedObject:</b> (id)anObject<br>
<hr>
<h2><a name="method-3">valueWithPoint:</a></h2>
+ (NSValue*) <b>valueWithPoint:</b> (NSPoint)aPoint<br>
<hr>
<h2><a name="method-4">valueWithPointer:</a></h2>
+ (NSValue*) <b>valueWithPointer:</b> (const void*)aPointer<br>
<hr>
<h2><a name="method-5">valueWithRect:</a></h2>
+ (NSValue*) <b>valueWithRect:</b> (NSRect)rect<br>
<hr>
<h2><a name="method-6">valueWithSize:</a></h2>
+ (NSValue*) <b>valueWithSize:</b> (NSSize)size<br>
<hr>
<h2><a name="method-7">getValue:</a></h2>
- (void) <b>getValue:</b> (void*)buffer<br>
<hr>
<h2><a name="method-8">initWithBytes:objCType:</a></h2>
- (id) <b>initWithBytes:</b> (const void*)value <b>objCType:</b> (const char*)type<br>
<hr>
<h2><a name="method-9"></a></h2>
- (id) <b></b><br>
<hr>
<h2><a name="method-10">nonretainedObjectValue</a></h2>
- (id) <b>nonretainedObjectValue</b><br>
<hr>
<h2><a name="method-11">objCType</a></h2>
- (const char*) <b>objCType</b><br>
<hr>
<h2><a name="method-12">pointValue</a></h2>
- (NSPoint) <b>pointValue</b><br>
<hr>
<h2><a name="method-13">pointerValue</a></h2>
- (void*) <b>pointerValue</b><br>
<hr>
<h2><a name="method-14">rectValue</a></h2>
- (NSRect) <b>rectValue</b><br>
<hr>
<h2><a name="method-15">sizeValue</a></h2>
- (NSSize) <b>sizeValue</b><br>
<hr>
</body>
</html>