|
ContRap-Core
|
Serializer block. More...
#include <serializer.h>
Public Member Functions | |
| Block () | |
| Creates an empty bock. | |
| Block (const std::string &type, const std::string &code) | |
| Creates the block from a coded value. | |
| Block (const std::string &type, char *buffer, size_t size) | |
| Creates the block from a pointer and a size. | |
Data Fields | |
| std::string | type |
| Address of the node. | |
| std::string | code |
| Size of the data. | |
Serializer block.
| crp::Serializer::Block::Block | ( | ) | [inline] |
Creates an empty bock.
| crp::Serializer::Block::Block | ( | const std::string & | type, |
| const std::string & | code | ||
| ) | [inline] |
Creates the block from a coded value.
| type | Type name of the block |
| code | Code of the block |
| crp::Serializer::Block::Block | ( | const std::string & | type, |
| char * | buffer, | ||
| size_t | size | ||
| ) |
Creates the block from a pointer and a size.
| type | Type name of the block |
| buffer | Address of the memory of the block |
| size | Size of the block in bytes |
| std::string crp::Serializer::Block::code |
Size of the data.
| std::string crp::Serializer::Block::type |
Address of the node.
1.7.3