/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSMethodSignature.html is in gnustep-base-doc 1.25.1-2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>NSMethodSignature class reference</title>
</head>
<body>
<font face="serif">
<a href="Base.html">Up</a>
<br />
<h1><a name="title$NSMethodSignature">NSMethodSignature class reference</a></h1>
<h3>Authors</h3>
<dl>
<dt>Andrew Kachites McCallum (<a href="mailto:mccallum@gnu.ai.mit.edu"><code>mccallum@gnu.ai.mit.edu</code></a>)</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 1994-2015 Free Software Foundation, Inc.</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the NSMethodSignature class
</a></h1>
<h2><a name="class$NSMethodSignature">NSMethodSignature</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>Foundation/NSMethodSignature.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
</p>
<p>
<strong>Class</strong> encapsulating type
information for method arguments and return
value. It is used as a component of
<a rel="gsdoc" href="NSInvocation.html#class$NSInvocation">NSInvocation</a>
to implement message forwarding, such as within the
distributed objects framework. Instances can
be obtained from the
<a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a>
method
<a rel="gsdoc" href="NSObject.html#method$NSObject-methodSignatureForSelector$">[NSObject -methodSignatureForSelector:]</a>
.
</p>
<p>
</p>
<p>
Basically, types are represented as
Objective-C <code>@encode(...)</code>
compatible strings. The arguments are
numbered starting from 0, including the
implicit arguments <code><em>self</em></code>
(type <code><strong>id</strong></code>, at
position 0) and <code><em>_cmd</em></code>
(type <code><strong>SEL</strong></code>, at
position 1).
</p>
<p>
</div>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature+signatureWithObjCTypes$">+signatureWithObjCTypes:</a></li>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature-frameLength">-frameLength</a></li>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature-getArgumentTypeAtIndex$">-getArgumentTypeAtIndex:</a></li>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature-isOneway">-isOneway</a></li>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature-methodReturnLength">-methodReturnLength</a></li>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature-methodReturnType">-methodReturnType</a></li>
<li><a rel="gsdoc" href="NSMethodSignature.html#method$NSMethodSignature-numberOfArguments">-numberOfArguments</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$NSMethodSignature+signatureWithObjCTypes$">signatureWithObjCTypes: </a></h3>
+ (<a rel="gsdoc" href="#class$NSMethodSignature">NSMethodSignature</a>*) <b>signatureWithObjCTypes:</b> (const char*)t;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Build a method signature directly from string
description of return type and argument types,
using the Objective-C <code>@encode(...)</code> type
codes.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSMethodSignature-frameLength">frameLength </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>frameLength</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Number of bytes that the full set of arguments
occupies on the stack, which is
platform(hardware)-dependent.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSMethodSignature-getArgumentTypeAtIndex$">getArgumentTypeAtIndex: </a></h3>
- (const char*) <b>getArgumentTypeAtIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns Objective-C <code>@encode(...)</code>
compatible string. Arguments are numbered
starting from 0, including the implicit arguments
<code><em>self</em></code> (type
<code><strong>id</strong></code>, at position 0) and
<code><em>_cmd</em></code> (type
<code><strong>SEL</strong></code>, at position 1).
<br /> Type strings may include leading type
qualifiers.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSMethodSignature-isOneway">isOneway </a></h3>
- (BOOL) <b>isOneway</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Pertains to distributed objects; method is
asynchronous when invoked and return should
not be waited for.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSMethodSignature-methodReturnLength">methodReturnLength </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>methodReturnLength</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Number of bytes that the return value occupies on
the stack, which is platform(hardware)-dependent.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSMethodSignature-methodReturnType">methodReturnType </a></h3>
- (const char*) <b>methodReturnType</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns an Objective-C <code>@encode(...)</code>
compatible string describing the return type of
the method. This may include type qualifiers.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSMethodSignature-numberOfArguments">numberOfArguments </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>numberOfArguments</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns number of arguments to method, including
the implicit <code><em>self</em></code> and
<code><em>_cmd</em></code>.
</div>
<hr width="25%" align="left" />
</div>
<br />
<a href="Base.html">Up</a>
</font>
</body>
</html>
|