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

📄 gregorian_autodoc.boostbook

📁 C++的一个好库。。。现在很流行
💻 BOOSTBOOK
📖 第 1 页 / 共 5 页
字号:
          <constructor>
            <parameter name="rhs">
              <paramtype>const date_int_type &amp;</paramtype>
            </parameter>
            <purpose>Needed copy constructor. </purpose>
          </constructor>
          <constructor>
            <parameter name="rhs">
              <paramtype>date_rep_type</paramtype>
            </parameter>
            <purpose>Needed copy constructor. </purpose>
          </constructor>
          <constructor>
            <parameter name="sv">
              <paramtype>special_values</paramtype>
            </parameter>
            <purpose>Constructor for infinities, not a date, max and min date. </purpose>
          </constructor>
        </class>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_day.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <struct name="bad_day_of_month">
          <purpose>Exception type for gregorian day of month (1..31). </purpose>
          <method-group name="public member functions"/>
          <constructor/>
          <constructor>
            <parameter name="s">
              <paramtype>const std::string &amp;</paramtype>
            </parameter>
            <purpose>Allow other classes to throw with unique string for bad day like Feb 29. </purpose>
          </constructor>
        </struct>
        <class name="greg_day">
          <purpose>Represent a day of the month (range 1 - 31). </purpose>
          <description>
            <para>This small class allows for simple conversion an integer value into a day of the month for a standard gregorian calendar. The type is automatically range checked so values outside of the range 1-31 will cause a bad_day_of_month exception </para>
          </description>
          <method-group name="public member functions">
            <method name="as_number" cv="const">
              <type>unsigned short</type>
            </method>
            <method name="conversion-operator" cv="const">
              <type>unsigned short</type>
            </method>
          </method-group>
          <constructor>
            <parameter name="day_of_month">
              <paramtype>unsigned short</paramtype>
            </parameter>
          </constructor>
        </class>
        <typedef name="greg_day_policies">
          <purpose>Policy class that declares error handling and day of month ranges. </purpose>
          <type>CV::simple_exception_policy&lt; unsigned short, 1, 31, <classname>bad_day_of_month</classname> &gt;</type>
        </typedef>
        <typedef name="greg_day_rep">
          <purpose>Generated represetation for gregorian day of month. </purpose>
          <type>CV::constrained_value&lt; greg_day_policies &gt;</type>
        </typedef>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_day_of_year.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <struct name="bad_day_of_year">
          <purpose>Exception type for day of year (1..366). </purpose>
          <method-group name="public member functions"/>
          <constructor/>
        </struct>
        <typedef name="greg_day_of_year_policies">
          <purpose>A day of the year range (1..366). </purpose>
          <type>CV::simple_exception_policy&lt; unsigned short, 1, 366, <classname>bad_day_of_year</classname> &gt;</type>
        </typedef>
        <typedef name="greg_day_of_year_rep">
          <purpose>Define a range representation type for the day of the year 1..366. </purpose>
          <type>CV::constrained_value&lt; greg_day_of_year_policies &gt;</type>
        </typedef>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_duration.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <typedef name="date_duration_rep">
          <purpose>An internal date representation that includes infinities, not a date. </purpose>
          <type>boost::date_time::duration_traits_adapted</type>
        </typedef>
        <typedef name="date_duration">
          <purpose>Durations in days for gregorian system. </purpose>
          <type>date_time::date_duration&lt; date_duration_rep &gt;</type>
        </typedef>
        <typedef name="days">
          <purpose>Shorthand for date_duration. </purpose>
          <type>date_duration</type>
        </typedef>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_duration_types.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <struct name="greg_durations_config">
          <purpose>config struct for additional duration types (ie months_duration&lt;&gt; &amp; years_duration&lt;&gt;) </purpose>
          <typedef name="date_type">
            <type>
              <classname>date</classname>
            </type>
          </typedef>
          <typedef name="int_rep">
            <type>date_time::int_adapter&lt; int &gt;</type>
          </typedef>
          <typedef name="month_adjustor_type">
            <type>date_time::month_functor&lt; <classname>date_type</classname> &gt;</type>
          </typedef>
        </struct>
        <typedef name="months">
          <type>date_time::months_duration&lt; <classname>greg_durations_config</classname> &gt;</type>
        </typedef>
        <typedef name="years">
          <type>date_time::years_duration&lt; <classname>greg_durations_config</classname> &gt;</type>
        </typedef>
        <typedef name="weeks">
          <type>date_time::weeks_duration&lt; date_time::duration_traits_adapted &gt;</type>
        </typedef>
      </namespace>
    </namespace>
  </header>
  <header name="boost/date_time/gregorian/greg_facet.hpp">
    <namespace name="boost">
      <namespace name="gregorian">
        <struct name="greg_facet_config">
          <purpose>Configuration of the output facet template. </purpose>
          <typedef name="month_type">
            <type>
              <classname>boost::gregorian::greg_month</classname>
            </type>
          </typedef>
          <typedef name="special_value_enum">
            <type>boost::date_time::special_values</type>
          </typedef>
          <typedef name="month_enum">
            <type>boost::gregorian::months_of_year</type>
          </typedef>
          <typedef name="weekday_enum">
            <type>boost::date_time::weekdays</type>
          </typedef>
        </struct>
        <typedef name="greg_base_facet">
          <purpose>Create the base facet type for gregorian::date. </purpose>
          <type>boost::date_time::date_names_put&lt; <classname>greg_facet_config</classname> &gt;</type>
        </typedef>
        <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="d">
            <paramtype>const <classname>date</classname> &amp;</paramtype>
          </parameter>
          <purpose>ostream operator for gregorian::date </purpose>
          <description>
            <para>Uses the date facet to determine various output parameters including:<itemizedlist>
