#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
Go to the source code of this file.
◆ build_client_id
#define build_client_id |
( |
|
host_id, |
|
|
|
process_id |
|
) |
| ((static_cast<boost::uint64_t>(host_id) << 32) | static_cast<boost::uint64_t>(process_id)) |
◆ get_host_id_from_client_id
#define get_host_id_from_client_id |
( |
|
client_id | ) |
(static_cast<boost::uint32_t>(client_id >> 32)) |
◆ get_process_id_from_client_id
#define get_process_id_from_client_id |
( |
|
client_id | ) |
(static_cast<boost::int32_t>(client_id)) |
◆ USE_BINARY_ARCHIVE
#define USE_BINARY_ARCHIVE 0 |