File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ class GalleyVector : public GalleyBase
38
38
39
39
template <class T > class GalleyVectorV : public GalleyVector
40
40
{
41
- StampBaseT <T>& v_stamp;
41
+ StampBaseV <T>& v_stamp;
42
42
public:
43
- GalleyVectorV (StampBaseT <T> & stamp_arg): GalleyVector(stamp_arg), v_stamp(stamp_arg) {};
43
+ GalleyVectorV (StampBaseV <T> & stamp_arg): GalleyVector(stamp_arg), v_stamp(stamp_arg) {};
44
44
std::vector<T> ExtractValues (Blob &blob);
45
45
};
46
46
Original file line number Diff line number Diff line change @@ -22,12 +22,19 @@ class StampBase
22
22
};
23
23
24
24
25
- template <class T > class StampBaseT : public virtual StampBase
25
+ template <class T > class StampBaseV : public virtual StampBase
26
26
{
27
27
public:
28
28
virtual T ExtractValue (Blob &blob) = 0;/* Shoud be defined by derived classes*/
29
29
};
30
30
31
+ template <class T > class StampBasePV : public virtual StampBase
32
+ {
33
+ public:
34
+ virtual T* ExtractValue (Blob &blob) = 0;/* Shoud be defined by derived classes*/
35
+ };
36
+
37
+
31
38
class StampFixed : public virtual StampBase
32
39
{
33
40
protected:
Original file line number Diff line number Diff line change 5
5
#include " helpers.h"
6
6
#include " stamp.h"
7
7
8
- template <class T > class StampArithm : public StampFixed , public StampBaseT <T>
8
+ template <class T > class StampArithm : public StampFixed , public StampBaseV <T>
9
9
{
10
10
public:
11
11
StampArithm () { size = sizeof (T);};
You can’t perform that action at this time.
0 commit comments