somGetMemberToken
Appearance
This method returns an access token for an instance variable. This method is not generally overridden.
For backward compatibility, this method does not take an Environment parameter.
- Original Class
- SOMClass
Syntax
somDToken somGetMemberToken (SOMClass receiver, long memberOffset, somDToken instanceToken)
Parameters
- receiver (SOMClass)
- A pointer to a SOMClass object.
- memberOffset (long)
- A 32-bit integer representing the offset of the required data member.
- instanceToken (somDToken)
- A token, obtained from somGetInstanceToken, that identifies the introduced portion of the class.
Return Code
- rc (somDToken)
- Returns an access token for the specified data member.
Remarks
This method returns an access token for the data member at offset memberOffset within the block of instance data identified by instance token. The returned token can subsequently be passed to the somDataResolve function to locate the data member.
Typically, only the code that implements a class declared using OIDL requires access to this method, and this code is normally provided by implementation bindings. Thus C and C++ programmers do not normally invoke this method.
Related
- Functions
- Methods