|
OpenSDN source code
|
#include <proto.h>

Classes | |
| struct | StackFrame |
Public Types | |
| typedef boost::function< void(EncodeContext *, uint8_t *, int, int)> | CallbackType |
Public Member Functions | |
| EncodeContext () | |
| ~EncodeContext () | |
| void | Push () |
| void | Pop (bool callback) |
| void | AddCallback (CallbackType cb, uint8_t *data, int arg) |
| void | advance (int delta) |
| int | length () const |
| void | SaveOffset (std::string) |
| EncodeOffsets & | encode_offsets () |
Private Attributes | |
| boost::ptr_vector< StackFrame > | stack_ |
| EncodeOffsets | offsets_ |
Definition at line 72 of file src/contrail-common/base/proto.h.
| typedef boost::function<void(EncodeContext *, uint8_t *, int, int)> EncodeContext::CallbackType |
Definition at line 74 of file src/contrail-common/base/proto.h.
| EncodeContext::EncodeContext | ( | ) |
Definition at line 163 of file src/contrail-common/base/proto.cc.
| EncodeContext::~EncodeContext | ( | ) |
Definition at line 166 of file src/contrail-common/base/proto.cc.
| void EncodeContext::AddCallback | ( | CallbackType | cb, |
| uint8_t * | data, | ||
| int | arg | ||
| ) |
Definition at line 205 of file src/contrail-common/base/proto.cc.
| void EncodeContext::advance | ( | int | delta | ) |
Definition at line 192 of file src/contrail-common/base/proto.cc.
|
inline |
Definition at line 87 of file src/contrail-common/base/proto.h.
| int EncodeContext::length | ( | ) | const |
Definition at line 200 of file src/contrail-common/base/proto.cc.
| void EncodeContext::Pop | ( | bool | callback | ) |
Definition at line 174 of file src/contrail-common/base/proto.cc.
| void EncodeContext::Push | ( | ) |
Definition at line 169 of file src/contrail-common/base/proto.cc.
| void EncodeContext::SaveOffset | ( | std::string | key | ) |
Definition at line 220 of file src/contrail-common/base/proto.cc.

|
private |
Definition at line 91 of file src/contrail-common/base/proto.h.
|
private |
Definition at line 90 of file src/contrail-common/base/proto.h.