Design Patterns
bus.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef STRUCTURAL_COMPOSITE_BUS_H_
7 #define STRUCTURAL_COMPOSITE_BUS_H_
8 
9 #include "composite_equipment.h"
10 
11 namespace structural
12 {
13 namespace composite
14 {
15 class Bus : public CompositeEquipment
16 {
17  public:
18  Bus();
19  explicit Bus(const std::string& name);
20 };
21 }
22 }
23 
24 #endif
25 
Definition: shape_interface.h:11
Bus()
Definition: bus.cc:14
Definition: composite_equipment.h:19
Definition: bus.h:15
virtual std::string name() const override
Definition: composite_equipment.cc:24