12 #ifndef SERIALIZEHELPER_H_ 13 #define SERIALIZEHELPER_H_ 15 #include <pv/serialize.h> 16 #include <pv/byteBuffer.h> 17 #include <pv/noDefaultMethods.h> 18 #include <pv/pvIntrospect.h> 29 class epicsShareClass SerializeHelper {
43 static void writeSize(std::size_t s, ByteBuffer* buffer,
44 SerializableControl* flusher);
55 static std::size_t readSize(ByteBuffer* buffer,
56 DeserializableControl* control);
65 static void serializeString(
const std::string& value, ByteBuffer* buffer,
66 SerializableControl* flusher);
77 static void serializeSubstring(
const std::string& value, std::size_t offset,
78 std::size_t count, ByteBuffer* buffer,
79 SerializableControl* flusher);
95 static std::string deserializeString(ByteBuffer* buffer,
96 DeserializableControl* control);
100 ~SerializeHelper() {};
108 static void writeSize(std::size_t s, ByteBuffer* buffer);
#define EPICS_NOT_COPYABLE(CLASS)
Disable implicit copyable.