Lely core libraries 2.3.4
dcf.hpp
Go to the documentation of this file.
1
23#ifndef LELY_CO_DCF_HPP_
24#define LELY_CO_DCF_HPP_
25
26#if !defined(__cplusplus) || LELY_NO_CXX
27#error "include <lely/co/dcf.h> for the C interface"
28#endif
29
30#include <lely/co/dcf.h>
31#include <lely/co/dev.hpp>
32
33namespace lely {
34
35inline typename c_type_traits<__co_dev>::pointer
36c_type_traits<__co_dev>::init(pointer p, const char* filename) noexcept {
37 return __co_dev_init_from_dcf_file(p, filename);
38}
39
40inline typename c_type_traits<__co_dev>::pointer
41c_type_traits<__co_dev>::init(pointer p, const char* begin, const char* end,
42 floc* at) noexcept {
43 return __co_dev_init_from_dcf_text(p, begin, end, at);
44}
45
46} // namespace lely
47
48#endif // !LELY_CO_DCF_HPP_
This header file is part of the CANopen library; it contains the C++ interface of the device descript...
This header file is part of the CANopen library; it contains the Electronic Data Sheet (EDS) and Devi...
A location in a text file.
Definition diag.h:39