/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.29/AthContainers/AthContainers/IndexTrackingPolicy.h File Reference

Describes the possible index tracking policies. More...

Go to the source code of this file.

Namespaces

namespace  SG
 

Constructor from a payload object.


Enumerations

enum  SG::IndexTrackingPolicy { SG::DEFAULT_TRACK_INDICES, SG::ALWAYS_TRACK_INDICES, SG::NEVER_TRACK_INDICES }

Detailed Description

Describes the possible index tracking policies.

Author:
scott snyder <snyder@bnl.gov>
Date:
Jan, 2013 If the payload of a container does not derive from SG::AuxElement, then the container does not track indices (and thus cannot have associated aux data). If it does, whether a container will track indices (and potentially have aux data) is governed by both the ownership policy and the index tracking policy. The default value for the index tracking policy is DEFAULT_TRACK_INDICES. In that case, we track indices if this container owns its elements (OWN_ELEMENTS) and we don't if the container does not down its elements (VIEW_ELEMENTS). This is the usual case. However, the index tracking policy may also be set to ALWAYS_TRACK_INDICES or NEVER_TRACK_INDICES to override this. (The major foreseen use case for this is to allow index tracking for a view container populated with objects allocated from a DataPool.)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1