|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ATHVIEWS_VIEW_H
8 #define ATHVIEWS_VIEW_H
13 #include "AthLinks/ElementLink.h"
25 class View :
public implements<IProxyDict> {
28 View (
const std::string&
name,
const int index,
const bool AllowFallThrough =
true, std::string
const& storeName =
"StoreGateSvc");
58 std::string
dump(
const std::string&
indent =
"" )
const {
74 void setFilter( std::vector< std::string >
const& inputFilter ) {
95 virtual std::vector<const SG::DataProxy*>
proxies()
const {
111 const std::string&
key,
113 bool returnExisting) {
128 sgkey_t& sgkey_out,
size_t& index_out) {
145 #ifdef ATHVIEWS_DEBUG
159 typedef std::vector<SG::View*>
T;
JetConstituentVector::iterator iterator
const std::set< const View * > & getParentLinks() const
View & operator=(const View &)=delete
virtual void unboundHandle(IResetable *handle)
reverse_iterator rbegin()
virtual SG::DataProxy * proxy_exact(SG::sgkey_t sgkey) const
virtual StatusCode addToStore(CLID id, SG::DataProxy *proxy)
Add a new proxy to the store.
virtual bool tryELRemap(sgkey_t sgkey_in, size_t index_in, sgkey_t &sgkey_out, size_t &index_out)
Test to see if the target of an ElementLink has moved.
const SimpleView * impl(void) const
virtual IStringPool::sgkey_t stringToKey(const std::string &str, CLID clid)
View(const View &)=delete
virtual SG::DataProxy * recordObject(SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting)
virtual SG::DataProxy * proxy(const void *const pTransient) const
const_reference at(size_t pos) const
declare to which family the container belongs as far as its indexing policy is concerned
const ElementLink< TrigRoiDescriptorCollection > & getROI() const
virtual const std::string * keyToString(IStringPool::sgkey_t key) const
void impl(SimpleView *impl)
virtual void unboundHandle(IResetable *handle)
Tell the store that a handle has been unbound from a proxy.
SG::sgkey_t sgkey_t
Type of the keys.
virtual StatusCode addToStore(CLID id, SG::DataProxy *proxy)
std::string dump(const std::string &indent="") const
T::const_iterator const_iterator
virtual void boundHandle(IResetable *handle)
Tell the store that a handle has been bound to a proxy.
void linkParent(const IProxyDict *parent)
virtual bool tryELRemap(sgkey_t sgkey_in, size_t index_in, sgkey_t &sgkey_out, size_t &index_out)
a resetable object (e.g. a SG DataHandle)
void push_back(SG::View *ptr)
virtual std::vector< const SG::DataProxy * > proxies() const
Return the list of all current proxies in store.
T::reverse_iterator reverse_iterator
virtual void registerKey(IStringPool::sgkey_t key, const std::string &str, CLID clid)
virtual SG::DataProxy * proxy(const CLID &id, const std::string &key) const
Get proxy with given id and key.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual IStringPool::sgkey_t stringToKey(const std::string &str, CLID clid)
virtual const std::set< const SG::View * > & getParentLinks() const
returns the links to the previously used views
const_iterator begin() const
Very simple pass-through implementation of IProxyDict.
virtual void registerKey(IStringPool::sgkey_t key, const std::string &str, CLID clid)
DataProxy provides the registry services for StoreGate.
virtual SG::DataProxy * deep_proxy(const void *const pTransient) const
void setFilter(std::vector< std::string > const &inputFilter)
virtual SG::DataProxy * proxy(const CLID &id, const std::string &key) const
const_reference back() const
const ElementLink< TrigRoiDescriptorCollection > & getROI() const
Very simple pass-through implementation of IProxyDict.
uint32_t CLID
The Class ID type.
virtual SG::DataProxy * proxy_exact(SG::sgkey_t sgkey) const
Get proxy given a hashed key+clid.
const_iterator end() const
std::string dump(const std::string &indent="") const
for printing the content of the view
std::string viewKey(const std::string &key) const
Construct a key as used in the parent store.
virtual SG::DataProxy * recordObject(SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting)
Record an object in the store.
virtual const std::string * keyToString(IStringPool::sgkey_t key) const
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
virtual const std::string & name() const
T::const_reference const_reference
#define CONTAINER_IS_SEQUENCE(CONTAINER)
virtual const std::string & name() const
void setFilter(std::vector< std::string > const &inputFilter)
Set a filtering rule for anything loaded via fallthrough.
std::string viewKey(const std::string &key) const
Construct a key as used in the parent store.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setROI(const ElementLink< TrigRoiDescriptorCollection > &roi)
virtual void linkParent(const IProxyDict *parent)
links to the previously used views through these parent views additional data objects become availabl...
SimpleView * m_implementation
Smart pointer to manage DataObject reference counts.
virtual std::vector< const SG::DataProxy * > proxies() const
void setROI(const ElementLink< TrigRoiDescriptorCollection > &roi)
std::vector< SG::View * > T
virtual const std::string * keyToString(IStringPool::sgkey_t key, CLID &clid) const
macros to associate a CLID to a type
virtual void boundHandle(IResetable *handle)