company logo

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.

Return value:  Type definition ( odaba::TypeDefinition & )

Type definition refers to a type descriptor for a complex data type (structure), view or enumeration.

Implementation overview

Implementation details

  1. Get current type definition
    const odaba::TypeDefinition & TypedString  :: typeDefinition (  )

    The function returns the current type definition.

  2. to list
  3. 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.

  4. to list