Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template pipe_output_iterator

boost::pipe_output_iterator

Synopsis

// In header: <boost/iterator/pipe_iterator_fwd.hpp>

template<typename OutputIterator, typename OneManyPipe> 
struct pipe_output_iterator {
  // types
  typedef unspecified                                           boost_concept_check__LINE__;
  typedef unspecified                                           boost_concept_check__LINE__;
  typedef void                                                  difference_type;            
  typedef void                                                  value_type;                 
  typedef pipe_output_iterator< OutputIterator, OneManyPipe > * pointer;                    
  typedef pipe_output_iterator< OutputIterator, OneManyPipe > & reference;                  
  typedef std::output_iterator_tag                              iterator_category;          

  // construct/copy/destruct
  pipe_output_iterator();
  pipe_output_iterator(OutputIterator, OneManyPipe);
  template<typename T> pipe_output_iterator& operator=(T);

  // public member functions
  OutputIterator base() const;
  const pipe_output_iterator & operator*() const;
  pipe_output_iterator & operator++() ;
  pipe_output_iterator & operator++(int) ;
  bool operator==(const pipe_output_iterator &) const;
  bool operator!=(const pipe_output_iterator &) const;
};

Description

Output Iterator adapter that wraps an output iterator to make one that will convert its output before pushing it to the wrapped iterator.

pipe_output_iterator public construct/copy/destruct

  1. pipe_output_iterator();
  2. pipe_output_iterator(OutputIterator pos_, OneManyPipe p_);
  3. template<typename T> pipe_output_iterator& operator=(T val);

pipe_output_iterator public member functions

  1. OutputIterator base() const;
  2. const pipe_output_iterator & operator*() const;
  3. pipe_output_iterator & operator++() ;
  4. pipe_output_iterator & operator++(int) ;
  5. bool operator==(const pipe_output_iterator & other) const;
  6. bool operator!=(const pipe_output_iterator & other) const;

PrevUpHomeNext