ATLAS Offline Software
Loading...
Searching...
No Matches
GenerateIndexingPolicy.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 type generator that associates a known container with an IndexingPolicy.
7 Used by ElementLink
8 ----------------------------------------------------------------
9 ATLAS Collaboration
10 ***************************************************************************/
11
12// $Id: GenerateIndexingPolicy.h,v 1.3 2007-03-03 17:56:15 schaffer Exp $
13
14#ifndef ATHLINKS_TOOLS_GENERATEINDEXINGPOLICY_H
15# define ATHLINKS_TOOLS_GENERATEINDEXINGPOLICY_H
16
21
22
23namespace SG {
24 template <class CONTAINER>
26 private:
27
29
31
32 public:
33 typedef typename std::conditional<m_isSTLSequence,ForwardIndexingPolicy<CONTAINER>,typename DefaultIndexingPolicy<CONTAINER>::type>::type type;
34 };
35}
36
37#endif // ATHLINKS_TOOLS_GENERATEINDEXINGPOLICIES_H
Indexing policy for a vector-like container.
Indexing policy for an IdentifiableContainer.
Forward declaration.
ERROR_PLEASE_ADD_ONE_OF_THE_PREDEFINED_POLICY_INCLUDE_FILES_OR_DEFINE_A_DEFAULT_INDEXING_POLICY_FOR_THIS_TYPE< STORABLE > type
IsSTLSequence< object_container_type > isSTLSequence_t
std::conditional< m_isSTLSequence, ForwardIndexingPolicy< object_container_type >, typenameDefaultIndexingPolicy< object_container_type >::type >::type type
static const bool m_isSTLSequence
static const bool value