ios_state_not_null_ptr
is a non null variant of ios_state_ptr
.
More...
#include <ios_base_state_ptr.hpp>
Public Types | |
typedef T | element_type |
The pointee type. More... | |
Public Member Functions | |
ios_state_not_null_ptr (std::ios_base &ios) | |
~ios_state_not_null_ptr () | |
void | reset (T *new_value) BOOST_NOEXCEPT |
T const * | get () const BOOST_NOEXCEPT |
Allocates the index if not already done. More... | |
T * | get () BOOST_NOEXCEPT |
Allocates the index if not already done. More... | |
T * | operator-> () BOOST_NOEXCEPT |
as if return get(); More... | |
T const * | operator-> () const BOOST_NOEXCEPT |
as if return get(); More... | |
T & | operator* () BOOST_NOEXCEPT |
as if return *get(); More... | |
T const & | operator* () const BOOST_NOEXCEPT |
as if return *get(); More... | |
T * | release () BOOST_NOEXCEPT |
reset the current pointer after storing in a temporary variable the pointer to the current state. More... | |
operator bool () const BOOST_NOEXCEPT | |
Explicit conversion to bool. More... | |
std::ios_base & | getios () BOOST_NOEXCEPT |
std::ios_base & | getios () const BOOST_NOEXCEPT |
operator std::ios_base & () BOOST_NOEXCEPT | |
Implicit conversion to the ios_base. More... | |
operator std::ios_base & () const BOOST_NOEXCEPT | |
Implicit conversion to the ios_base const. More... | |
Protected Attributes | |
std::ios_base & | ios_ |
ios_state_not_null_ptr
is a non null variant of ios_state_ptr
.
T T
must be DefaultConstructible
and HeapAllocatable
|
inherited |
The pointee type.
|
inlineexplicit |
References boost::chrono::ios_state_ptr< Final, T >::reset(), and T.
|
inline |
|
inlineinherited |
Allocates the index if not already done.
Registers the callback responsible of maintaining the state pointer coherency, if not already done. Retrieves the associated ios pointer
References boost::chrono::ios_state_ptr< Final, T >::ios_, and T.
|
inlineinherited |
Allocates the index if not already done.
Registers the callback responsible of maintaining the state pointer coherency, if not already done. Retrieves the associated ios pointer
References boost::chrono::ios_state_ptr< Final, T >::ios_, and T.
|
inlineinherited |
References boost::chrono::ios_state_ptr< Final, T >::ios_.
|
inlineinherited |
References boost::chrono::ios_state_ptr< Final, T >::ios_.
|
inlineexplicitinherited |
Explicit conversion to bool.
|
inlineinherited |
Implicit conversion to the ios_base.
References boost::chrono::ios_state_ptr< Final, T >::ios_.
|
inlineinherited |
Implicit conversion to the ios_base const.
References boost::chrono::ios_state_ptr< Final, T >::ios_.
|
inlineinherited |
as if return
*get();
get()==0
.
|
inlineinherited |
as if return
*get();
get()==0
.
|
inlineinherited |
as if return
get();
|
inlineinherited |
as if return
get();
|
inlineinherited |
reset the current pointer after storing in a temporary variable the pointer to the current state.
References boost::chrono::ios_state_ptr< Final, T >::reset(), and T.
|
inline |
References BOOST_ASSERT, and boost::chrono::ios_state_ptr< Final, T >::reset().
|
protectedinherited |