⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gregorian_autodoc.boostbook

📁 C++的一个好库。。。现在很流行
💻 BOOSTBOOK
📖 第 1 页 / 共 5 页
字号:
          </parameter>
          <parameter name="lkd">
            <paramtype>const last_kday_of_month &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::last_kday_of_month. Output: "last Mon of Jun" </purpose>
        </function>
        <function name="operator&lt;&lt;">
          <type>std::basic_ostream&lt; charT, traits &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
          <template-type-parameter name="traits"/>
        </template>
          <parameter name="os">
            <paramtype>std::basic_ostream&lt; charT, traits &gt; &amp;</paramtype>
          </parameter>
          <parameter name="fka">
            <paramtype>const first_kday_after &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::first_kday_after. Output: "first Mon after" </purpose>
        </function>
        <function name="operator&lt;&lt;">
          <type>std::basic_ostream&lt; charT, traits &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
          <template-type-parameter name="traits"/>
        </template>
          <parameter name="os">
            <paramtype>std::basic_ostream&lt; charT, traits &gt; &amp;</paramtype>
          </parameter>
          <parameter name="fkb">
            <paramtype>const first_kday_before &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::first_kday_before. Output: "first Mon before" </purpose>
        </function>
        <function name="operator&gt;&gt;">
          <type>std::basic_istream&lt; charT &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
        </template>
          <parameter name="is">
            <paramtype>std::basic_istream&lt; charT &gt; &amp;</paramtype>
          </parameter>
          <parameter name="d">
            <paramtype><classname>date</classname> &amp;</paramtype>
          </parameter>
          <purpose>operator&gt;&gt; for gregorian::date </purpose>
        </function>
        <function name="operator&gt;&gt;">
          <type>std::basic_istream&lt; charT &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
        </template>
          <parameter name="is">
            <paramtype>std::basic_istream&lt; charT &gt; &amp;</paramtype>
          </parameter>
          <parameter name="dd">
            <paramtype>date_duration &amp;</paramtype>
          </parameter>
          <purpose>operator&gt;&gt; for gregorian::date_duration </purpose>
        </function>
        <function name="operator&gt;&gt;">
          <type>std::basic_istream&lt; charT &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
        </template>
          <parameter name="is">
            <paramtype>std::basic_istream&lt; charT &gt; &amp;</paramtype>
          </parameter>
          <parameter name="dp">
            <paramtype>date_period &amp;</paramtype>
          </parameter>
          <purpose>operator&gt;&gt; for gregorian::date_period </purpose>
        </function>
        <function name="generate_locale">
          <type>BOOST_DATE_TIME_DECL std::locale</type>
          <parameter name="loc">
            <paramtype>std::locale &amp;</paramtype>
          </parameter>
          <parameter name="type">
            <paramtype>char</paramtype>
          </parameter>
          <purpose>generates a locale with the set of gregorian name-strings of type char* </purpose>
        </function>
        <function name="create_facet_def">
          <type>BOOST_DATE_TIME_DECL boost::date_time::all_date_names_put&lt; <classname>greg_facet_config</classname>, char &gt; *</type>
          <parameter name="type">
            <paramtype>char</paramtype>
          </parameter>
          <purpose>Returns a pointer to a facet with a default set of names (English). </purpose>
        </function>
        <function name="generate_locale">
          <type>BOOST_DATE_TIME_DECL std::locale</type>
          <parameter name="loc">
            <paramtype>std::locale &amp;</paramtype>
          </parameter>
          <parameter name="type">
            <paramtype>wchar_t</paramtype>
          </parameter>
          <purpose>generates a locale with the set of gregorian name-strings of type wchar_t* </purpose>
        </function>
        <function name="create_facet_def">
          <type>BOOST_DATE_TIME_DECL boost::date_time::all_date_names_put&lt; <classname>greg_facet_config</classname>, wchar_t &gt; *</type>
          <parameter name="type">
            <paramtype>wchar_t</paramtype>
          </parameter>
          <purpose>Returns a pointer to a facet with a default set of names (English). </purpose>
        </function>
        <function name="operator&gt;&gt;">
          <type>std::basic_istream&lt; charT &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
        </template>
          <parameter name="is">
            <paramtype>std::basic_istream&lt; charT &gt; &amp;</paramtype>
          </parameter>
          <parameter name="m">
            <paramtype><classname>greg_month</classname> &amp;</paramtype>
          </parameter>
          <purpose>operator&gt;&gt; for gregorian::greg_month - throws exception if invalid month given </purpose>
        </function>
        <function name="operator&gt;&gt;">
          <type>std::basic_istream&lt; charT &gt; &amp;</type>
          <template>
          <template-type-parameter name="charT"/>
        </template>
          <parameter name="is">
            <paramtype>std::basic_istream&lt; charT &gt; &amp;</paramtype>
          </parameter>
          <parameter name="wd">
            <paramtype><classname>greg_weekday</classname> &amp;</paramtype>
          </parameter>
          <purpose>operator&gt;&gt; for gregorian::greg_weekday - throws exception if invalid weekday given </purpose>
        </function>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_month.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <struct name="bad_month">
          <purpose>Exception thrown if a greg_month is constructed with a value out of range. </purpose>
          <method-group name="public member functions"/>
          <constructor/>
        </struct>
        <class name="greg_month">
          <purpose>Wrapper class to represent months in gregorian based calendar. </purpose>
          <typedef name="month_enum">
            <type>date_time::months_of_year</type>
          </typedef>
          <typedef name="month_map_type">
            <type>std::map&lt; std::string, unsigned short &gt;</type>
          </typedef>
          <typedef name="month_map_ptr_type">
            <type>boost::shared_ptr&lt; month_map_type &gt;</type>
          </typedef>
          <method-group name="public member functions">
            <method name="conversion-operator" cv="const">
              <type>unsigned short</type>
              <purpose>Convert the value back to a short. </purpose>
            </method>
            <method name="as_number" cv="const">
              <type>unsigned short</type>
              <purpose>Returns month as number from 1 to 12. </purpose>
            </method>
            <method name="as_enum" cv="const">
              <type>month_enum</type>
            </method>
            <method name="as_short_string" cv="const">
              <type>const char *</type>
            </method>
            <method name="as_long_string" cv="const">
              <type>const char *</type>
            </method>
            <method name="as_short_wstring" cv="const">
              <type>const wchar_t *</type>
            </method>
            <method name="as_long_wstring" cv="const">
              <type>const wchar_t *</type>
            </method>
            <method name="as_short_string" cv="const">
              <type>const char *</type>
              <parameter name="">
                <paramtype>char</paramtype>
              </parameter>
            </method>
            <method name="as_long_string" cv="const">
              <type>const char *</type>
              <parameter name="">
                <paramtype>char</paramtype>
              </parameter>
            </method>
            <method name="as_short_string" cv="const">
              <type>const wchar_t *</type>
              <parameter name="">
                <paramtype>wchar_t</paramtype>
              </parameter>
            </method>
            <method name="as_long_string" cv="const">
              <type>const wchar_t *</type>
              <parameter name="">
                <paramtype>wchar_t</paramtype>
              </parameter>
            </method>
          </method-group>
          <constructor>
            <parameter name="theMonth">
              <paramtype>month_enum</paramtype>
            </parameter>
            <purpose>Construct a month from the months_of_year enumeration. </purpose>
          </constructor>
          <constructor>
            <parameter name="theMonth">
              <paramtype>unsigned short</paramtype>
            </parameter>
            <purpose>Construct from a short value. </purpose>
          </constructor>
          <method-group name="public static functions">
            <method name="get_month_map_ptr" cv="">
              <type>month_map_ptr_type</type>
              <purpose>Shared pointer to a map of Month strings (Names &amp; Abbrev) &amp; numbers. </purpose>
            </method>
          </method-group>
        </class>
        <typedef name="months_of_year">
          <type>date_time::months_of_year</type>
        </typedef>
        <typedef name="greg_month_policies">
          <purpose>Build a policy class for the greg_month_rep. </purpose>
          <type>CV::simple_exception_policy&lt; unsigned short, 1, 12, <classname>bad_month</classname> &gt;</type>
        </typedef>
        <typedef name="greg_month_rep">
          <purpose>A constrained range that implements the gregorian_month rules. </purpose>
          <type>CV::constrained_value&lt; greg_month_policies &gt;</type>
        </typedef>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_serialize.hpp"/>
  <header name="boost/date_time/gregorian/greg_weekday.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <struct name="bad_weekday">
          <purpose>Exception that flags that a weekday number is incorrect. </purpose>
          <method-group name="public member functions"/>
          <constructor/>
        </struct>
        <class name="greg_weekday">
          <purpose>Represent a day within a week (range 0==Sun to 6==Sat). </purpose>
          <typedef name="weekday_enum">
            <type>boost::date_time::weekdays</type>
          </typedef>
          <method-group name="public member functions">
            <method name="as_number" cv="const">
              <type>unsigned short</type>
            </method>
            <method name="as_short_string" cv="const">
              <type>const char *</type>
            </method>
            <method name="as_long_string" cv="const">
              <type>const char *</type>
            </method>
            <method name="as_short_wstring" cv="const">
              <type>const wchar_t *</type>
            </method>
            <method name="as_long_wstring" cv="const">
              <type>const wchar_t *</type>
            </method>
            <method name="as_enum" cv="const">
              <type>weekday_enum</type>
            </method>
          </method-group>
          <constructor>
            <parameter name="day_of_week_num">
              <paramtype>unsigned short</paramtype>
            </parameter>
          </constructor>
        </class>
        <typedef name="greg_weekday_policies">
          <type>CV::simple_exception_policy&lt; unsigned short, 0, 6, <classname>bad_weekday</classname> &gt;</type>
        </typedef>
        <typedef name="greg_weekday_rep">
          <type>CV::constrained_value&lt; greg_weekday_policies &gt;</type>
        </typedef>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_year.hpp">
    <namespace name="boost">
      <namespace name="gregorian">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -