1/* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef ENUMERATION_VALUE_H 6#define ENUMERATION_VALUE_H 7 8 9#include "IntegerValue.h" 10 11 12class EnumerationType; 13 14 15class EnumerationValue : public IntegerValue { 16public: 17 EnumerationValue(EnumerationType* type, 18 const BVariant& value); 19 virtual ~EnumerationValue(); 20 21 EnumerationType* GetType() const 22 { return fType; } 23 24 virtual bool ToString(BString& _string) const; 25 26private: 27 EnumerationType* fType; 28}; 29 30 31#endif // ENUMERATION_VALUE_H 32