Next: , Previous: CType class-initialization, Up: CType


1.51.3 CType: accessing

alignof
Answer the size of the receiver's instances


arrayType: size
Answer a CArrayCType which represents an array with the given size of CObjects whose type is in turn represented by the receiver


cObjectType
Answer the CObject subclass whose instance is created when new is sent to the receiver


ptrType
Answer a CPtrCType which represents a pointer to CObjects whose type is in turn represented by the receiver


sizeof
Answer the size of the receiver's instances


valueType
valueType is used as a means to communicate to the interpreter the underlying type of the data. For anything but scalars, it's just 'self'