Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
internal::truncating_iterator_base< OutputIt > Class Template Reference

#include <format.h>

Inheritance diagram for internal::truncating_iterator_base< OutputIt >:
internal::truncating_iterator< OutputIt, std::false_type > internal::truncating_iterator< OutputIt, std::true_type >

Public Types

typedef std::output_iterator_tag iterator_category
 
typedef void difference_type
 
typedef void pointer
 
typedef void reference
 
typedef truncating_iterator_base _Unchecked_type
 

Public Member Functions

OutputIt base () const
 
std::size_t count () const
 

Protected Member Functions

 truncating_iterator_base (OutputIt out, std::size_t limit)
 

Protected Attributes

OutputIt out_
 
std::size_t limit_
 
std::size_t count_
 

Detailed Description

template<typename OutputIt>
class internal::truncating_iterator_base< OutputIt >

Definition at line 647 of file format.h.

Member Typedef Documentation

template<typename OutputIt >
typedef truncating_iterator_base internal::truncating_iterator_base< OutputIt >::_Unchecked_type

Definition at line 661 of file format.h.

template<typename OutputIt >
typedef void internal::truncating_iterator_base< OutputIt >::difference_type

Definition at line 658 of file format.h.

template<typename OutputIt >
typedef std::output_iterator_tag internal::truncating_iterator_base< OutputIt >::iterator_category

Definition at line 657 of file format.h.

template<typename OutputIt >
typedef void internal::truncating_iterator_base< OutputIt >::pointer

Definition at line 659 of file format.h.

template<typename OutputIt >
typedef void internal::truncating_iterator_base< OutputIt >::reference

Definition at line 660 of file format.h.

Constructor & Destructor Documentation

template<typename OutputIt >
internal::truncating_iterator_base< OutputIt >::truncating_iterator_base ( OutputIt  out,
std::size_t  limit 
)
inlineprotected

Definition at line 653 of file format.h.

654  : out_(out), limit_(limit), count_(0) {}

Member Function Documentation

template<typename OutputIt >
OutputIt internal::truncating_iterator_base< OutputIt >::base ( ) const
inline

Definition at line 663 of file format.h.

663 { return out_; }
template<typename OutputIt >
std::size_t internal::truncating_iterator_base< OutputIt >::count ( ) const
inline

Definition at line 664 of file format.h.

664 { return count_; }

Member Data Documentation

template<typename OutputIt >
std::size_t internal::truncating_iterator_base< OutputIt >::count_
protected

Definition at line 651 of file format.h.

template<typename OutputIt >
std::size_t internal::truncating_iterator_base< OutputIt >::limit_
protected

Definition at line 650 of file format.h.

template<typename OutputIt >
OutputIt internal::truncating_iterator_base< OutputIt >::out_
protected

Definition at line 649 of file format.h.


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