company logo

TypeDefinition :: alignment - Alignment definition

Alignment specifications are used to align elements within an instance e.g. on word boundary. This is important for instances provided within a C++ environment on several UNIX platforms (e.g. SUN Solaris). The defined alignment influences the internal data representation, i.e. the instance structure in memory. It will not affect the storage format of stored instances and can be changed for a running project without creating a new schema version.

Return value:  Alignment for members of a type or key definition ( int32  )

Implementation details

int32 TypeDefinition  :: alignment (  )

If the function is not called with a valid type definition it throws an exception.