1 /* 2 * Copyright Andrey Semashev 2007 - 2015. 3 * Distributed under the Boost Software License, Version 1.0. 4 * (See accompanying file LICENSE_1_0.txt or copy at 5 * http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 /*! 8 * \file attribute_get_value_impl.hpp 9 * \author Andrey Semashev 10 * \date 04.08.2012 11 * 12 * \brief This header is the Boost.Log library implementation, see the library documentation 13 * at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html. 14 */ 15 16 #ifndef BOOST_LOG_DETAIL_ATTRIBUTE_GET_VALUE_IMPL_HPP_INCLUDED_ 17 #define BOOST_LOG_DETAIL_ATTRIBUTE_GET_VALUE_IMPL_HPP_INCLUDED_ 18 19 #include <boost/log/detail/config.hpp> 20 #include <boost/log/attributes/attribute.hpp> 21 #include <boost/log/attributes/attribute_value.hpp> 22 #include <boost/log/detail/header.hpp> 23 24 #ifdef BOOST_HAS_PRAGMA_ONCE 25 #pragma once 26 #endif 27 28 namespace boost { 29 30 BOOST_LOG_OPEN_NAMESPACE 31 get_value() const32inline attribute_value attribute::get_value() const 33 { 34 return m_pImpl->get_value(); 35 } 36 37 BOOST_LOG_CLOSE_NAMESPACE // namespace log 38 39 } // namespace boost 40 41 #include <boost/log/detail/footer.hpp> 42 43 #endif // BOOST_LOG_DETAIL_ATTRIBUTE_GET_VALUE_IMPL_HPP_INCLUDED_ 44