mccallum@gnu.ai.mit.edu
)Version: 1.33
Date: 2004/07/02 08:04:54
Copyright: (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSMethodSignature.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Class encapsulating type information for method arguments and return value. It is used as a component of NSInvocation to implement message forwarding, such as within the distributed objects framework. Instances can be obtained from the NSObject method [NSObject -methodSignatureForSelector:] .
Basically, types are represented as
Objective-C @encode(...)
compatible strings, together with size
information. The arguments are numbered
starting from 0, including the implicit
arguments self
(type
id
, at position 0) and
_cmd
(type
SEL
, at position 1).
Build a method signature directly from string
description of return type and argument types,
using the Objective-C @encode(...)
type
codes.
Returns full information on given argument. Indices start at 0. Provide -1 to get info on return value.
Number of bytes that the full set of arguments occupies on the stack, which is platformt(hardware)-dependent.
Returns Objective-C @encode(...)
compatible string. Arguments are numbered
starting from 0, including the implicit arguments
self
(type id
, at
position 0) and _cmd
(type
SEL
, at position 1).
Pertains to distributed objects; method is asynchronous when invoked and return should not be waited for.
Number of bytes that the return value occupies on the stack, which is platformt(hardware)-dependent.
Returns Objective-C @encode(...)
compatible string. Arguments are numbered
starting from 0, including the implicit arguments
self
(type id
, at
position 0) and _cmd
(type
SEL
, at position 1).
Returns number of arguments to method, including
the implicit self
and
_cmd
.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
- Declared in:
- Foundation/NSMethodSignature.h
Standards:
- NotOpenStep
- NotMacOS-X
- GNUstep
Declares a convenience method for getting the entire array of raw type and size information.
Method summaryConvenience method for getting the entire array of raw type and size information.
Returns a string containing all Objective-C
@encode(...)
compatible type
information.