class SampleType [ id({DA249990-6D74-496E-B06A-C0694033665E}) ] { int32 value1; wstring value2; double value2 [v]; // variable attribute };
class
SampleType
int32
wstring
double
// variable attribute
struct SampleStruct [ id({D2223417-CA65-4b3d-9D76-A321983EB758}) ] { int32[3] arrayA; wstring valueB; float valueC; };
struct
SampleStruct
float
list SampleList [ id({BA506E95-D20C-4E9A-8960-2210E7E46F87}), ck ] // ck for "custom key" { object link; // unique 16 bytes wstring strName; }; list SampleList [ id({BA506E95-D20C-4E9A-8960-2210E7E46F88}) ] { int value; };
list
SampleList
// ck for "custom key"
object
// unique 16 bytes
int
external class eSampleType [ id({327472EB-0685-4022-9481-630393BB8B07}) ]; external struct eSampleStruct [ id({405EAC4E-1083-4595-8C52-F45F65718D4F}) ]; external list eSampleList [ id({503DC255-2D1B-428d-B22B-06A52592701C}) ];
external class
eSampleType
external struct
eSampleStruct
external list
eSampleList
["this is an empty class"] class q {};
"this is an empty class"
q