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