xref: /haiku/headers/private/debugger/value/value_nodes/CStringValueNode.h (revision a3e794ae459fec76826407f8ba8c94cd3535f128)
1 /*
2  * Copyright 2010, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef CSTRING_VALUE_NODE_H
6 #define CSTRING_VALUE_NODE_H
7 
8 
9 #include "ValueNode.h"
10 
11 
12 class AddressType;
13 
14 
15 class CStringValueNode : public ChildlessValueNode {
16 public:
17 								CStringValueNode(ValueNodeChild* nodeChild,
18 									Type* type);
19 	virtual						~CStringValueNode();
20 
21 	virtual	Type*				GetType() const;
22 
23 	virtual	status_t			ResolvedLocationAndValue(
24 									ValueLoader* valueLoader,
25 									ValueLocation*& _location,
26 									Value*& _value);
27 
28 private:
29 			Type*				fType;
30 };
31 
32 #endif	// CSTRING_VALUE_NODE_H
33