btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / debugger / value / value_nodes / VariableValueNodeChild.h
blob372057ecb693659200a7cf15bc68c2f28a9d8ec5
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef VARIABLE_VALUE_NODE_CHILD_H
6 #define VARIABLE_VALUE_NODE_CHILD_H
9 #include "ValueNode.h"
12 class Variable;
15 class VariableValueNodeChild : public ValueNodeChild {
16 public:
17 VariableValueNodeChild(Variable* variable);
18 virtual ~VariableValueNodeChild();
20 virtual const BString& Name() const;
21 virtual Type* GetType() const;
22 virtual ValueNode* Parent() const;
24 Variable* GetVariable() const { return fVariable; };
26 virtual status_t ResolveLocation(ValueLoader* valueLoader,
27 ValueLocation*& _location);
29 private:
30 Variable* fVariable;
34 #endif // VARIABLE_VALUE_NODE_CHILD_H