ICG 2
Electric Boogaloo
DataTypes
include
Type
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
Enumerator
Definition:
Enumerator.hpp:6
Enumerator::toString
std::string toString()
Definition:
Enumerator.cpp:23
Enumerator::getValue
int getValue()
Definition:
Enumerator.cpp:18
Enumerator::getName
std::string getName()
Definition:
Enumerator.cpp:14
Enumerator::Enumerator
Enumerator(std::string name, int value)
Definition:
Enumerator.cpp:4
Generated by
1.9.1