ATLAS Offline Software
Tracking
TrkAlignment
TrkAlgebraUtils
TrkAlgebraUtils
IntVec.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
#ifndef TRKALGS_INTVEC_H
6
#define TRKALGS_INTVEC_H
7
8
namespace
Trk
{
9
10
class
IntVec
{
11
public
:
12
IntVec
();
13
IntVec
(
int
);
14
IntVec
(
int
,
int
);
15
IntVec
(
const
IntVec
&);
16
~IntVec
();
17
18
int
&
operator[]
(
int
);
19
const
int
&
operator[]
(
int
)
const
;
20
IntVec
&
operator=
(
const
IntVec
&);
21
IntVec
operator+
(
const
IntVec
&);
22
IntVec
&
operator+=
(
const
IntVec
&);
23
IntVec
operator-
(
const
IntVec
&);
24
IntVec
&
operator-=
(
const
IntVec
&);
25
26
void
reSize
(
int
);
27
int
n_elem
()
const
{
return
m_Nele
; }
28
29
private
:
30
int
m_Nele
;
31
int
*
m_ptr_data
;
32
};
33
34
}
// end namespace Trk
35
36
#endif // TRKALGS_INTVEC_H
Trk::IntVec::operator+
IntVec operator+(const IntVec &)
Definition:
IntVec.cxx:84
Trk::IntVec::operator=
IntVec & operator=(const IntVec &)
Definition:
IntVec.cxx:48
Trk::IntVec::operator+=
IntVec & operator+=(const IntVec &)
Definition:
IntVec.cxx:96
Trk::IntVec::operator-=
IntVec & operator-=(const IntVec &)
Definition:
IntVec.cxx:119
Trk::IntVec::reSize
void reSize(int)
Definition:
IntVec.cxx:131
Trk::IntVec::m_ptr_data
int * m_ptr_data
Definition:
IntVec.h:31
Trk::IntVec::operator[]
int & operator[](int)
Definition:
IntVec.cxx:62
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::IntVec::n_elem
int n_elem() const
Definition:
IntVec.h:27
Trk::IntVec::IntVec
IntVec()
Definition:
IntVec.cxx:13
Trk::IntVec
Definition:
IntVec.h:10
Trk::IntVec::~IntVec
~IntVec()
Definition:
IntVec.cxx:44
Trk::IntVec::operator-
IntVec operator-(const IntVec &)
Definition:
IntVec.cxx:107
Trk::IntVec::m_Nele
int m_Nele
Definition:
IntVec.h:30
Generated on Mon Dec 23 2024 21:11:55 for ATLAS Offline Software by
1.8.18