ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthLinks
AthLinks
AthLinks/ElementLinkVectorBase.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: ElementLinkVectorBase.h 589034 2014-03-24 00:25:32Z ssnyder $
8
#ifndef ATHLINKS_ELEMENTLINKVECTORBASE_H
9
#define ATHLINKS_ELEMENTLINKVECTORBASE_H
10
11
// System include(s):
12
extern
"C"
{
13
# include <stdint.h>
14
}
15
#include <vector>
16
28
class
ElementLinkVectorBase
{
29
30
public
:
32
ElementLinkVectorBase
(
const
std::vector< uint32_t >& keys =
33
std::vector< uint32_t >(),
34
const
std::vector< uint32_t >& indices =
35
std::vector< uint32_t >() );
37
virtual
~ElementLinkVectorBase
() {}
38
40
const
std::vector< uint32_t >&
persKeys
()
const
;
42
void
setPersKeys
(
const
std::vector< uint32_t >& keys );
43
45
const
std::vector< uint32_t >&
persIndices
()
const
;
47
void
setPersIndices
(
const
std::vector< uint32_t >& indices );
48
50
virtual
bool
toTransient
() = 0;
51
52
protected
:
54
std::vector< uint32_t >
m_persKeys
;
56
std::vector< uint32_t >
m_persIndices
;
57
66
bool
m_isDirectIO
;
67
68
};
// class ElementLinkVectorBase
69
70
#endif
// ATHLINKS_ELEMENTLINKVECTORBASE_H
ElementLinkVectorBase::~ElementLinkVectorBase
virtual ~ElementLinkVectorBase()
Virtual destructor, to make vtable happy...
Definition
AthLinks/ElementLinkVectorBase.h:37
ElementLinkVectorBase::setPersIndices
void setPersIndices(const std::vector< uint32_t > &indices)
Set the indices of the referenced objects in the containers.
Definition
src/ElementLinkVectorBase.cxx:36
ElementLinkVectorBase::persKeys
const std::vector< uint32_t > & persKeys() const
Get the keys/identifiers of the referenced containers.
Definition
src/ElementLinkVectorBase.cxx:17
ElementLinkVectorBase::m_isDirectIO
bool m_isDirectIO
A transient variable signaling when direct I/O is happening.
Definition
AthLinks/ElementLinkVectorBase.h:66
ElementLinkVectorBase::persIndices
const std::vector< uint32_t > & persIndices() const
Get the indices of the referenced objects in the containers.
Definition
src/ElementLinkVectorBase.cxx:29
ElementLinkVectorBase::m_persKeys
std::vector< uint32_t > m_persKeys
Keys/identifiers of the referenced containers.
Definition
AthLinks/ElementLinkVectorBase.h:54
ElementLinkVectorBase::setPersKeys
void setPersKeys(const std::vector< uint32_t > &keys)
Set the keys/identifiers of the referenced containers.
Definition
src/ElementLinkVectorBase.cxx:23
ElementLinkVectorBase::m_persIndices
std::vector< uint32_t > m_persIndices
Indices of the referenced objects in the containers.
Definition
AthLinks/ElementLinkVectorBase.h:56
ElementLinkVectorBase::toTransient
virtual bool toTransient()=0
Reset the object's internal cache.
ElementLinkVectorBase::ElementLinkVectorBase
ElementLinkVectorBase(const std::vector< uint32_t > &keys=std::vector< uint32_t >(), const std::vector< uint32_t > &indices=std::vector< uint32_t >())
Default constructor.
Definition
src/ElementLinkVectorBase.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0