mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +00:00
17-ify namespaces
This commit is contained in:
@@ -25,11 +25,7 @@
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
namespace fair
|
||||
{
|
||||
namespace mq
|
||||
{
|
||||
namespace zmq
|
||||
namespace fair::mq::zmq
|
||||
{
|
||||
|
||||
struct ContextError : std::runtime_error { using std::runtime_error::runtime_error; };
|
||||
@@ -191,8 +187,6 @@ class Context
|
||||
bool fRegionEventsSubscriptionActive;
|
||||
};
|
||||
|
||||
} // namespace zmq
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
} // namespace fair::mq::zmq
|
||||
|
||||
#endif /* FAIR_MQ_ZMQ_CONTEXT_H_ */
|
||||
|
@@ -23,11 +23,7 @@
|
||||
#include <new> // bad_alloc
|
||||
#include <string>
|
||||
|
||||
namespace fair
|
||||
{
|
||||
namespace mq
|
||||
{
|
||||
namespace zmq
|
||||
namespace fair::mq::zmq
|
||||
{
|
||||
|
||||
class Socket;
|
||||
@@ -279,8 +275,6 @@ class Message final : public fair::mq::Message
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace zmq
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
} // namespace fair::mq::zmq
|
||||
|
||||
#endif /* FAIR_MQ_ZMQ_MESSAGE_H */
|
||||
|
@@ -20,11 +20,7 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace fair
|
||||
{
|
||||
namespace mq
|
||||
{
|
||||
namespace zmq
|
||||
namespace fair::mq::zmq
|
||||
{
|
||||
|
||||
class Poller final : public fair::mq::Poller
|
||||
@@ -204,8 +200,6 @@ class Poller final : public fair::mq::Poller
|
||||
std::unordered_map<std::string, int> fOffsetMap;
|
||||
};
|
||||
|
||||
} // namespace zmq
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
} // namespace fair::mq::zmq
|
||||
|
||||
#endif /* FAIR_MQ_ZMQ_POLLER_H */
|
||||
|
@@ -21,9 +21,8 @@
|
||||
#include <atomic>
|
||||
#include <memory> // unique_ptr, make_unique
|
||||
|
||||
namespace fair {
|
||||
namespace mq {
|
||||
namespace zmq {
|
||||
namespace fair::mq::zmq
|
||||
{
|
||||
|
||||
class Socket final : public fair::mq::Socket
|
||||
{
|
||||
@@ -471,8 +470,6 @@ class Socket final : public fair::mq::Socket
|
||||
int fTimeout;
|
||||
};
|
||||
|
||||
} // namespace zmq
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
} // namespace fair::mq::zmq
|
||||
|
||||
#endif /* FAIR_MQ_ZMQ_SOCKET_H */
|
||||
|
@@ -21,11 +21,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace fair
|
||||
{
|
||||
namespace mq
|
||||
{
|
||||
namespace zmq
|
||||
namespace fair::mq::zmq
|
||||
{
|
||||
|
||||
class TransportFactory final : public FairMQTransportFactory
|
||||
@@ -145,8 +141,6 @@ class TransportFactory final : public FairMQTransportFactory
|
||||
std::unique_ptr<Context> fCtx;
|
||||
};
|
||||
|
||||
} // namespace zmq
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
} // namespace fair::mq::zmq
|
||||
|
||||
#endif /* FAIR_MQ_ZMQ_TRANSPORTFACTORY_H */
|
||||
|
@@ -16,11 +16,7 @@
|
||||
#include <cstddef> // size_t
|
||||
#include <string>
|
||||
|
||||
namespace fair
|
||||
{
|
||||
namespace mq
|
||||
{
|
||||
namespace zmq
|
||||
namespace fair::mq::zmq
|
||||
{
|
||||
|
||||
class UnmanagedRegion final : public fair::mq::UnmanagedRegion
|
||||
@@ -72,8 +68,6 @@ class UnmanagedRegion final : public fair::mq::UnmanagedRegion
|
||||
RegionBulkCallback fBulkCallback;
|
||||
};
|
||||
|
||||
} // namespace zmq
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
} // namespace fair::mq::zmq
|
||||
|
||||
#endif /* FAIR_MQ_ZMQ_UNMANAGEDREGION_H */
|
||||
|
Reference in New Issue
Block a user