DataType#

class swordfish._swordfishcpp.DataType(desc, val, type)#

Enumeration defining Swordfish data types.

Defines various data types, such as INT, FLOAT, STRING, etc. Inherits from EnumInt and provides type information for Constant objects. The data type of a Constant object can be retrieved using Constant.type.

Parameters:
  • desc (str)

  • val (int)

  • type (int)