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

#include <serialize_buffer_accessor.h>

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

Public Member Functions

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 ()
 

Protected Member Functions

 ser_buffer_accessor ()
 

Protected Attributes

char * bufstart_
 
char * bufptr_
 
size_t size_
 
size_t max_size_
 

Detailed Description

Definition at line 18 of file serialize_buffer_accessor.h.

Constructor & Destructor Documentation

sprockit::pvt::ser_buffer_accessor::ser_buffer_accessor ( )
inlineprotected

Definition at line 69 of file serialize_buffer_accessor.h.

Member Function Documentation

void sprockit::pvt::ser_buffer_accessor::clear ( )
inline

Definition at line 57 of file serialize_buffer_accessor.h.

void sprockit::pvt::ser_buffer_accessor::init ( void *  buffer,
size_t  size 
)
inline
size_t sprockit::pvt::ser_buffer_accessor::max_size ( ) const
inline

Definition at line 45 of file serialize_buffer_accessor.h.

template<class T >
T* sprockit::pvt::ser_buffer_accessor::next ( )
inline

Definition at line 22 of file serialize_buffer_accessor.h.

References sprockit::pvt::ser_buffer_overrun::ser_buffer_overrun().

Here is the call graph for this function:

char* sprockit::pvt::ser_buffer_accessor::next_str ( size_t  size)
inline

Definition at line 31 of file serialize_buffer_accessor.h.

References sprockit::pvt::ser_buffer_overrun::ser_buffer_overrun().

Referenced by sprockit::serializer::array().

Here is the call graph for this function:

void sprockit::pvt::ser_buffer_accessor::reset ( )
inline

Definition at line 63 of file serialize_buffer_accessor.h.

Referenced by sprockit::serializer::reset().

size_t sprockit::pvt::ser_buffer_accessor::size ( ) const
inline

Member Data Documentation

char* sprockit::pvt::ser_buffer_accessor::bufptr_
protected

Definition at line 78 of file serialize_buffer_accessor.h.

char* sprockit::pvt::ser_buffer_accessor::bufstart_
protected

Definition at line 77 of file serialize_buffer_accessor.h.

size_t sprockit::pvt::ser_buffer_accessor::max_size_
protected

Definition at line 80 of file serialize_buffer_accessor.h.

size_t sprockit::pvt::ser_buffer_accessor::size_
protected

Definition at line 79 of file serialize_buffer_accessor.h.


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