10 #define IMPKERNEL_IO_H
12 #include <IMP/kernel_config.h>
14 #include "internal/utility.h"
15 #include <boost/format.hpp>
17 IMPKERNEL_BEGIN_NAMESPACE
34 const ParticlesTemp &particles,
const FloatKeys &keys);
37 const Vector<char> &buffer,
const ParticlesTemp &particles,
42 IMPKERNEL_END_NAMESPACE
Vector< char > write_particles_to_buffer(const ParticlesTemp &particles, const FloatKeys &keys)
return a binary buffer with the data
IMP::Vector< FloatKey > FloatKeys
void read_particles_from_buffer(const Vector< char > &buffer, const ParticlesTemp &particles, const FloatKeys &keys)
load found attributes into the particles