SST/macro
|
#include <serialize_packer.h>
Public Member Functions | |
template<class T > | |
void | pack (T &t) |
void | pack_buffer (void *buf, int size) |
void | pack_string (std::string &str) |
Public Member Functions inherited from sprockit::pvt::ser_buffer_accessor | |
template<class T > | |
T * | next () |
char * | next_str (size_t size) |
size_t | size () const |
size_t | max_size () const |
void | init (void *buffer, size_t size) |
void | clear () |
void | reset () |
Additional Inherited Members | |
Protected Member Functions inherited from sprockit::pvt::ser_buffer_accessor | |
ser_buffer_accessor () | |
Protected Attributes inherited from sprockit::pvt::ser_buffer_accessor | |
char * | bufstart_ |
char * | bufptr_ |
size_t | size_ |
size_t | max_size_ |
Definition at line 10 of file serialize_packer.h.
|
inline |
Definition at line 16 of file serialize_packer.h.
References pack_buffer(), pack_string(), and sprockit::pvt::ser_buffer_accessor::size().
Referenced by sprockit::serializer::pack(), and sprockit::serializer::primitive().
void sprockit::pvt::ser_packer::pack_buffer | ( | void * | buf, |
int | size | ||
) |
Referenced by sprockit::serializer::binary(), and pack().
void sprockit::pvt::ser_packer::pack_string | ( | std::string & | str | ) |
Referenced by pack().