ATLAS Offline Software
Loading...
Searching...
No Matches
DataProxy_cast.h File Reference

Helpers for retrieving the payload held by a DataProxy. More...

#include "AthenaKernel/StorableConversions.h"
#include "SGTools/exceptions.h"
#include <typeinfo>
Include dependency graph for DataProxy_cast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SG
 Forward declaration.

Functions

template<typename DATA>
DATA * SG::DataProxy_cast (DataProxy *proxy)
 cast the proxy into the concrete data object it proxies
template<typename DATA>
DATA SG::DataProxy_cast (const DataProxy &proxy)
 const ref version of the cast.
void * SG::DataProxy_cast (DataProxy *proxy, CLID clid, const std::type_info *tinfo=nullptr)
 Try to get the pointer back from a DataProxy, converted to be of type clid.

Detailed Description

Helpers for retrieving the payload held by a DataProxy.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Nov, 2024

Broken out from DataProxy.h in order to limit header dependencies.

Definition in file DataProxy_cast.h.