24 #ifndef ROOT_TInterpreterValue
25 #define ROOT_TInterpreterValue
31 class TInterpreterValue {
33 TInterpreterValue(
const TInterpreterValue &);
34 TInterpreterValue& operator=(TInterpreterValue &);
36 TInterpreterValue() { }
37 virtual ~TInterpreterValue() { }
39 virtual const void* GetValAddr()
const = 0;
40 virtual void* GetValAddr() = 0;
41 virtual std::pair<std::string, std::string> ToTypeAndValueString()
const = 0;
43 virtual Bool_t IsValid()
const = 0;
44 virtual Double_t GetAsDouble()
const = 0;
45 virtual Long_t GetAsLong()
const = 0;
46 virtual ULong_t GetAsUnsignedLong()
const = 0;
47 virtual void* GetAsPointer()
const = 0;
48 virtual std::string ToString()
const = 0;
51 #endif // ROOT_TInterpreterValue