btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / debugger / value / value_nodes / PointerToMemberValueNode.h
blob7c58b0cfabc556fbe8ef3c042ad52711f4606730
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef POINTER_TO_MEMBER_VALUE_NODE_H
6 #define POINTER_TO_MEMBER_VALUE_NODE_H
9 #include "ValueNode.h"
12 class PointerToMemberType;
15 class PointerToMemberValueNode : public ChildlessValueNode {
16 public:
17 PointerToMemberValueNode(
18 ValueNodeChild* nodeChild,
19 PointerToMemberType* type);
20 virtual ~PointerToMemberValueNode();
22 virtual Type* GetType() const;
24 virtual status_t ResolvedLocationAndValue(
25 ValueLoader* valueLoader,
26 ValueLocation*& _location,
27 Value*& _value);
29 private:
30 PointerToMemberType* fType;
34 #endif // POINTER_TO_MEMBER_VALUE_NODE_H