| 
    MRPT
    2.0.0
    
   | 
 
#include <mrpt/serializatin/CSerializable.h>)
Modules | |
| Serialization functions for ZMQ (v3 | |
| or above) (in #include <mrpt/serialization/serialization_zmq.h>)  | |
Functions | |
| void | mrpt::serialization::ObjectToOctetVector (const CSerializable *o, std::vector< uint8_t > &out_vector) | 
| Converts (serializes) an MRPT object into an array of bytes.  More... | |
| void | mrpt::serialization::OctetVectorToObject (const std::vector< uint8_t > &in_data, CSerializable::Ptr &obj) | 
| Converts back (de-serializes) a sequence of binary data into a MRPT object, without prior information about the object's class.  More... | |
| void mrpt::serialization::ObjectToOctetVector | ( | const CSerializable * | o, | 
| std::vector< uint8_t > & | out_vector | ||
| ) | 
Converts (serializes) an MRPT object into an array of bytes.
| o | The object to be serialized. | 
| out_vector | The vector which at return will contain the data. Size will be set automatically. | 
Definition at line 21 of file CSerializable.cpp.
References mrpt::serialization::archiveFrom().
Referenced by TEST().
| void mrpt::serialization::OctetVectorToObject | ( | const std::vector< uint8_t > & | in_data, | 
| CSerializable::Ptr & | obj | ||
| ) | 
Converts back (de-serializes) a sequence of binary data into a MRPT object, without prior information about the object's class.
| in_data | The serialized input data representing the object. | 
| obj | The newly created object will be stored in this smart pointer. | 
| None | On any internal exception, this function returns a nullptr pointer. | 
Definition at line 29 of file CSerializable.cpp.
References mrpt::serialization::archiveFrom().
Referenced by TEST().
| Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020 |