btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / debugger / value / Value.h
blob31b191305b3687d95590cabb0effe54543ce851c
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef VALUE_H
6 #define VALUE_H
9 #include <String.h>
11 #include <Variant.h>
14 class Value : public BReferenceable {
15 public:
16 virtual ~Value();
18 virtual bool ToString(BString& _string) const = 0;
19 virtual bool ToVariant(BVariant& _value) const = 0;
21 virtual bool operator==(const Value& other) const = 0;
22 inline bool operator!=(const Value& other) const
23 { return !(*this == other); }
27 #endif // VALUE_H