[previous] [up] [next]     [contents] [index]
Next: xctocc Types Up: xctocc Syntax Previous: Compile-time Switches

Instance Variable Declarations

Scheme access to non-function members in a class is provided though @IVAR @IVAR statements:

@IVAR [mark-char] "Scheme-name" : type C++-name [## ifdefname]

The only legal value for mark-char is r, indicating that the member is read-only. An @IVAR declaration generates (up to) two methods for the Scheme form of the object: get-Scheme-name and set-Scheme-name.



PLT