📄 gregorian_autodoc.boostbook
字号:
<constructor>
<parameter name="rhs">
<paramtype>const date_int_type &</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 &</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< unsigned short, 1, 31, <classname>bad_day_of_month</classname> ></type>
</typedef>
<typedef name="greg_day_rep">
<purpose>Generated represetation for gregorian day of month. </purpose>
<type>CV::constrained_value< greg_day_policies ></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< unsigned short, 1, 366, <classname>bad_day_of_year</classname> ></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< greg_day_of_year_policies ></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< date_duration_rep ></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<> & years_duration<>) </purpose>
<typedef name="date_type">
<type>
<classname>date</classname>
</type>
</typedef>
<typedef name="int_rep">
<type>date_time::int_adapter< int ></type>
</typedef>
<typedef name="month_adjustor_type">
<type>date_time::month_functor< <classname>date_type</classname> ></type>
</typedef>
</struct>
<typedef name="months">
<type>date_time::months_duration< <classname>greg_durations_config</classname> ></type>
</typedef>
<typedef name="years">
<type>date_time::years_duration< <classname>greg_durations_config</classname> ></type>
</typedef>
<typedef name="weeks">
<type>date_time::weeks_duration< date_time::duration_traits_adapted ></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< <classname>greg_facet_config</classname> ></type>
</typedef>
<function name="operator<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="d">
<paramtype>const <classname>date</classname> &</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<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="m">
<paramtype>const <classname>greg_month</classname> &</paramtype>
</parameter>
<purpose>operator<< 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<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="wd">
<paramtype>const <classname>greg_weekday</classname> &</paramtype>
</parameter>
<purpose>operator<< 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<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="dp">
<paramtype>const date_period &</paramtype>
</parameter>
<purpose>operator<< 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<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="dd">
<paramtype>const date_duration &</paramtype>
</parameter>
</function>
<function name="operator<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="pd">
<paramtype>const partial_date &</paramtype>
</parameter>
<purpose>operator<< for gregorian::partial_date. Output: "Jan 1" </purpose>
</function>
<function name="operator<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="nkd">
<paramtype>const nth_kday_of_month &</paramtype>
</parameter>
<purpose>operator<< for gregorian::nth_kday_of_month. Output: "first Mon of Jun" </purpose>
</function>
<function name="operator<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
</parameter>
<parameter name="fkd">
<paramtype>const first_kday_of_month &</paramtype>
</parameter>
<purpose>operator<< for gregorian::first_kday_of_month. Output: "first Mon of Jun" </purpose>
</function>
<function name="operator<<">
<type>std::basic_ostream< charT, traits > &</type>
<template>
<template-type-parameter name="charT"/>
<template-type-parameter name="traits"/>
</template>
<parameter name="os">
<paramtype>std::basic_ostream< charT, traits > &</paramtype>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -