GCC Code Coverage Report


Directory: ./
File: src/PDebugVector_impl.h
Date: 2025-11-27 16:27:07
Exec Total Coverage
Lines: 14 14 100.0%
Functions: 5 6 83.3%
Branches: 0 0 -%

Line Branch Exec Source
1 /***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7 #ifndef __PDEBUGVECTOR_H_IMPL__
8 #define __PDEBUGVECTOR_H_IMPL__
9
10
11
12 #include "PDebugVector.h"
13
14 ///Default constructor of PDebugVector
15 template<typename T>
16 4 PDebugVector<T>::PDebugVector()
17 4 :std::vector<T>()
18 {
19 4 initialisationPDebugVector();
20 4 }
21
22 ///Copy constructor of PDebugVector
23 /** @param other : class to copy
24 */
25 template<typename T>
26 2 PDebugVector<T>::PDebugVector(const PDebugVector<T> & other)
27 2 :std::vector<T>(other)
28 {
29
30 2 }
31
32 ///Destructor of PDebugVector
33 template<typename T>
34 6 PDebugVector<T>::~PDebugVector(){
35
36 6 }
37
38 ///Definition of the << operator to push back some value
39 template<typename T>
40 100 PDebugVector<T> & PDebugVector<T>::operator << (const T & value){
41 100 std::vector<T>::push_back(value);
42 100 return *this;
43 }
44
45 ///Initialisation function of the class PDebugVector
46 template<typename T>
47 4 void PDebugVector<T>::initialisationPDebugVector(){
48
49 4 }
50
51
52
53
54
55 #endif
56
57
58
59