<listitem><para>string values for the month (eg: Jan, Feb, Mar) (default: English)</para></listitem><listitem><para>string values for special values (eg: not-a-date-time) (default: English)</para></listitem><listitem><para>selection of long, short strings, or numerical month representation (default: short string)</para></listitem><listitem><para>month day year order (default yyyy-mmm-dd) </para></listitem></itemizedlist>
</para>
          </description>
        </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="m">
            <paramtype>const <classname>greg_month</classname> &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::greg_month typically streaming: Jan, Feb, Mar... </purpose>
          <description>
            <para>Uses the date facet to determine output string as well as selection of long or short strings. Default if no facet is installed is to output a 2 wide numeric value for the month eg: 01 == Jan, 02 == Feb, ... 12 == Dec. </para>
          </description>
        </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="wd">
            <paramtype>const <classname>greg_weekday</classname> &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::greg_weekday typically streaming: Sun, Mon, Tue, ... </purpose>
          <description>
            <para>Uses the date facet to determine output string as well as selection of long or short string. Default if no facet is installed is to output a 3 char english string for the day of the week. </para>
          </description>
        </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="dp">
            <paramtype>const date_period &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::date_period typical output: [2002-Jan-01/2002-Jan-31] </purpose>
          <description>
            <para>Uses the date facet to determine output string as well as selection of long or short string fr dates. Default if no facet is installed is to output a 3 char english string for the day of the week. </para>
          </description>
        </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="dd">
            <paramtype>const date_duration &amp;</paramtype>
          </parameter>
        </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="pd">
            <paramtype>const partial_date &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::partial_date. Output: "Jan 1" </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="nkd">
            <paramtype>const nth_kday_of_month &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::nth_kday_of_month. Output: "first 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="fkd">
            <paramtype>const first_kday_of_month &amp;</paramtype>
          </parameter>
          <purpose>operator&lt;&lt; for gregorian::first_kday_of_month. Output: "first 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>

⌨️ 快捷键说明

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