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

This class is useful to associate some flags to an std::ios_base. More...

#include <ios_base_state_ptr.hpp>

Inheritance diagram for boost::chrono::ios_flags< Final >:

Public Member Functions

 ios_flags (std::ios_base &ios)
 
 ~ios_flags ()
 
long flags () const BOOST_NOEXCEPT
 The format control information. More...
 
long flags (long v) BOOST_NOEXCEPT
 
long setf (long v)
 
void unsetf (long mask)
 
long setf (long v, 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...
 

Detailed Description

template<typename Final>
class boost::chrono::ios_flags< Final >

This class is useful to associate some flags to an std::ios_base.

Constructor & Destructor Documentation

template<typename Final>
boost::chrono::ios_flags< Final >::ios_flags ( std::ios_base &  ios)
inlineexplicit
Parameters
iosthe associated std::ios_base. flags()==0
template<typename Final>
boost::chrono::ios_flags< Final >::~ios_flags ( )
inline

Member Function Documentation

template<typename Final>
long boost::chrono::ios_flags< Final >::flags ( ) const
inline

The format control information.

Referenced by boost::chrono::ios_flags< fmt_masks >::flags().

template<typename Final>
long boost::chrono::ios_flags< Final >::flags ( long  v)
inline
Parameters
vthe new bit mask. v == flags(). The previous value of flags().
template<typename Final>
boost::chrono::ios_flags< Final >::operator std::ios_base & ( )
inline

implicit conversion to the ios_base

template<typename Final>
boost::chrono::ios_flags< Final >::operator std::ios_base const & ( ) const
inline

implicit conversion to the ios_base const

template<typename Final>
long boost::chrono::ios_flags< Final >::setf ( long  v)
inline
Parameters
vthe new value : Sets v in flags(). : The previous value of flags().

Referenced by boost::chrono::local_timezone(), and boost::chrono::symbol_format().

template<typename Final>
long boost::chrono::ios_flags< Final >::setf ( long  v,
long  mask 
)
inline
Parameters
v
mask: Clears mask in flags(), sets v & mask in flags(). : The previous value of flags().
template<typename Final>
void boost::chrono::ios_flags< Final >::unsetf ( long  mask)
inline
Parameters
maskthe bit mask to clear. : Clears mask in flags().

Referenced by boost::chrono::name_format(), boost::chrono::ios_flags< fmt_masks >::setf(), and boost::chrono::utc_timezone().


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