ATLAS Offline Software
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 
11 ElementLinkVectorBase( 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 
17 const std::vector< uint32_t >& ElementLinkVectorBase::persKeys() const {
18 
19  return m_persKeys;
20 }
21 
22 void
23 ElementLinkVectorBase::setPersKeys( const std::vector< uint32_t >& keys ) {
24 
25  m_persKeys = keys;
26  return;
27 }
28 
29 const std::vector< uint32_t >& ElementLinkVectorBase::persIndices() const {
30 
31  return m_persIndices;
32 }
33 
34 void
36 setPersIndices( const std::vector< uint32_t >& indices ) {
37 
39  return;
40 }
ElementLinkVectorBase::m_persIndices
std::vector< uint32_t > m_persIndices
Indices of the referenced objects in the containers.
Definition: AthLinks/ElementLinkVectorBase.h:56
Trk::indices
std::pair< long int, long int > indices
Definition: AlSymMatBase.h:24
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::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
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_persKeys
std::vector< uint32_t > m_persKeys
Keys/identifiers of the referenced containers.
Definition: AthLinks/ElementLinkVectorBase.h:54
ElementLinkVectorBase::persKeys
const std::vector< uint32_t > & persKeys() const
Get the keys/identifiers of the referenced containers.
Definition: src/ElementLinkVectorBase.cxx:17
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
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