2 // impl/serial_port_base.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~
5 // Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 // Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
8 // Distributed under the Boost Software License, Version 1.0. (See accompanying
9 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
12 #ifndef BOOST_ASIO_IMPL_SERIAL_PORT_BASE_HPP
13 #define BOOST_ASIO_IMPL_SERIAL_PORT_BASE_HPP
15 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
17 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
19 #include <boost/asio/detail/push_options.hpp>
24 inline serial_port_base::baud_rate::baud_rate(unsigned int rate)
29 inline unsigned int serial_port_base::baud_rate::value() const
34 inline serial_port_base::flow_control::type
35 serial_port_base::flow_control::value() const
40 inline serial_port_base::parity::type serial_port_base::parity::value() const
45 inline serial_port_base::stop_bits::type
46 serial_port_base::stop_bits::value() const
51 inline unsigned int serial_port_base::character_size::value() const
59 #include <boost/asio/detail/pop_options.hpp>
61 #endif // BOOST_ASIO_IMPL_SERIAL_PORT_BASE_HPP