Replace DataObjID{,Coll}Property with Gaudi::Property<DataObjID{,Coll}>
Fixes #1 (closed)
- re-order includes so that DataObjID.h is included prior to Property.h
- remove include of Property.h from TypeNameString.h, and
add an alternative to the
TypeNameString
constructor fromGaudi::Property
(without mentioningGaudi::Property
) to avoid a very early inclusion of Property.h, which makes it very difficult to add a parse function to the overload set inGaudi::Parsers
prior to its usage in Property.h - add
parse
andtoStream
as friend functions toDataObjID
(required forGaudi::Property<DataObjID>
) - add a grammar for parsing
DataObjID
which can be used by the parser ofDataObjIDColl = std::unordered_set<DataObjID>
as 'inner' parser - add
Gaudi::Parsers::parse
overload forDataObjIDColl
(required forGaudi::Property<DataObjIDColl>
) - remove dedicated
DataObjID{,Coll,Property
class, but provide a backwards compatible 'using' alias for them -- and mark their use as deprecated - add (outer) parsers for
std::unordered_{map,set}
to GrammarsV2.h - add toStream for
std::unordered_{map,set}
to ToStream.h
Edited by Gerhard Raven