1*fce4895dSRene Gollent /* 2*fce4895dSRene Gollent * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3*fce4895dSRene Gollent * Distributed under the terms of the MIT License. 4*fce4895dSRene Gollent */ 5*fce4895dSRene Gollent #ifndef ENUMERATION_VALUE_NODE_H 6*fce4895dSRene Gollent #define ENUMERATION_VALUE_NODE_H 7*fce4895dSRene Gollent 8*fce4895dSRene Gollent 9*fce4895dSRene Gollent #include "ValueNode.h" 10*fce4895dSRene Gollent 11*fce4895dSRene Gollent 12*fce4895dSRene Gollent class EnumerationType; 13*fce4895dSRene Gollent 14*fce4895dSRene Gollent 15*fce4895dSRene Gollent class EnumerationValueNode : public ChildlessValueNode { 16*fce4895dSRene Gollent public: 17*fce4895dSRene Gollent EnumerationValueNode(ValueNodeChild* nodeChild, 18*fce4895dSRene Gollent EnumerationType* type); 19*fce4895dSRene Gollent virtual ~EnumerationValueNode(); 20*fce4895dSRene Gollent 21*fce4895dSRene Gollent virtual Type* GetType() const; 22*fce4895dSRene Gollent 23*fce4895dSRene Gollent virtual status_t ResolvedLocationAndValue( 24*fce4895dSRene Gollent ValueLoader* valueLoader, 25*fce4895dSRene Gollent ValueLocation*& _location, 26*fce4895dSRene Gollent Value*& _value); 27*fce4895dSRene Gollent 28*fce4895dSRene Gollent private: 29*fce4895dSRene Gollent EnumerationType* fType; 30*fce4895dSRene Gollent }; 31*fce4895dSRene Gollent 32*fce4895dSRene Gollent 33*fce4895dSRene Gollent #endif // ENUMERATION_VALUE_NODE_H 34