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
7
8
9#include <String.h>
10
11#include <Variant.h>
12
13
14class Value : public BReferenceable {
15public:
16	virtual						~Value();
17
18	virtual	bool				ToString(BString& _string) const = 0;
19	virtual	bool				ToVariant(BVariant& _value) const = 0;
20
21	virtual	bool				operator==(const Value& other) const = 0;
22	inline	bool				operator!=(const Value& other) const
23									{ return !(*this == other); }
24};
25
26
27#endif	// VALUE_H
28