ESyS-Particle  2.3.2
quintuple.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 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.opensource.org/licenses/osl-3.0.php //
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  {
45  return *this;
46  }
47  };
48  }
49 }
50 
51 #endif