Home Page   We Generate Your Software.
Products Services Company Technology Demo Contact Site Map Search
The Somusar/SoProTech[tm] Booklet Series
Volume V

"somusar/Sisendel: Reference Guide"

Printer friendly

1. Introduction
2. Entity Files
3. Comment Lines
4. Section CORE
5. Entity Identifier
6. Field List
7. Basic Types
7.1 Purpose
7.2 Usage
7.3 Description
8. User Types
9. Section DEFS
10. Section DB
11. Section LOGIC
12. Section UI
13. Section ADJUST
14. Further Reading

Chapter 7 - Basic Types

7.1 - Purpose        top

Provide basic building blocks to construct new, more complex user types in the form of Software Entities stored in entity files.

7.2 - Usage        top

A <basic-type> can be specified in one of two ways:

  1. <plain-basic-type>

  2. <imported-type>

An <imported-type> is defined as follows:

7.3 - Description        top

A <plain-basic-type> is one of the type identifiers defined in the following table.

Table 1 - Basic types in Sisendel

Type id Description Notes
bool Boolean value -
enum Enumerated value Enumeration values must be defined in section DEFS
float Floating point number Lower and upper bound of validity range may optionally be defined in section DEFS
function Computational object Function parameters and return value(s) must be defined in section DEFS
int8 Signed 8-bit integer number -
int16 Signed 16-bit integer number -
int32 Signed 32-bit integer number -
int64 Signed 64-bit integer number -
range Range of integer values Lower and upper bound of range must be defined in section DEFS
string String of characters Length of string must be specified, may be dynamic
thing Generic object Can be used as a placeholder for complex or multimedia objects, such as documents, sound files, and videoclips (or smell, taste and tactile files in the future).
time Time value -
uint8 Unsigned 8-bit integer number -
uint16 Unsigned 16-bit integer number -
uint32 Unsigned 32-bit integer number -
uint64 Unsigned 64-bit integer number -
unique_id Unique identifier -

Fields whose type is an <imported-type> allow to centralize and share common field type definitions across two or more Software Entities.

The field identifier of the <imported-type> is the <field-identifier> of a field defined by the entity referred to by the <entity-reference>.

An <optional-cardinality> may be specified for fields of any basic type, except for fields of type function.

[Previous chapter]    [Next chapter]    [Back to top]

http:// www.somusar.com  / doc  / booklets  / sisendel_ref  - Powered by SoProMach
Copyright © 2003-2012 Somusar - Trademarks - Legal - Privacy - Webmaster