Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template row_iter

boost::row_iter

Synopsis

// In header: <boost/document/row.hpp>

template<typename Value> 
class row_iter : public boost::iterator_facade< row_iter< Cell >, Cell, boost::random_access_traversal_tag >
{
public:
  // construct/copy/destruct
  row_iter(std::shared_ptr< sheet_interface >, std::size_t, std::size_t);

  // public member functions
  void increment();
  void decrement();
  void advance(std::size_t);
  template<typename T> bool equal(row_iter< T > const &) const;
  template<typename T> std::size_t distance_to(row_iter< T > const &) const;
  Cell & dereference() const;
};

Description

row_iter public construct/copy/destruct

  1. row_iter(std::shared_ptr< sheet_interface > r, std::size_t num, 
             std::size_t row);

row_iter public member functions

  1. void increment();
  2. void decrement();
  3. void advance(std::size_t n);
  4. template<typename T> bool equal(row_iter< T > const & other) const;
  5. template<typename T> 
      std::size_t distance_to(row_iter< T > const & other) const;
  6. Cell & dereference() const;

PrevUpHomeNext