ATLAS Offline Software
Classes | Namespaces | Functions
StorableConversions.h File Reference

convert to and from a SG storable More...

#include "AthenaKernel/DataBucket.h"
#include "AthenaKernel/DataBucketTraitFwd.h"
#include "AthenaKernel/ClassID_traits.h"
#include "GaudiKernel/DataObject.h"
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/MsgStream.h"
#include <memory>
#include <type_traits>
Include dependency graph for StorableConversions.h:

Go to the source code of this file.

Classes

struct  SG::DataBucketTrait< T, U >
 Metafunction to find the proper DataBucket class for T. More...
 

Namespaces

 SG
 Forward declaration.
 

Functions

template<typename T >
DataObject * SG::asStorable (T *pObject)
 
template<typename T >
bool SG::fromStorable (DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
 
template<typename T >
T * SG::Storable_cast (DataObject *pDObj, bool quiet=true, IRegisterTransient *irt=0, bool isConst=true)
 
void * SG::fromStorable (DataObject *pDObj, CLID clid, IRegisterTransient *irt=0, bool isConst=true)
 Try to get the pointer back from a DataObject, converted to be of type clid. More...
 
void * SG::Storable_cast (DataObject *pDObj, CLID clid, IRegisterTransient *irt=0, bool isConst=true)
 Try to get the pointer back from a DataObject, converted to be of type clid. More...
 
template<typename T >
DataObject * SG::asStorable (std::unique_ptr< T > pObject)
 

Detailed Description

convert to and from a SG storable

Id
StorableConversions.h,v 1.13 2008-05-22 22:54:12 calaf Exp
Author
ATLAS Collaboration

Definition in file StorableConversions.h.