"Converts" arbitrary payloads into a std::string which should be interpreted as an array of bytes.
More...
#include <ByteArrayConverter.h>
Static Private Attributes |
static const std::string | WIRE_SCHEMA = ".*" |
Additional Inherited Members |
typedef boost::shared_ptr
< Converter< std::string > > | Ptr |
| Converter (const std::string &dataType, const std::string &wireSchema, bool dummy=true) |
| Creates a new instance of this class with automatic handling for types.
|
| Converter (const std::string &wireSchema, const DataType *=0) |
| Creates a new instance of this class with a data type string that is inferred based on the template parameter DataType.
|
Detailed Description
"Converts" arbitrary payloads into a std::string which should be interpreted as an array of bytes.
- Author
- jmoringe
Definition at line 45 of file ByteArrayConverter.h.
Constructor & Destructor Documentation
rsb::converter::ByteArrayConverter::ByteArrayConverter |
( |
| ) |
|
rsb::converter::ByteArrayConverter::~ByteArrayConverter |
( |
| ) |
|
|
virtual |
Member Function Documentation
AnnotatedData rsb::converter::ByteArrayConverter::deserialize |
( |
const std::string & |
wireSchema, |
|
|
const std::string & |
wire |
|
) |
| |
|
virtual |
string rsb::converter::ByteArrayConverter::serialize |
( |
const AnnotatedData & |
data, |
|
|
std::string & |
wire |
|
) |
| |
|
virtual |
Member Data Documentation
const string rsb::converter::ByteArrayConverter::WIRE_SCHEMA = ".*" |
|
staticprivate |
The documentation for this class was generated from the following files: