TypedString :: typeDefinition - Type definition
Typed strings require a type definition in order to interpreter and convert data. The property contains the type definition currently set for the typed string.
Since type definition may change when passing the typed string to a Property or Value function, the current type definition should be checked before calling conversion operations.
Type definition refers to a type descriptor for a complex data type (structure), view or enumeration.
Implementation overview
- Get current type definition
TypedString :: typeDefinition (  ) - Set type definition
TypedString :: typeDefinition ( cTypeDefinition )
Implementation details
-
Get current type definition
const odaba::TypeDefinition & TypedString  :: typeDefinition (  )
The function returns the current type definition.
to list
-
Set type definition
const odaba::TypeDefinition & TypedString  :: typeDefinition ( odaba::TypeDefinition &cTypeDefinition )
The function changes the type definition to the type definition passed in cTypeDefinition. When changing the type definition data will be removed from the typed string (clear()).
- cTypeDefinition
- Type definition
Type definition refers to a type descriptor for a complex data type (structure), view or enumeration.
to list
- cTypeDefinition
- Type definition