File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ void run() {
146146
147147class AdapterExample : public IExample {
148148 public:
149- std::string group () const override { return " patterns" ; }
149+ std::string group () const override { return " patterns/structural " ; }
150150 std::string name () const override { return " Adapter" ; }
151151 std::string description () const override { return " Factory Pattern Example" ; }
152152 void execute () override {
@@ -155,4 +155,4 @@ class AdapterExample : public IExample {
155155 }
156156};
157157
158- REGISTER_EXAMPLE (AdapterExample, " patterns" , " Adapter" );
158+ REGISTER_EXAMPLE (AdapterExample, " patterns/structural " , " Adapter" );
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ void run() {
172172
173173class BridgeExample : public IExample {
174174 public:
175- std::string group () const override { return " patterns" ; }
175+ std::string group () const override { return " patterns/structural " ; }
176176 std::string name () const override { return " Bridge" ; }
177177 std::string description () const override { return " Bridge Pattern Example" ; }
178178 void execute () override {
@@ -181,5 +181,5 @@ class BridgeExample : public IExample {
181181 }
182182};
183183
184- REGISTER_EXAMPLE (BridgeExample, " patterns" , " Bridge" );
184+ REGISTER_EXAMPLE (BridgeExample, " patterns/structural " , " Bridge" );
185185} // namespace
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ void run() {
430430
431431class CompositeExample : public IExample {
432432 public:
433- std::string group () const override { return " patterns" ; }
433+ std::string group () const override { return " patterns/structural " ; }
434434 std::string name () const override { return " Composite" ; }
435435 std::string description () const override {
436436 return " Composite Pattern Example" ;
@@ -441,4 +441,4 @@ class CompositeExample : public IExample {
441441 }
442442};
443443
444- REGISTER_EXAMPLE (CompositeExample, " patterns" , " Composite" );
444+ REGISTER_EXAMPLE (CompositeExample, " patterns/structural " , " Composite" );
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ void run() {
190190
191191class DecoratorExample : public IExample {
192192 public:
193- std::string group () const override { return " patterns" ; }
193+ std::string group () const override { return " patterns/structural " ; }
194194 std::string name () const override { return " Decorator" ; }
195195 std::string description () const override {
196196 return " Decorator Pattern Example" ;
@@ -201,4 +201,4 @@ class DecoratorExample : public IExample {
201201 }
202202};
203203
204- REGISTER_EXAMPLE (DecoratorExample, " patterns" , " Decorator" );
204+ REGISTER_EXAMPLE (DecoratorExample, " patterns/structural " , " Decorator" );
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ void run() {
214214
215215class FacadeExample : public IExample {
216216 public:
217- std::string group () const override { return " patterns" ; }
217+ std::string group () const override { return " patterns/structural " ; }
218218 std::string name () const override { return " Facade" ; }
219219 std::string description () const override { return " Facade Pattern Example" ; }
220220 void execute () override {
@@ -223,4 +223,4 @@ class FacadeExample : public IExample {
223223 }
224224};
225225
226- REGISTER_EXAMPLE (FacadeExample, " patterns" , " Facade" );
226+ REGISTER_EXAMPLE (FacadeExample, " patterns/structural " , " Facade" );
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ void run() {
332332
333333class FlyweightExample : public IExample {
334334 public:
335- std::string group () const override { return " patterns" ; }
335+ std::string group () const override { return " patterns/structural " ; }
336336 std::string name () const override { return " Flyweight" ; }
337337 std::string description () const override {
338338 return " Flyweight Pattern Example" ;
@@ -343,4 +343,4 @@ class FlyweightExample : public IExample {
343343 }
344344};
345345
346- REGISTER_EXAMPLE (FlyweightExample, " patterns" , " Flyweight" );
346+ REGISTER_EXAMPLE (FlyweightExample, " patterns/structural " , " Flyweight" );
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ void run() {
222222
223223class ProxyExample : public IExample {
224224 public:
225- std::string group () const override { return " patterns" ; }
225+ std::string group () const override { return " patterns/structural " ; }
226226 std::string name () const override { return " Proxy" ; }
227227 std::string description () const override { return " Proxy Pattern Example" ; }
228228 void execute () override {
@@ -231,5 +231,5 @@ class ProxyExample : public IExample {
231231 }
232232};
233233
234- REGISTER_EXAMPLE (ProxyExample, " patterns" , " Proxy" );
234+ REGISTER_EXAMPLE (ProxyExample, " patterns/structural " , " Proxy" );
235235} // namespace
You can’t perform that action at this time.
0 commit comments