FairMQ  1.4.14
C++ Message Queuing Library and Framework
PropertyOutput.h
1 /********************************************************************************
2  * Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIR_MQ_PROPERTYOUT_H
9 #define FAIR_MQ_PROPERTYOUT_H
10 
11 #include <fairmq/Properties.h>
12 
13 namespace boost
14 {
15 
16 inline std::ostream& operator<<(std::ostream& os, const boost::any& p)
17 {
18  return os << fair::mq::PropertyHelper::GetPropertyInfo(p).first;
19 }
20 
21 }
22 
23 #endif /* FAIR_MQ_PROPERTYOUT_H */
Definition: ControlMessages.h:20

privacy