Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class mapper

boost::genetics::mapper

Synopsis

// In header: <boost/genetics/utils.hpp>


class mapper {
public:
  // types
  typedef void is_mapper;

  // construct/copy/destruct
  mapper(const char *, const char *);

  // public member functions
  const char * get_ptr() const;
  bool is_end() const;
  template<typename Type> Type * map(size_t, size_t);
  uint64_t read64();

  // public data members
  const char * begin;
  const char * end;
  const char * ptr;
};

Description

mapper public construct/copy/destruct

  1. mapper(const char * begin, const char * end);

mapper public member functions

  1. const char * get_ptr() const;
  2. bool is_end() const;
  3. template<typename Type> Type * map(size_t size, size_t align);
  4. uint64_t read64();

PrevUpHomeNext