Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class column

boost::column — This is the class which exposes a column of cells to work with. column_iterator is the standard iterator with this class.

Synopsis

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


class column {
public:
  // types
  typedef column_iterator iterator;

  // construct/copy/destruct
  column(std::shared_ptr< sheet_interface >, std::size_t);

  // public member functions
  boost::cell get_cell(std::size_t);
  boost::cell operator[](std::size_t);
  std::size_t get_column_index() const;
  column_iterator begin();
  column_iterator end();
  const_column_iterator cbegin();
  const_column_iterator cend();
};

Description

column public construct/copy/destruct

  1. column(std::shared_ptr< sheet_interface > obj, std::size_t column);

column public member functions

  1. boost::cell get_cell(std::size_t row);
  2. boost::cell operator[](std::size_t row);
  3. std::size_t get_column_index() const;
  4. column_iterator begin();
  5. column_iterator end();
  6. const_column_iterator cbegin();
  7. const_column_iterator cend();

PrevUpHomeNext