File tree 2 files changed +23
-7
lines changed
2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 9
9
#ifndef POLYRESTPROCESS_H
10
10
#define POLYRESTPROCESS_H
11
11
#include " RESTProcess_base.h"
12
+ #include " polyRESTProcessBase.h"
13
+ #include " polyRESTProcessBase.cd"
12
14
13
15
namespace classdesc
14
16
{
15
- struct PolyRESTProcessBase
16
- {
17
- virtual void RESTProcess (RESTProcess_t&, const string&) const =0;
18
- virtual void RESTProcess (RESTProcess_t&, const string&)=0;
19
- virtual ~PolyRESTProcessBase () {}
20
- };
21
-
22
17
template <class T , class Base =PolyRESTProcessBase>
23
18
struct PolyRESTProcess : public Base
24
19
{
Original file line number Diff line number Diff line change
1
+ /*
2
+ @copyright Russell Standish 2021
3
+ @author Russell Standish
4
+ This file is part of Classdesc
5
+
6
+ Open source licensed under the MIT license. See LICENSE for details.
7
+ */
8
+
9
+ #ifndef POLYRESTPROCESSBASE_H
10
+ #define POLYRESTPROCESSBASE_H
11
+ namespace classdesc
12
+ {
13
+ struct RESTProcess_t ;
14
+ struct PolyRESTProcessBase
15
+ {
16
+ virtual void RESTProcess (RESTProcess_t&, const std::string&) const =0;
17
+ virtual void RESTProcess (RESTProcess_t&, const std::string&)=0;
18
+ virtual ~PolyRESTProcessBase () {}
19
+ };
20
+ }
21
+ #endif
You can’t perform that action at this time.
0 commit comments