PhoenixDebug
2.0.0
Print/save tools to help debugging C++ programs
Toggle main menu visibility
Loading...
Searching...
No Matches
PDebugVector_impl.h
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : LGPL-3.0-only
5
****************************************/
6
7
#ifndef __PDEBUGVECTOR_H_IMPL__
8
#define __PDEBUGVECTOR_H_IMPL__
9
10
11
12
#include "
PDebugVector.h
"
13
15
template
<
typename
T>
16
PDebugVector<T>::PDebugVector
()
17
:std::vector<T>()
18
{
19
initialisationPDebugVector
();
20
}
21
23
25
template
<
typename
T>
26
PDebugVector<T>::PDebugVector
(
const
PDebugVector<T>
& other)
27
:std::vector<T>(other)
28
{
29
30
}
31
33
template
<
typename
T>
34
PDebugVector<T>::~PDebugVector
(){
35
36
}
37
39
template
<
typename
T>
40
PDebugVector<T>
&
PDebugVector<T>::operator <<
(
const
T & value){
41
std::vector<T>::push_back(value);
42
return
*
this
;
43
}
44
46
template
<
typename
T>
47
void
PDebugVector<T>::initialisationPDebugVector
(){
48
49
}
50
51
52
53
54
55
#endif
56
57
58
PDebugVector.h
PDebugVector
Class which eases the use of a std::vector for debugging purpose.
Definition
PDebugVector.h:14
PDebugVector::initialisationPDebugVector
void initialisationPDebugVector()
Initialisation function of the class PDebugVector.
Definition
PDebugVector_impl.h:47
PDebugVector::operator<<
PDebugVector & operator<<(const T &value)
Definition of the << operator to push back some value.
Definition
PDebugVector_impl.h:40
PDebugVector::~PDebugVector
virtual ~PDebugVector()
Destructor of PDebugVector.
Definition
PDebugVector_impl.h:34
PDebugVector::PDebugVector
PDebugVector()
Default constructor of PDebugVector.
Definition
PDebugVector_impl.h:16
src
PDebugVector_impl.h
Generated by
1.17.0