|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #include "TMethodCall.h"
30 (
const std::string&
type,
31 const std::string&
name,
35 m_athenaPoolCnvSvc (
"AthenaPoolCnvSvc",
name),
70 cls->GetBaseClass (
"SG::AuxElement");
77 TMethodCall meth (
cls,
"initHelper",
"");
84 TMethodCall meth (
cls,
"dvlinfo",
"");
92 <<
"Can't find DataVector/DataList info for class " <<
m_typename;
93 return StatusCode::FAILURE;
110 return StatusCode::SUCCESS;
136 if (allowMissing &&
p0 == 0) {
138 return StatusCode::SUCCESS;
153 return StatusCode::SUCCESS;
157 return StatusCode::FAILURE;
212 std::vector<const std::type_info*> bases = bib->
get_ti_bases();
213 for (
size_t i = 0;
i < bases.size();
i++) {
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
const std::type_info & tinfo() const
Return the type_info for the container.
virtual const std::type_info & typeinfo() const
Return the type of object retrieved by this tool.
virtual const void * next()=0
Return the next element from the container.
void setStore(SG::IAuxStore *store)
Set the store associated with this object.
Holder to implement conversion copies for DataVector/DataList.
std::vector< const std::type_info * > get_ti_bases() const
Return the type_info's of all known bases of T.
Manage index tracking and synchronization of auxiliary data.
StatusCode init(const std::type_info &src_ti, const std::type_info &dst_ti)
Initialize the converter.
virtual DVLIteratorBase * iterator(const void *cont_p) const =0
Return a new iterator object.
const void * convertUntyped(const void *p) const
Convert pointer.
Block filler tool for noisy FEB information.
virtual size_t size(void *cont_p) const =0
Return the size of the container.
CLID clid() const
Return the class ID being read by this tool.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
static DVLInfoBase * find(const std::type_info &tinfo)
Find the DVLInfo for the container tinfo.
std::string key()
Return the SG key we should use.
static const BaseInfoBase * find(CLID clid)
Find the BaseInfoBase instance for clid.
#define REPORT_MESSAGE(LVL)
Report a message.
#define SGGETTERIMPL_PROPS
Use this macro in the constructor of the derived AlgTool class.
std::string m_typename
Property: Name of the type of the object being retrieved.
SGKeyResolver m_resolver
Helper: Resolve the SG key to use.
The non-template portion of the BaseInfo implementation.
const std::type_info & elt_tinfo() const
Return the type_info for the container's element.
#define ATLAS_THREAD_SAFE
virtual SG::AuxVectorBase * base(void *cont_p) const =0
Return a pointer to the container base.
Interface for const operations on an auxiliary store.
Define macros for attributes used to control the static checker.
bool trackIndices() const
Return true if index tracking is enabled for this container.
virtual const void * getUntyped(bool allowMissing=false)
Return the target object.
StatusCode initializeImpl()
Initialize this mixin class.
Common object getter code for retrieving from StoreGate.
bool is_base(CLID clid) const
Return true if clid is the ID of a class that is known to be a base of T.