SoPlex Documentation
Loading...
Searching...
No Matches
truncating_iterator_base< OutputIt > Class Template Reference

#include <format.h>

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

Public Types

using iterator_category = std::output_iterator_tag
 
using value_type = typename std::iterator_traits<OutputIt>::value_type
 
using difference_type = void
 
using pointer = void
 
using reference = void
 
using _Unchecked_type
 

Public Member Functions

OutputIt base () const
 
size_t count () const
 

Protected Member Functions

 truncating_iterator_base (OutputIt out, size_t limit)
 

Protected Attributes

OutputIt out_
 
size_t limit_
 
size_t count_
 

Detailed Description

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

Definition at line 454 of file format.h.

Member Typedef Documentation

◆ _Unchecked_type

template<typename OutputIt >
using _Unchecked_type
Initial value:
truncating_iterator_base(OutputIt out, size_t limit)
Definition format.h:460

Definition at line 469 of file format.h.

◆ difference_type

template<typename OutputIt >
using difference_type = void

Definition at line 466 of file format.h.

◆ iterator_category

template<typename OutputIt >
using iterator_category = std::output_iterator_tag

Definition at line 464 of file format.h.

◆ pointer

template<typename OutputIt >
using pointer = void

Definition at line 467 of file format.h.

◆ reference

template<typename OutputIt >
using reference = void

Definition at line 468 of file format.h.

◆ value_type

template<typename OutputIt >
using value_type = typename std::iterator_traits<OutputIt>::value_type

Definition at line 465 of file format.h.

Constructor & Destructor Documentation

◆ truncating_iterator_base()

template<typename OutputIt >
truncating_iterator_base ( OutputIt out,
size_t limit )
protected

Definition at line 460 of file format.h.

Member Function Documentation

◆ base()

template<typename OutputIt >
OutputIt base ( ) const

Definition at line 472 of file format.h.

References truncating_iterator_base< OutputIt >::out_.

◆ count()

template<typename OutputIt >
size_t count ( ) const

Definition at line 473 of file format.h.

References truncating_iterator_base< OutputIt >::count_.

Member Data Documentation

◆ count_

template<typename OutputIt >
size_t count_
protected

Definition at line 458 of file format.h.

Referenced by truncating_iterator_base< OutputIt >::count().

◆ limit_

template<typename OutputIt >
size_t limit_
protected

Definition at line 457 of file format.h.

◆ out_

template<typename OutputIt >
OutputIt out_
protected

Definition at line 456 of file format.h.

Referenced by truncating_iterator_base< OutputIt >::base().