The Gaudi Framework  master (d98a2936)
ParsersStandardSet.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
14 #include <Gaudi/Parsers/Factory.h>
15 #include <set>
16 #include <string_view>
17 #include <unordered_set>
18 
19 #define PARSERS_DEF_FOR_SET( InnerType ) \
20  StatusCode Gaudi::Parsers::parse( std::set<InnerType>& result, std::string_view input ) { \
21  return Gaudi::Parsers::parse_( result, input ); \
22  } \
23  StatusCode Gaudi::Parsers::parse( std::unordered_set<InnerType>& result, std::string_view input ) { \
24  return Gaudi::Parsers::parse_( result, input ); \
25  }
Factory.h
CommonParsers.h