2015-01-05 12:30:17 -07:00
|
|
|
/* See other files here for the LICENCE that applies here. */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef INCLUDE_OT_NEWCLI_COMMON1
|
|
|
|
#define INCLUDE_OT_NEWCLI_COMMON1
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <cstring>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
#include <list>
|
|
|
|
#include <algorithm>
|
|
|
|
#include <iostream>
|
|
|
|
#include <fstream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <set>
|
|
|
|
#include <iterator>
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
#include <memory>
|
2015-02-20 14:28:03 -07:00
|
|
|
#include <atomic>
|
2016-03-11 05:25:28 -07:00
|
|
|
#include <boost/thread.hpp>
|
|
|
|
#include <boost/thread/mutex.hpp>
|
|
|
|
#include <boost/thread/recursive_mutex.hpp>
|
|
|
|
#include <boost/thread/lock_guard.hpp>
|
2015-01-05 12:30:17 -07:00
|
|
|
|
|
|
|
|
|
|
|
// list of thigs from libraries that we pull into namespace nOT::nNewcli
|
|
|
|
// we might still need to copy/paste it in few places to make IDEs pick it up correctly
|
|
|
|
#define INJECT_OT_COMMON_USING_NAMESPACE_COMMON_1 \
|
|
|
|
using std::string; \
|
|
|
|
using std::vector; \
|
|
|
|
using std::vector; \
|
|
|
|
using std::list; \
|
|
|
|
using std::set; \
|
|
|
|
using std::map; \
|
|
|
|
using std::ostream; \
|
|
|
|
using std::istream; \
|
|
|
|
using std::cin; \
|
|
|
|
using std::cerr; \
|
|
|
|
using std::cout; \
|
|
|
|
using std::cerr; \
|
|
|
|
using std::endl; \
|
|
|
|
using std::function; \
|
|
|
|
using std::unique_ptr; \
|
|
|
|
using std::shared_ptr; \
|
|
|
|
using std::weak_ptr; \
|
|
|
|
using std::enable_shared_from_this; \
|
2016-03-11 05:25:28 -07:00
|
|
|
using boost::lock_guard; \
|
2015-01-05 12:30:17 -07:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|