18#include "cling/Interpreter/Value.h"
19#include "llvm/Support/raw_ostream.h"
26 &&
"sizeof(fValue) too small!");
33 &&
"sizeof(fValue) too small!");
42 using namespace cling;
51 for (
size_t pos = 0; pos <
output.size(); ++pos) {
54 else if (
output[pos] ==
')') {
57 return std::make_pair(
output.substr(0, pos + 1),
output.substr(pos + 2));
61 return std::make_pair(
"",
output);
65 return ToCV().isValid();
69 return ToCV().getDouble();
73 return ToCV().getLL();
77 return ToCV().getULL();
81 return ToCV().getPtr();
86 llvm::raw_string_ostream ost(retVal);
Bridge between cling::Value and ROOT.
void * GetAsPointer() const
std::pair< std::string, std::string > ToTypeAndValueString() const
ULong_t GetAsUnsignedLong() const
TClingValue & operator=(TClingValue &Other)
struct TClingValue::HasTheSameSizeAsClingValue fValue
Double_t GetAsDouble() const
std::string ToString() const
static void output(int code)