libs-base/Documentation/gsdoc/NSValue.html

131 lines
3.6 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: $Revision$</p>
<p>Date: $Date$</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>
<h2>Instance Variables </h2>
<ul>
</ul>
<h2>Methods </h2>
<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>Class Methods </h2>
<h3><a name ="method-0">value:withObjCType:</a></h3>
+ (NSValue*) <b>value:</b> (const void*)value <b>withObjCType:</b> (const char*)type;<br>
<hr>
<h3><a name ="method-1">valueWithBytes:objCType:</a></h3>
+ (NSValue*) <b>valueWithBytes:</b> (const void*)value <b>objCType:</b> (const char*)type;<br>
<hr>
<h3><a name ="method-2">valueWithNonretainedObject:</a></h3>
+ (NSValue*) <b>valueWithNonretainedObject:</b> (id)anObject;<br>
<hr>
<h3><a name ="method-3">valueWithPoint:</a></h3>
+ (NSValue*) <b>valueWithPoint:</b> (NSPoint)aPoint;<br>
<hr>
<h3><a name ="method-4">valueWithPointer:</a></h3>
+ (NSValue*) <b>valueWithPointer:</b> (const void*)aPointer;<br>
<hr>
<h3><a name ="method-5">valueWithRect:</a></h3>
+ (NSValue*) <b>valueWithRect:</b> (NSRect)rect;<br>
<hr>
<h3><a name ="method-6">valueWithSize:</a></h3>
+ (NSValue*) <b>valueWithSize:</b> (NSSize)size;<br>
<hr>
<hr><h2>Instances Methods </h2>
<h3><a name ="method-7">getValue:</a></h3>
- (void) <b>getValue:</b> (void*)buffer;<br>
<hr>
<h3><a name ="method-8">initWithBytes:objCType:</a></h3>
- (id) <b>initWithBytes:</b> (const void*)value <b>objCType:</b> (const char*)type;<br>
<hr>
<h3><a name ="method-9"></a></h3>
- (id) <b></b>;<br>
<hr>
<h3><a name ="method-10">nonretainedObjectValue</a></h3>
- (id) <b>nonretainedObjectValue</b>;<br>
<hr>
<h3><a name ="method-11">objCType</a></h3>
- (const char*) <b>objCType</b>;<br>
<hr>
<h3><a name ="method-12">pointValue</a></h3>
- (NSPoint) <b>pointValue</b>;<br>
<hr>
<h3><a name ="method-13">pointerValue</a></h3>
- (void*) <b>pointerValue</b>;<br>
<hr>
<h3><a name ="method-14">rectValue</a></h3>
- (NSRect) <b>rectValue</b>;<br>
<hr>
<h3><a name ="method-15">sizeValue</a></h3>
- (NSSize) <b>sizeValue</b>;<br>
<hr>
</body>
</html>