ATLAS Offline Software
Loading...
Searching...
No Matches
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
8namespace Trk {
9
10class 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;
32};
33
34} // end namespace Trk
35
36#endif // TRKALGS_INTVEC_H
int n_elem() const
Definition IntVec.h:27
int * m_ptr_data
Definition IntVec.h:31
IntVec operator-(const IntVec &)
Definition IntVec.cxx:107
IntVec & operator+=(const IntVec &)
Definition IntVec.cxx:96
IntVec & operator-=(const IntVec &)
Definition IntVec.cxx:119
int & operator[](int)
Definition IntVec.cxx:62
IntVec operator+(const IntVec &)
Definition IntVec.cxx:84
void reSize(int)
Definition IntVec.cxx:131
int m_Nele
Definition IntVec.h:30
IntVec & operator=(const IntVec &)
Definition IntVec.cxx:48
Ensure that the ATLAS eigen extensions are properly loaded.