ICG 2
Electric Boogaloo
Enumerator.hpp
Go to the documentation of this file.
1 #ifndef ENUMERATOR_H
2 #define ENUMERATOR_H
3 
4 #include <string>
5 
6 class Enumerator {
7 
8 public:
9  Enumerator(std::string name, int value);
10  Enumerator( const Enumerator& original);
11  std::string getName();
12  int getValue();
13  std::string toString();
14 
15 private:
16  std::string name;
17  int value;
18 };
19 #endif
Definition: Enumerator.hpp:6
std::string toString()
Definition: Enumerator.cpp:23
int getValue()
Definition: Enumerator.cpp:18
std::string getName()
Definition: Enumerator.cpp:14
Enumerator(std::string name, int value)
Definition: Enumerator.cpp:4