Index: doc/qi/binary.qbk =================================================================== --- doc/qi/binary.qbk (revision 72619) +++ doc/qi/binary.qbk (working copy) @@ -43,6 +43,8 @@ [[`boost::spirit::word // alias: boost::spirit::qi::word`]] [[`boost::spirit::dword // alias: boost::spirit::qi::dword`]] [[`boost::spirit::qword // alias: boost::spirit::qi::qword`]] + [[`boost::spirit::bin_float // alias: boost::spirit::qi::bin_float`]] + [[`boost::spirit::bin_double // alias: boost::spirit::qi::bin_double`]] ] [note `qword` is only available on platforms where the preprocessor @@ -66,6 +68,12 @@ [[`qw`] [A 64 bit binary value or a __qi_lazy_argument__ that evaluates to a 64 bit binary value. This value is always in native endian.]] + [[`f`] [A float binary value or a __qi_lazy_argument__ that + evaluates to a float binary value. This value is always + in native endian.]] + [[`d`] [A double binary value or a __qi_lazy_argument__ that + evaluates to a double binary value. This value is always + in native endian.]] ] [heading Expression Semantics] @@ -83,6 +91,8 @@ [[`word(w)`] [Matches an exact 16 bit native endian binary.]] [[`dword(dw)`] [Matches an exact 32 bit native endian binary.]] [[`qword(qw)`] [Matches an exact 64 bit native endian binary.]] + [[`bin_float(f)`] [Matches an exact float native endian binary.]] + [[`bin_double(d)`] [Matches an exact double native endian binary.]] ] [heading Attributes] @@ -93,10 +103,14 @@ [[`word`] [`boost::uint_least16_t`]] [[`dword`] [`boost::uint_least32_t`]] [[`qword`] [`boost::uint_least64_t`]] + [[`bin_float`] [`float`]] + [[`bin_double`] [`double`]] [[`byte_(b)`] [__unused__]] [[`word(w)`] [__unused__]] [[`dword(dw)`] [__unused__]] [[`qword(qw)`] [__unused__]] + [[`bin_float(f)`] [__unused__]] + [[`bin_double(d)`] [__unused__]] ] [heading Complexity] @@ -131,9 +145,11 @@ [table [[Name]] - [[`boost::spirit::little_word // alias: boost::spirit::qi::little_word` ]] - [[`boost::spirit::little_dword // alias: boost::spirit::qi::little_dword` ]] - [[`boost::spirit::little_qword // alias: boost::spirit::qi::little_qword` ]] + [[`boost::spirit::little_word // alias: boost::spirit::qi::little_word` ]] + [[`boost::spirit::little_dword // alias: boost::spirit::qi::little_dword` ]] + [[`boost::spirit::little_qword // alias: boost::spirit::qi::little_qword` ]] + [[`boost::spirit::little_bin_float // alias: boost::spirit::qi::little_bin_float` ]] + [[`boost::spirit::little_bin_double // alias: boost::spirit::qi::little_bin_double` ]] ] [note `little_qword` is only available on platforms where the @@ -155,6 +171,12 @@ [[`qw`] [A 64 bit binary value or a __qi_lazy_argument__ that evaluates to a 64 bit binary value. This value is always in native endian.]] + [[`f`] [A float binary value or a __qi_lazy_argument__ that + evaluates to a float binary value. This value is always + in native endian.]] + [[`d`] [A double binary value or a __qi_lazy_argument__ that + evaluates to a double binary value. This value is always + in native endian.]] ] [heading Expression Semantics] @@ -163,25 +185,33 @@ not defined in __primitive_parser_concept__. [table - [[Expression] [Description]] - [[`little_word`] [Matches any 16 bit little endian binary.]] - [[`little_dword`] [Matches any 32 bit little endian binary.]] - [[`little_qword`] [Matches any 64 bit little endian binary.]] - [[`little_word(w)`] [Matches an exact 16 bit little endian binary.]] - [[`little_dword(dw)`] [Matches an exact 32 bit little endian binary.]] - [[`little_qword(qw)`] [Matches an exact 32 bit little endian binary.]] + [[Expression] [Description]] + [[`little_word`] [Matches any 16 bit little endian binary.]] + [[`little_dword`] [Matches any 32 bit little endian binary.]] + [[`little_qword`] [Matches any 64 bit little endian binary.]] + [[`little_bin_float`] [Matches any float little endian binary.]] + [[`little_bin_double`] [Matches any double little endian binary.]] + [[`little_word(w)`] [Matches an exact 16 bit little endian binary.]] + [[`little_dword(dw)`] [Matches an exact 32 bit little endian binary.]] + [[`little_qword(qw)`] [Matches an exact 32 bit little endian binary.]] + [[`little_bin_float(f)`] [Matches an exact float little endian binary.]] + [[`little_bin_double(d)`] [Matches an exact double little endian binary.]] ] [heading Attributes] [table - [[Expression] [Attribute]] - [[`little_word`] [`boost::uint_least16_t`]] - [[`little_dword`] [`boost::uint_least32_t`]] - [[`little_qword`] [`boost::uint_least64_t`]] - [[`little_word(w)`] [__unused__]] - [[`little_dword(dw)`] [__unused__]] - [[`little_qword(qw)`] [__unused__]] + [[Expression] [Attribute]] + [[`little_word`] [`boost::uint_least16_t`]] + [[`little_dword`] [`boost::uint_least32_t`]] + [[`little_qword`] [`boost::uint_least64_t`]] + [[`little_bin_float`] [`float`]] + [[`little_bin_double`] [`double`]] + [[`little_word(w)`] [__unused__]] + [[`little_dword(dw)`] [__unused__]] + [[`little_qword(qw)`] [__unused__]] + [[`little_bin_float(f)`] [__unused__]] + [[`little_bin_double(d)`] [__unused__]] ] [heading Complexity] @@ -216,9 +246,11 @@ [table [[Name]] - [[`boost::spirit::big_word // alias: boost::spirit::qi::big_word` ]] - [[`boost::spirit::big_dword // alias: boost::spirit::qi::big_dword` ]] - [[`boost::spirit::big_qword // alias: boost::spirit::qi::big_qword` ]] + [[`boost::spirit::big_word // alias: boost::spirit::qi::big_word` ]] + [[`boost::spirit::big_dword // alias: boost::spirit::qi::big_dword` ]] + [[`boost::spirit::big_qword // alias: boost::spirit::qi::big_qword` ]] + [[`boost::spirit::big_bin_float // alias: boost::spirit::qi::big_bin_float` ]] + [[`boost::spirit::big_bin_double // alias: boost::spirit::qi::big_bin_double` ]] ] [note `big_qword` is only available on platforms where the @@ -240,6 +272,12 @@ [[`qw`] [A 64 bit binary value or a __qi_lazy_argument__ that evaluates to a 64 bit binary value. This value is always in native endian.]] + [[`f`] [A float binary value or a __qi_lazy_argument__ that + evaluates to a float binary value. This value is always + in native endian.]] + [[`d`] [A double binary value or a __qi_lazy_argument__ that + evaluates to a double binary value. This value is always + in native endian.]] ] [heading Expression Semantics] @@ -252,9 +290,13 @@ [[`big_word`] [Matches any 16 bit big endian binary.]] [[`big_dword`] [Matches any 32 bit big endian binary.]] [[`big_qword`] [Matches any 64 bit big endian binary.]] + [[`big_bin_float`] [Matches any float big endian binary.]] + [[`big_bin_double`] [Matches any double big endian binary.]] [[`big_word(w)`] [Matches an exact 16 bit big endian binary.]] [[`big_dword(dw)`] [Matches an exact 32 bit big endian binary.]] [[`big_qword(qw)`] [Matches an exact 32 bit big endian binary.]] + [[`big_bin_float(f)`] [Matches an exact float big endian binary.]] + [[`big_bin_double(d)`] [Matches an exact double big endian binary.]] ] [heading Attributes] @@ -264,9 +306,13 @@ [[`big_word`] [`boost::uint_least16_t`]] [[`big_dword`] [`boost::uint_least32_t`]] [[`big_qword`] [`boost::uint_least64_t`]] + [[`big_bin_float`] [`float`]] + [[`big_bin_double`] [`double`]] [[`big_word(w)`] [__unused__]] [[`big_dword(dw)`] [__unused__]] [[`big_qword(qw)`] [__unused__]] + [[`big_bin_float(f)`] [__unused__]] + [[`big_bin_double(d)`] [__unused__]] ] [heading Complexity]