|
|
|||
File indexing completed on 2026-01-08 10:06:14
0001 /*============================================================================= 0002 Copyright (C) 2006 Tobias Schwinger 0003 http://spirit.sourceforge.net/ 0004 0005 Distributed under the Boost Software License, Version 1.0. (See accompanying 0006 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0007 =============================================================================*/ 0008 #if !defined(BOOST_SPIRIT_NUMERICS_FWD_HPP) 0009 # define BOOST_SPIRIT_NUMERICS_FWD_HPP 0010 0011 #include <boost/spirit/home/classic/namespace.hpp> 0012 0013 namespace boost { namespace spirit { 0014 0015 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN 0016 0017 /////////////////////////////////////////////////////////////////////////// 0018 // 0019 // uint_parser class 0020 // 0021 /////////////////////////////////////////////////////////////////////////// 0022 template < 0023 typename T = unsigned, 0024 int Radix = 10, 0025 unsigned MinDigits = 1, 0026 int MaxDigits = -1 0027 > 0028 struct uint_parser; 0029 0030 /////////////////////////////////////////////////////////////////////////// 0031 // 0032 // int_parser class 0033 // 0034 /////////////////////////////////////////////////////////////////////////// 0035 template < 0036 typename T = unsigned, 0037 int Radix = 10, 0038 unsigned MinDigits = 1, 0039 int MaxDigits = -1 0040 > 0041 struct int_parser; 0042 0043 /////////////////////////////////////////////////////////////////////////// 0044 // 0045 // sign_parser class 0046 // 0047 /////////////////////////////////////////////////////////////////////////// 0048 struct sign_parser; 0049 0050 /////////////////////////////////////////////////////////////////////////// 0051 // 0052 // default real number policies 0053 // 0054 /////////////////////////////////////////////////////////////////////////// 0055 template <typename T> 0056 struct ureal_parser_policies; 0057 0058 template <typename T> 0059 struct real_parser_policies; 0060 0061 /////////////////////////////////////////////////////////////////////////// 0062 // 0063 // real_parser class 0064 // 0065 /////////////////////////////////////////////////////////////////////////// 0066 template < 0067 typename T = double, 0068 typename RealPoliciesT = ureal_parser_policies<T> 0069 > 0070 struct real_parser; 0071 0072 /////////////////////////////////////////////////////////////////////////// 0073 // 0074 // strict reals (do not allow plain integers (no decimal point)) 0075 // 0076 /////////////////////////////////////////////////////////////////////////// 0077 template <typename T> 0078 struct strict_ureal_parser_policies; 0079 0080 template <typename T> 0081 struct strict_real_parser_policies; 0082 0083 BOOST_SPIRIT_CLASSIC_NAMESPACE_END 0084 0085 }} // namespace BOOST_SPIRIT_CLASSIC_NS 0086 0087 #endif 0088
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|