Go to the documentation of this file.
40 auto i = std::make_unique<AnyDataWrapper<int>>( 0 );
41 auto j = std::make_unique<AnyDataWrapper<std::vector<int>>>(
std::vector<int>{ 0, 1, 2, 3 } );
74 auto base = getIfExists<AnyDataWrapperBase>(
m_location );
83 info() <<
"AnyDataHandler holds:";
84 for (
const auto& i : *ids ) info() << i <<
" ";
DataObjectReadHandle< std::vector< int > > m_ids
GaudiAlgorithm(std::string name, ISvcLocator *pSvcLocator)
Standard constructor.
const std::string & name() const override
The identifying name of the algorithm object.
DataObjectWriteHandle< std::vector< int > > m_ids
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
AnyDataPutAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)
#define DECLARE_COMPONENT_WITH_ID(type, id)
T * get() const
Retrieve object from transient data store.
void put(IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const
Register a data object or container into Gaudi Event Transient Store.
const ValueType & value() const
Backward compatibility (.
StatusCode execute() override
standard execution method
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
struct GAUDI_API vector
Parametrisation class for vector-like implementation.
T emplace_back(T... args)
T * put(std::unique_ptr< T > object) const
Register object in transient store.
constexpr static const auto SUCCESS
std::vector< DataObjectWriteHandle< int > > m_id_vec
#define DECLARE_COMPONENT(type)
StatusCode execute() override
standard execution method
Gaudi::Property< std::string > m_loc
Gaudi::Property< std::string > m_location