Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/numeric/odeint/version.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DEPENDENCIES/generic/include/boost/numeric/odeint/version.hpp Tue Aug 05 11:11:38 2014 +0100 @@ -0,0 +1,55 @@ +/* + [auto_generated] + boost/numeric/odeint/version.hpp + + [begin_description] + Defines the current version of odeint. + [end_description] + + Copyright 2009-2012 Karsten Ahnert + Copyright 2009-2012 Mario Mulansky + + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or + copy at http://www.boost.org/LICENSE_1_0.txt) + */ + +#ifndef BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED +#define BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED + +#include <string> +#include <sstream> + + +#define ODEINT_MAJOR_VERSION 2 +#define ODEINT_MINOR_VERSION 2 +#define ODEINT_PATCH_LEVEL 0 +#define ODEINT_VERSION ( ODEINT_MAJOR_VERSION * 100000 + ODEINT_MINOR_VERSION * 100 + ODEINT_PATCH_LEVEL ) + + +namespace boost { +namespace numeric { +namespace odeint { + +namespace version { + +const int major = ODEINT_MAJOR_VERSION ; +const int minor = ODEINT_MINOR_VERSION ; +const int patch_level = ODEINT_PATCH_LEVEL ; + +} + +inline std::string get_version_string( void ) +{ + std::ostringstream str; + str << "v" << version::major << "." << version::minor; + if( version::patch_level != 0 ) str << "_" << version::patch_level; + return str.str(); +} + + +} +} +} + +#endif // BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED