Contenido principal

Data Type Functions

LibDataTypeIsBus(id)

Returns TLC_TRUE if the data type specified by id is a nonvirtual bus and TLC_FALSE otherwise.

See LibDataTypeIsBus in dtype_api.tlc.

LibGetDataTypeIsFixedPoint(id)

Returns TLC_TRUE if the data type specified by id is a fixed-point type and TLC_FALSE otherwise.

See LibGetDataTypeIsFixedPoint in dtype_api.tlc.

LibGetDataTypeIsNumeric(id)

Returns TLC_TRUE if the data type specified by id is numeric and TLC_FALSE otherwise.

See LibGetDataTypeIsNumeric in dtype_api.tlc.

LibGetDataTypeIsSigned(id)

Returns TLC_TRUE if the data type specified by id is signed and TLC_FALSE otherwise.

See LibGetDataTypeIsSigned in dtype_api.tlc.

LibGetDataTypeRequiredBits(dataTypeId)

Returns the number of bits required to represent the specified data type dataTypeId.

See LibGetDataTypeRequiredBits in dtype_api.tlc.

LibGetEnumTypeCodeGenStringFromIndex(id, enumIdx)

Returns the code generation string for the enumeration value for the specified enumeration index enumIdx from the enumerated data type ID id. Depending on the definition of enumeration, the returned string can include the class name as a prefix.

See LibGetEnumTypeCodeGenStringFromIndex in dtype_api.tlc.

LibGetEnumTypeCodeGenStringFromValue(id, enumValue)

Returns the code generation string for the specified numeric value enumValue of an enumeration member from the specified enumerated data type ID id.

See LibGetEnumTypeCodeGenStringFromValue in dtype_api.tlc.

LibGetEnumTypeDefaultCodeGenString(id)

Returns the default code generation string for the specified enumerated data type ID id.

See LibGetEnumTypeDefaultCodeGenString in dtype_api.tlc.

LibGetEnumTypeIndexFromValue(id, enumValue)

Returns the index of the enumeration member for the specified enumeration numeric value enumValue from the enumerated data type ID id.

See LibGetEnumTypeIndexFromValue in dtype_api.tlc.

LibGetEnumTypeIndexOfDefaultValue(id)

Returns the index of the default value of the specified enumerated data type ID id.

See LibGetEnumTypeIndexOfDefaultValue in dtype_api.tlc.

LibGetEnumTypeStringFromIndex(id, enumIdx)

Returns the original string representation of the enumeration value for the specified enumeration index enumIdx from the enumerated data type ID id. The returned string reflects the exact value as originally defined in the enumeration, without any modifications or prefixes.

See LibGetEnumTypeStringFromIndex in dtype_api.tlc.

LibGetEnumTypeValueFromIndex(id, enumIdx)

Returns the enumeration value for the specified enumeration index enumIdx from the enumerated data type ID id.

See LibGetEnumTypeValueFromIndex in dtype_api.tlc.

LibImageBaseTypeFromId(id)

Returns the image base type for the data type specified by id.

See LibImageBaseTypeFromId in dtype_api.tlc.

LibImageColorFormatFromId(id)

Returns the image color format for the data type specified by id.

See LibImageColorFormatFromId in dtype_api.tlc.

LibImageLayoutFromId(id)

Returns the image layout for the data type specified by id.

See LibImageLayoutFromId in dtype_api.tlc.

LibImageNumChannelsFromId(id)

Returns the number of channels in an image for the data type specified by id.

See LibImageNumChannelsFromId in dtype_api.tlc.

LibImageNumColsFromId(id)

Returns the number of columns of an image for the data type specified by id.

See LibImageNumColsFromId in dtype_api.tlc.

LibImageNumRowsFromId(id)

Returns the number of rows in an image for the data type specified by id.

See LibImageNumRowsFromId in dtype_api.tlc.

LibIsEnumDataType(id)

Returns TLC_TRUE if the data type specified by id is an enumerated data type and TLC_FALSE otherwise.

See LibIsEnumDataType in dtype_api.tlc.

LibIsStringDataType(id)

Returns TLC_TRUE if the data type specified by id is a string data type and TLC_FALSE otherwise.

See LibIsStringDataType in dtype_api.tlc.