retdec
address.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_SERDES_ADDRESS_H
8 #define RETDEC_SERDES_ADDRESS_H
9 
10 #include <rapidjson/document.h>
11 
12 #include "retdec/common/address.h"
13 
14 namespace retdec {
15 namespace serdes {
16 
17 template <typename Writer>
18 void serialize(Writer& writer, const common::Address& a);
19 void deserialize(const rapidjson::Value& val, common::Address& a);
20 
21 template <typename Writer>
22 void serialize(Writer& writer, const common::AddressRange& r);
23 void deserialize(const rapidjson::Value& val, common::AddressRange& r);
24 
25 } // namespace serdes
26 } // namespace retdec
27 
28 #endif
Definition: address.h:21
Definition: range.h:45
Address, address pair and other derived class representation.
void serialize(Writer &writer, const common::Address &a)
Definition: address.cpp:24
void deserialize(const rapidjson::Value &val, common::Address &a)
Definition: address.cpp:30
Definition: archive_wrapper.h:19