company logo

Dictionary :: isElementaryType - Is data type elementary

The function returns whether the date type is a elementary (atomic) data type (as int or char) or not. Usually, elementary data types do not return a size or length, which has to be defined when referring to an elementary data type in a property definition.

Notes:

Should be called: IsBasicType

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Dictionary  :: isElementaryType ( odaba::String &sTypeName )

The function returns true when the type definition refers to an elementary data type and false, otherwise.

Notes:

Should be called: IsBasicType

  • sTypeName - Type name

    The type name is the name of a data type (usually) defined in the database. The type name might be passed as simple identifier or as scoped name with preceding namespace names separated by double colon '::'.

    In order to pass no type name, an empty string ( String() ) may be passed.