Home | Libraries | People | FAQ | More |
boost::genetics::writer
// In header: <boost/genetics/utils.hpp> class writer { public: // member classes/structs/unions template<typename A, typename B> struct exists { // types typedef B type; }; // construct/copy/destruct writer(char *, char *); // public member functions char * get_ptr() const; bool is_end() const; template<typename Type> void write(const Type *, size_t, size_t); template<typename VecType> void write(const VecType &, size_t = sizeof(typename VecType::value_type)); void write(const std::string &); void write64(uint64_t); };
writer
public member functionschar * get_ptr() const;
bool is_end() const;
template<typename Type> void write(const Type * src, size_t size, size_t align);
template<typename VecType> void write(const VecType & vec, size_t align = sizeof(typename VecType::value_type));
void write(const std::string & str);
void write64(uint64_t value);