ESyS-Particle  2.3.4
quintuple.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.apache.org/licenses/LICENSE-2.0 //
10 // //
12 
13 
14 #ifndef ESYS_LSMQUINTUPLE_H
15 #define ESYS_LSMQUINTUPLE_H
16 
17 #include <boost/tuple/tuple.hpp>
18 
19 namespace esys
20 {
21  namespace lsm
22  {
23  template <typename T1, typename T2, typename T3, typename T4, typename T5>
24  class quintuple : public boost::tuple<T1,T2,T3,T4,T5>
25  {
26  public:
27  typedef boost::tuple<T1,T2,T3,T4,T5> inherited;
28  inline quintuple() : inherited()
29  {
30  }
31 
32  inline quintuple(const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5)
33  : inherited(t1,t2,t3,t4,t5)
34  {
35  }
36 
37  inline quintuple(const quintuple &quin)
38  : inherited(quin)
39  {
40  }
41 
42  inline quintuple &operator=(const quintuple &quin)
43  {
44  inherited::operator=(quin);
45  return *this;
46  }
47  };
48  }
49 }
50 
51 #endif
esys::lsm::quintuple::quintuple
quintuple(const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5)
Definition: quintuple.h:32
esys
Definition: CheckPointable.cpp:17
esys::lsm::quintuple::inherited
boost::tuple< T1, T2, T3, T4, T5 > inherited
Definition: quintuple.h:27
esys::lsm::quintuple::operator=
quintuple & operator=(const quintuple &quin)
Definition: quintuple.h:42
esys::lsm::quintuple
Definition: quintuple.h:25
esys::lsm::quintuple::quintuple
quintuple(const quintuple &quin)
Definition: quintuple.h:37
esys::lsm::quintuple::quintuple
quintuple()
Definition: quintuple.h:28