22 #ifndef LELY_COAPP_DETAIL_TYPE_TRAITS_HPP_ 23 #define LELY_COAPP_DETAIL_TYPE_TRAITS_HPP_ 29 #include <type_traits> 58 : ::std::integral_constant<bool, IsCanopenBasic<T>::value ||
59 IsCanopenArray<T>::value> {};
179 if (t1 == t2)
return true;
195 #endif // LELY_COAPP_DETAIL_TYPE_TRAITS_HPP_ This is the public header file of the C++ CANopen application library.
#define CO_DEFTYPE_DOMAIN
The data type (and object index) of an arbitrary large block of data.
If T is one of the CANopen basic or array types, provides the member constant value equal to true...
If T is one of the CANopen basic types, provides the member constant value equal to true...
#define CO_DEFTYPE_OCTET_STRING
The data type (and object index) of an array of octets.
Global namespace for the Lely Industries N.V. libraries.
If T is one of the CANopen array types, provides the member constant value equal to true...
bool IsCanopenSame(uint16_t t1, uint16_t t2)
Returns true if the CANopen data types t1 and t2 map to the same C++ type, and false if not...
This header file is part of the CANopen library; it contains the CANopen type definitions.