annotate DEPENDENCIES/generic/include/boost/numeric/odeint/version.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@16 2 [auto_generated]
Chris@16 3 boost/numeric/odeint/version.hpp
Chris@16 4
Chris@16 5 [begin_description]
Chris@16 6 Defines the current version of odeint.
Chris@16 7 [end_description]
Chris@16 8
Chris@101 9 Copyright 2011-2012 Karsten Ahnert
Chris@101 10 Copyright 2011-2012 Mario Mulansky
Chris@16 11
Chris@16 12 Distributed under the Boost Software License, Version 1.0.
Chris@16 13 (See accompanying file LICENSE_1_0.txt or
Chris@16 14 copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 15 */
Chris@16 16
Chris@16 17 #ifndef BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED
Chris@16 18 #define BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED
Chris@16 19
Chris@16 20 #include <string>
Chris@16 21 #include <sstream>
Chris@16 22
Chris@16 23
Chris@16 24 #define ODEINT_MAJOR_VERSION 2
Chris@16 25 #define ODEINT_MINOR_VERSION 2
Chris@16 26 #define ODEINT_PATCH_LEVEL 0
Chris@16 27 #define ODEINT_VERSION ( ODEINT_MAJOR_VERSION * 100000 + ODEINT_MINOR_VERSION * 100 + ODEINT_PATCH_LEVEL )
Chris@16 28
Chris@16 29
Chris@16 30 namespace boost {
Chris@16 31 namespace numeric {
Chris@16 32 namespace odeint {
Chris@16 33
Chris@16 34 namespace version {
Chris@16 35
Chris@16 36 const int major = ODEINT_MAJOR_VERSION ;
Chris@16 37 const int minor = ODEINT_MINOR_VERSION ;
Chris@16 38 const int patch_level = ODEINT_PATCH_LEVEL ;
Chris@16 39
Chris@16 40 }
Chris@16 41
Chris@16 42 inline std::string get_version_string( void )
Chris@16 43 {
Chris@16 44 std::ostringstream str;
Chris@16 45 str << "v" << version::major << "." << version::minor;
Chris@16 46 if( version::patch_level != 0 ) str << "_" << version::patch_level;
Chris@16 47 return str.str();
Chris@16 48 }
Chris@16 49
Chris@16 50
Chris@16 51 }
Chris@16 52 }
Chris@16 53 }
Chris@16 54
Chris@16 55 #endif // BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED