Lely core libraries  2.3.4
type_traits.hpp File Reference

This header file is part of the C++ CANopen application library; it contains the CANopen type traits. More...

#include <lely/features.h>
#include <string>
#include <system_error>
#include <type_traits>
#include <vector>
#include <cstdint>
Include dependency graph for type_traits.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lely::canopen::detail::canopen_traits< T, N, false >
 
struct  lely::canopen::detail::canopen_traits< T, N, true >
 
struct  lely::canopen::canopen_traits< bool >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type BOOLEAN. More...
 
struct  lely::canopen::canopen_traits< int8_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type INTEGER8. More...
 
struct  lely::canopen::canopen_traits< int16_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type INTEGER16. More...
 
struct  lely::canopen::canopen_traits< int32_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type INTEGER32. More...
 
struct  lely::canopen::canopen_traits< uint8_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type UNSIGNED8. More...
 
struct  lely::canopen::canopen_traits< uint16_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type UNSIGNED16. More...
 
struct  lely::canopen::canopen_traits< uint32_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type UNSIGNED32. More...
 
struct  lely::canopen::canopen_traits< float >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type REAL32. More...
 
struct  lely::canopen::canopen_traits<::std::string >
 Specialization of lely::canopen::canopen_traits for the CANopen array type VISIBLE_STRING. More...
 
struct  lely::canopen::canopen_traits<::std::vector< uint8_t > >
 Specialization of lely::canopen::canopen_traits for the CANopen array type OCTET_STRING. More...
 
struct  lely::canopen::canopen_traits<::std::basic_string< char16_t > >
 Specialization of lely::canopen::canopen_traits for the CANopen array type UNICODE_STRING. More...
 
struct  lely::canopen::canopen_traits< double >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type REAL64. More...
 
struct  lely::canopen::canopen_traits< int64_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type INTEGER64. More...
 
struct  lely::canopen::canopen_traits< uint64_t >
 Specialization of lely::canopen::canopen_traits for the CANopen basic type UNSIGNED64. More...
 
struct  lely::canopen::is_canopen< T, class >
 If T is one of the CANopen basic or array types, provides the member constant value equal to true. More...
 
struct  lely::canopen::is_canopen< T, typename canopen_traits< T >::type >
 
struct  lely::canopen::is_canopen_basic< T, class >
 If T is one of the CANopen basic types, provides the member constant value equal to true. More...
 
struct  lely::canopen::is_canopen_basic< T, typename canopen_traits< T >::type >
 

Namespaces

 lely::canopen
 The namespace for the C++ CANopen application library.
 
 lely::canopen::detail
 The namespace for implementation details of the C++ CANopen application library.
 

Functions

constexpr bool lely::canopen::is_canopen_same (uint16_t t1, uint16_t t2) noexcept
 Returns true if the CANopen data types t1 and t2 map to the same C++ type, and false if not.
 

Detailed Description

This header file is part of the C++ CANopen application library; it contains the CANopen type traits.

Author
J. S. Seldenthuis jseld.nosp@m.enth.nosp@m.uis@l.nosp@m.ely..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file type_traits.hpp.