PrevUpHomeNext

Struct template converted_segmenter

boost::converted_segmenter

Synopsis

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

template<typename Converter, typename Segmenter> 
struct converted_segmenter {
  // types
  typedef Converter::input_type input_type;

  // construct/copy/destruct
  converted_segmenter();
  converted_segmenter(Converter, Segmenter);

  // public member functions
   BOOST_CONCEPT_ASSERT((ConverterConcept< Converter >));
   BOOST_CONCEPT_ASSERT((SegmenterConcept< Segmenter >));
   BOOST_CONCEPT_ASSERT((Convertible< typename Converter::output_type, typename Segmenter::input_type >));
   BOOST_MPL_ASSERT((mpl::equal_to< typename Converter::max_output, mpl::int_< 1 > >));
  template<typename In> void ltr(In &, In);
  template<typename In> void rtl(In, In &);
};

Description

Model of Segmenter that adapts the elements another Segmenter sees with a model of Converter, assuming its max_output is 1.

converted_segmenter public construct/copy/destruct

  1. converted_segmenter();
  2. converted_segmenter(Converter p_, Segmenter c_);

converted_segmenter public member functions

  1.  BOOST_CONCEPT_ASSERT((ConverterConcept< Converter >));
  2.  BOOST_CONCEPT_ASSERT((SegmenterConcept< Segmenter >));
  3.  BOOST_CONCEPT_ASSERT((Convertible< typename Converter::output_type, typename Segmenter::input_type >));
  4.  BOOST_MPL_ASSERT((mpl::equal_to< typename Converter::max_output, mpl::int_< 1 > >));
  5. template<typename In> void ltr(In & begin, In end);
  6. template<typename In> void rtl(In begin, In & end);

PrevUpHomeNext