Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gregorian::greg_weekday Class Reference

Represent a day within a week (range 0==Sun to 6==Sat) More...

#include <greg_weekday.hpp>

Inheritance diagram for boost::gregorian::greg_weekday:
Collaboration diagram for boost::gregorian::greg_weekday:

Public Types

typedef boost::date_time::weekdays weekday_enum
 
typedef value_policies::value_type value_type
 

Public Member Functions

 greg_weekday (unsigned short day_of_week_num)
 
unsigned short as_number () const
 
const char * as_short_string () const
 
const char * as_long_string () const
 
const wchar_t * as_short_wstring () const
 
const wchar_t * as_long_wstring () const
 
weekday_enum as_enum () const
 
 operator value_type () const
 Coerce into the representation type. More...
 

Static Public Member Functions

static value_type max BOOST_PREVENT_MACRO_SUBSTITUTION ()
 Return the max allowed value (traits method) More...
 
static value_type min BOOST_PREVENT_MACRO_SUBSTITUTION ()
 Return the min allowed value (traits method) More...
 

Protected Attributes

value_type value_
 

Detailed Description

Represent a day within a week (range 0==Sun to 6==Sat)

Member Typedef Documentation

template<class value_policies >
typedef value_policies::value_type boost::CV::constrained_value< value_policies >::value_type
inherited

Constructor & Destructor Documentation

boost::gregorian::greg_weekday::greg_weekday ( unsigned short  day_of_week_num)
inline

Member Function Documentation

weekday_enum boost::gregorian::greg_weekday::as_enum ( ) const
inline
const char* boost::gregorian::greg_weekday::as_long_string ( ) const
const wchar_t* boost::gregorian::greg_weekday::as_long_wstring ( ) const
unsigned short boost::gregorian::greg_weekday::as_number ( ) const
inline
const char* boost::gregorian::greg_weekday::as_short_string ( ) const
const wchar_t* boost::gregorian::greg_weekday::as_short_wstring ( ) const
template<class value_policies >
static value_type max boost::CV::constrained_value< value_policies >::BOOST_PREVENT_MACRO_SUBSTITUTION ( )
inlinestaticinherited

Return the max allowed value (traits method)

References boost::accumulators::extract::max.

template<class value_policies >
static value_type min boost::CV::constrained_value< value_policies >::BOOST_PREVENT_MACRO_SUBSTITUTION ( )
inlinestaticinherited

Return the min allowed value (traits method)

References boost::accumulators::extract::min.

template<class value_policies >
boost::CV::constrained_value< value_policies >::operator value_type ( ) const
inlineinherited

Coerce into the representation type.

References boost::CV::constrained_value< value_policies >::value_.

Member Data Documentation


The documentation for this class was generated from the following file: