| 1 | = Explaination of Notation = |
| 2 | This is the TDX language ... |
| 3 | So, you've probably got here by looking at a definition of a sub part of the TDX description. |
| 4 | |
| 5 | in short ... |
| 6 | |
| 7 | *SINGLETON <singletonName>* declares a singleton (both class and instance definition), below which are listed the attributes that the singleton are constructed from eg. |
| 8 | |
| 9 | {{{ |
| 10 | SINGLETON system |
| 11 | int aSolitaryInteger := 3 // static integer |
| 12 | ubyte$ aSolitaryString := "system name" // static string |
| 13 | classUnderScrutiny{} setOfObjectsUnderScrutiny // set/list of object instances of classUnderScrutiny |
| 14 | }}} |
| 15 | |
| 16 | *CLASS <className>* declares a class (though not any instances), below which are listed the attributes that instances of the class are constructed from eg. |
| 17 | |
| 18 | {{{ |
| 19 | OBJECT classUnderScrutiny ( ubyte$ nameOfInstance ) |
| 20 | int sizeOfName = nameOfInstance->length // two fields, one is a part of the constructor |
| 21 | }}} |