ATLAS Offline Software
Loading...
Searching...
No Matches
src/ElementLinkVectorBase.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: ElementLinkVectorBase.cxx 567807 2013-10-30 09:30:16Z krasznaa $
6
7// Local include(s):
8#include "AthLinks/ElementLinkVectorBase.h"
9
11ElementLinkVectorBase( const std::vector< uint32_t >& keys,
12 const std::vector< uint32_t >& indices )
13 : m_persKeys( keys ), m_persIndices( indices ), m_isDirectIO( false ) {
14
15}
16
17const std::vector< uint32_t >& ElementLinkVectorBase::persKeys() const {
18
19 return m_persKeys;
20}
21
22void
23ElementLinkVectorBase::setPersKeys( const std::vector< uint32_t >& keys ) {
24
25 m_persKeys = keys;
26 return;
27}
28
29const std::vector< uint32_t >& ElementLinkVectorBase::persIndices() const {
30
31 return m_persIndices;
32}
33
34void
36setPersIndices( const std::vector< uint32_t >& indices ) {
37
38 m_persIndices = indices;
39 return;
void setPersIndices(const std::vector< uint32_t > &indices)
Set the indices of the referenced objects in the containers.
const std::vector< uint32_t > & persKeys() const
Get the keys/identifiers of the referenced containers.
bool m_isDirectIO
A transient variable signaling when direct I/O is happening.
const std::vector< uint32_t > & persIndices() const
Get the indices of the referenced objects in the containers.
std::vector< uint32_t > m_persKeys
Keys/identifiers of the referenced containers.
void setPersKeys(const std::vector< uint32_t > &keys)
Set the keys/identifiers of the referenced containers.
std::vector< uint32_t > m_persIndices
Indices of the referenced objects in the containers.
ElementLinkVectorBase(const std::vector< uint32_t > &keys=std::vector< uint32_t >(), const std::vector< uint32_t > &indices=std::vector< uint32_t >())
Default constructor.