Skip to content

Source · fairmq/

PropertyOutput.hpublic header

fairmq/PropertyOutput.h23 lines · C++GitHub ↗
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_H9#define FAIR_MQ_PROPERTYOUT_H10 11#include <fairmq/Properties.h>12 13namespace boost14{15 16inline 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 */