@@ -33,7 +33,7 @@ template<class Type, ProtectionType Protector> struct Boundary;
3333template <class Type >
3434struct Boundary <Type, BELOW > : public BoundaryInterface{
3535 static constexpr ProtectionType Protector = BELOW ;
36- static constexpr const char * format = " \" type\" : LOWER_BOUND, \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
36+ static constexpr const char * format = " \" type\" : \" LOWER_BOUND\" , \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
3737 Type* src = nullptr ;
3838 Type boundary;
3939 Boundary (Type boundary): boundary(boundary){};
@@ -55,7 +55,7 @@ struct Boundary<Type, BELOW> : public BoundaryInterface{
5555template <class Type >
5656struct Boundary <Type, ABOVE > : public BoundaryInterface{
5757 static constexpr ProtectionType Protector = ABOVE ;
58- static constexpr const char * format = " \" type\" : UPPER_BOUND, \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
58+ static constexpr const char * format = " \" type\" : \" UPPER_BOUND\" , \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
5959 Type* src = nullptr ;
6060 Type boundary;
6161 Boundary (Type boundary): boundary(boundary){};
@@ -77,7 +77,7 @@ struct Boundary<Type, ABOVE> : public BoundaryInterface{
7777template <class Type >
7878struct Boundary <Type, EQUALS > : public BoundaryInterface{
7979 static constexpr ProtectionType Protector = EQUALS ;
80- static constexpr const char * format = " \" type\" : EQUALS, \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
80+ static constexpr const char * format = " \" type\" : \" EQUALS\" , \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
8181 Type* src = nullptr ;
8282 Type boundary;
8383 Boundary (Type boundary): boundary(boundary){};
@@ -99,7 +99,7 @@ struct Boundary<Type, EQUALS> : public BoundaryInterface{
9999template <class Type >
100100struct Boundary <Type, NOT_EQUALS > : public BoundaryInterface{
101101 static constexpr ProtectionType Protector = NOT_EQUALS ;
102- static constexpr const char * format = " \" type\" : NOT_EQUALS, \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
102+ static constexpr const char * format = " \" type\" : \" NOT_EQUALS\" , \" data\" : { \" value\" : %s, \" bound\" : %s }" ;
103103 Type* src = nullptr ;
104104 Type boundary;
105105 Boundary (Type boundary): boundary(boundary){};
@@ -121,7 +121,7 @@ struct Boundary<Type, NOT_EQUALS> : public BoundaryInterface{
121121template <class Type >
122122struct Boundary <Type, OUT_OF_RANGE > : public BoundaryInterface{
123123 static constexpr ProtectionType Protector = OUT_OF_RANGE ;
124- static constexpr const char * format = " \" type\" : OUT_OF_BOUNDS, \" data\" : { \" value\" : %s, \" bounds\" : [%s, %s] }" ;
124+ static constexpr const char * format = " \" type\" : \" OUT_OF_BOUNDS\" , \" data\" : { \" value\" : %s, \" bounds\" : [%s, %s] }" ;
125125 Type* src = nullptr ;
126126 Type lower_boundary, upper_boundary;
127127 Boundary (Type lower_boundary, Type upper_boundary): lower_boundary(lower_boundary), upper_boundary(upper_boundary){};
@@ -143,7 +143,7 @@ struct Boundary<Type, OUT_OF_RANGE> : public BoundaryInterface{
143143template <>
144144struct Boundary <void , ERROR_HANDLER > : public BoundaryInterface{
145145 static constexpr ProtectionType Protector = ERROR_HANDLER ;
146- static constexpr const char * format = " \" type\" : ERROR_HANDLER, \" data\" : %s " ;
146+ static constexpr const char * format = " \" type\" : \" ERROR_HANDLER\" , \" data\" : %s " ;
147147 Boundary () = default ;
148148 bool check_bounds () override {
149149 return ErrorHandlerModel::error_triggered;
@@ -160,7 +160,7 @@ struct Boundary<void, ERROR_HANDLER> : public BoundaryInterface{
160160template <>
161161struct Boundary <double , TIME_ACCUMULATION > : public BoundaryInterface{
162162 static constexpr ProtectionType Protector = TIME_ACCUMULATION ;
163- static constexpr const char * format = " \" type\" : TIME_ACCUMULATION, \" data\" : { \" value\" : %s, \" bound\" : %s,\" timelimit\" : %s }" ;
163+ static constexpr const char * format = " \" type\" : \" TIME_ACCUMULATION\" , \" data\" : { \" value\" : %s, \" bound\" : %s,\" timelimit\" : %s }" ;
164164 double * src = nullptr ;
165165 double bound;
166166 float time_limit;
@@ -220,7 +220,7 @@ struct Boundary<double, TIME_ACCUMULATION> : public BoundaryInterface{
220220template <>
221221struct Boundary <float , TIME_ACCUMULATION > : public BoundaryInterface{
222222 static constexpr ProtectionType Protector = TIME_ACCUMULATION ;
223- static constexpr const char * format = " \" type\" : TIME_ACCUMULATION, \" data\" : { \" value\" : %s, \" bound\" : %s,\" timelimit\" : %s }" ;
223+ static constexpr const char * format = " \" type\" : \" TIME_ACCUMULATION\" , \" data\" : { \" value\" : %s, \" bound\" : %s,\" timelimit\" : %s }" ;
224224 float * src = nullptr ;
225225 float bound;
226226 float time_limit;
0 commit comments