Type equivalences between languagesΒΆ
qi type | qilang type | C++ | Python | Java |
---|---|---|---|---|
Void | nothing | void | NoneType | Void |
Bool | bool | bool | bool | Boolean |
Int# | int# | int#_t | int | Integer |
UInt# | uint# | uint#_t | int | Integer |
UInt64 | uint64 | uint64_t | int | Long |
Float | float32 | float | float | Float |
Double | float64 | double | float | Double |
UInt64 | nsec | qi::NanoSeconds | int | Long |
UInt64 | usec | qi::MicroSeconds | int | Long |
UInt64 | msec | qi::MilliSeconds | int | Long |
UInt64 | sec | qi::Seconds | int | Long |
UInt64 | min | qi::Minutes | int | Long |
UInt64 | hour | qi::Hours | int | Long |
UInt64 | qitimepoint | qi::ClockTimePoint | int | Long |
UInt64 | steadytimepoint | qi::SteadyClockTimePoint | int | Long |
UInt64 | systemtimepoint | qi::SystemClockTimePoint | int | Long |
Raw | raw | qi::Buffer | bytes | byte[] |
String | str | std::string | str | String |
List<T> | Vec<T> | std::vector<T> | list | ArrayList<T> |
Map<T, U> | Map<T, U> | std::map<T, U> | dict | Map<T, U> |
Object | obj | qi::AnyObject | class instance | qimessaging.Object |
Value | any | qi::AnyValue | underlying type | Object |