Design Patterns
inventory.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 OPERATIONAL_VISITOR_INVENTORY_H_
7 #define OPERATIONAL_VISITOR_INVENTORY_H_
8 
10 
11 namespace operational
12 {
13 namespace visitor
14 {
15 class Inventory
16 {
17  public:
18  Inventory();
19  Inventory(const Inventory&);
20 
22  int count() const;
23 
24  private:
25  int count_;
26 };
27 }
28 }
29 
30 #endif
31 
void Accumulate(VisitedEquipmentInterface *)
Definition: inventory.cc:16
Definition: application.cc:10
Inventory()
Definition: inventory.cc:12
Definition: inventory.h:15
Definition: visited_equipment_interface.h:17
int count() const
Definition: inventory.cc:21