retdec
basic_block.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_SERDES_BASIC_BLOCK_H
8 #define RETDEC_SERDES_BASIC_BLOCK_H
9 
10 #include <rapidjson/document.h>
11 
12 namespace retdec {
13 
14 namespace common {
15 class BasicBlock;
16 } // namespace common
17 
18 namespace serdes {
19 
20 template <typename Writer>
21 void serialize(Writer& writer, const common::BasicBlock::CallEntry& ce);
22 void deserialize(const rapidjson::Value& val, common::BasicBlock::CallEntry& ce);
23 
24 template <typename Writer>
25 void serialize(Writer& writer, const common::BasicBlock& bb);
26 void deserialize(const rapidjson::Value& val, common::BasicBlock& bb);
27 
28 } // namespace serdes
29 } // namespace retdec
30 
31 #endif
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