The Gaudi Framework  v33r1 (b1225454)
Vector.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIPYTHON_VECTOR_H
12 #define GAUDIPYTHON_VECTOR_H 1
13 // ============================================================================
14 // Include files
15 // ============================================================================
16 // STD & STL
17 // ============================================================================
18 #include <functional>
19 #include <vector>
20 // ============================================================================
21 // GaudiPython
22 // ============================================================================
24 // ============================================================================
25 
26 namespace GaudiPython {
29  typedef Vector Row;
31 
37  struct _identity {
38  template <typename T>
39  T operator()( const T& value ) const {
40  return value;
41  }
42  };
43 
44 } // end of namespace GaudiPython
45 #endif // GAUDIPYTHON_VECTOR_H
It is here due to 'missing'(?) std::identity.
Definition: Vector.h:37
std::vector< double > Vector
useful type definition for implicit loos
Definition: Vector.h:28
GaudiPython.h GaudiPython/GaudiPython.h.
Definition: AlgDecorators.h:47
std::vector< Row > Matrix
Definition: Vector.h:30
T operator()(const T &value) const
Definition: Vector.h:39
Vector Row
Definition: Vector.h:29