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 "AthenaKernel/tools/type_tools.h"
#include "AthenaKernel/DataObjectSharedPtr.h"
#include "GaudiKernel/DataObject.h"
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/MsgStream.h"
#include <type_traits>
#include "boost/mpl/identity.hpp"
#include "boost/mpl/eval_if.hpp"
#include <memory>

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)
 
template<typename T >
DataObject * SG::asStorable (SG::DataObjectSharedPtr< 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.