SST/macro
Public Member Functions | List of all members
sprockit::pvt::ser_packer Class Reference

#include <serialize_packer.h>

Inheritance diagram for sprockit::pvt::ser_packer:
Inheritance graph
Collaboration diagram for sprockit::pvt::ser_packer:
Collaboration graph

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_
 

Detailed Description

Definition at line 10 of file serialize_packer.h.

Member Function Documentation

template<class T >
void sprockit::pvt::ser_packer::pack ( T &  t)
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().

Here is the call graph for this function:

void sprockit::pvt::ser_packer::pack_buffer ( void *  buf,
int  size 
)
void sprockit::pvt::ser_packer::pack_string ( std::string &  str)

Referenced by pack().


The documentation for this class was generated from the following file: