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

#include <ios_base_state.hpp>

Inheritance diagram for boost::chrono::fmt_masks:
Collaboration diagram for boost::chrono::fmt_masks:

Public Types

enum  type {
  uses_symbol = 1 << 0,
  uses_local = 1 << 1
}
 

Public Member Functions

 fmt_masks (std::ios_base &ios)
 
duration_style get_duration_style ()
 
void set_duration_style (duration_style style)
 
timezone get_timezone ()
 
void set_timezone (timezone tz)
 
long flags () const BOOST_NOEXCEPT
 The format control information. More...
 
long flags (long v) BOOST_NOEXCEPT
 
long setf (long v)
 
long setf (long v, long mask)
 
void unsetf (long mask)
 
 operator std::ios_base & () BOOST_NOEXCEPT
 implicit conversion to the ios_base More...
 
 operator std::ios_base const & () const BOOST_NOEXCEPT
 implicit conversion to the ios_base const More...
 

Member Enumeration Documentation

Enumerator
uses_symbol 
uses_local 

Constructor & Destructor Documentation

boost::chrono::fmt_masks::fmt_masks ( std::ios_base &  ios)
inline

Member Function Documentation

long boost::chrono::ios_flags< fmt_masks >::flags ( ) const
inlineinherited

The format control information.

Referenced by get_duration_style(), and get_timezone().

long boost::chrono::ios_flags< fmt_masks >::flags ( long  v)
inlineinherited
Parameters
vthe new bit mask. v == flags(). The previous value of flags().

References boost::chrono::ios_flags< Final >::flags().

duration_style boost::chrono::fmt_masks::get_duration_style ( )
inline
timezone boost::chrono::fmt_masks::get_timezone ( )
inline
boost::chrono::ios_flags< fmt_masks >::operator std::ios_base & ( )
inlineinherited

implicit conversion to the ios_base

boost::chrono::ios_flags< fmt_masks >::operator std::ios_base const & ( ) const
inlineinherited

implicit conversion to the ios_base const

void boost::chrono::fmt_masks::set_duration_style ( duration_style  style)
inline
long boost::chrono::ios_flags< fmt_masks >::setf ( long  v)
inlineinherited
Parameters
vthe new value : Sets v in flags(). : The previous value of flags().

Referenced by set_duration_style(), and set_timezone().

long boost::chrono::ios_flags< fmt_masks >::setf ( long  v,
long  mask 
)
inlineinherited
Parameters
v
mask: Clears mask in flags(), sets v & mask in flags(). : The previous value of flags().

References boost::chrono::ios_flags< Final >::unsetf().

void boost::chrono::ios_flags< fmt_masks >::unsetf ( long  mask)
inlineinherited
Parameters
maskthe bit mask to clear. : Clears mask in flags().

Referenced by set_duration_style(), and set_timezone().


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