IndexLabelTool.h
Go to the documentation of this file.
1 // IndexLabelTool.h
2 
3 // David Adams
4 // June 2018
5 //
6 // Interface for tools maps and index to a string.
7 
8 #ifndef IndexLabelTool_H
9 #define IndexLabelTool_H
10 
12 
13 public:
14 
15  using Index = unsigned int;
16  using Name = std::string;
17 
18  virtual ~IndexLabelTool() =default;
19 
20  virtual Name get(Index idx) const =0;
21 
22 };
23 
24 #endif
std::string string
Definition: nybbler.cc:12
virtual ~IndexLabelTool()=default
unsigned int Index
std::string Name