| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Vector.h
Go to the documentation of this file.
1 #ifndef GAUDIPYTHON_VECTOR_H
2 #define GAUDIPYTHON_VECTOR_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // STD & STL
7 // ============================================================================
8 #include <vector>
9 #include <functional>
10 // ============================================================================
11 // GaudiPython
12 // ============================================================================
13 #include "GaudiPython/GaudiPython.h"
14 // ============================================================================
15
16 namespace GaudiPython
17 {
19 typedef std::vector<double> Vector ;
20 typedef Vector Row ;
21 typedef std::vector<Row> Matrix ;
22
28 template <class TYPE>
29 struct _identity :
30 public std::unary_function<TYPE,TYPE>
31 {
32 inline Vector::value_type operator()
33 ( const Vector::value_type& value ) const { return value ; }
34 };
35
36 } // end of namespace GaudiPython
37 #endif // GAUDIPYTHON_VECTOR_H
GaudiPython::_identity
It is here due to 'missing'(?) std::identity.
Definition: Vector.h:29
GaudiPython::Vector
std::vector< double > Vector
useful type definition for implicit loos
Definition: Vector.h:19
dump_component_properties.value
list value
Definition: dump_component_properties.py:12
GaudiPython.h
GaudiPython
GaudiPython.h GaudiPython/GaudiPython.h.
Definition: AlgDecorators.h:37
GaudiPython::Matrix
std::vector< Row > Matrix
Definition: Vector.h:21
std::vector< double >
std::unary_function
GaudiPython::Row
Vector Row
Definition: Vector.h:20