1*fce4895dSRene Gollent /* 2*fce4895dSRene Gollent * Copyright 2010, Rene Gollent, rene@gollent.com. 3*fce4895dSRene Gollent * Distributed under the terms of the MIT License. 4*fce4895dSRene Gollent */ 5*fce4895dSRene Gollent #ifndef CSTRING_VALUE_NODE_H 6*fce4895dSRene Gollent #define CSTRING_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 AddressType; 13*fce4895dSRene Gollent 14*fce4895dSRene Gollent 15*fce4895dSRene Gollent class CStringValueNode : public ChildlessValueNode { 16*fce4895dSRene Gollent public: 17*fce4895dSRene Gollent CStringValueNode(ValueNodeChild* nodeChild, 18*fce4895dSRene Gollent Type* type); 19*fce4895dSRene Gollent virtual ~CStringValueNode(); 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 Type* fType; 30*fce4895dSRene Gollent }; 31*fce4895dSRene Gollent 32*fce4895dSRene Gollent #endif // CSTRING_VALUE_NODE_H 33