8#ifndef ROOFIT_ROOFITCORE_INC_VALUECHECKING_H_
9#define ROOFIT_ROOFITCORE_INC_VALUECHECKING_H_
34 const char*
what() const noexcept
override {
35 std::stringstream out;
36 out <<
"**Computation/caching error** in\n";
40 std::string message = *it;
41 auto pos = message.find(
'\n', 0);
42 while (pos != std::string::npos) {
43 message.insert(pos+1,
indent);
44 pos = (message.find(
'\n', pos+1));
47 out <<
indent << message <<
"\n";
53 std::string* ret =
new std::string(out.str());
67 typename std::enable_if<std::is_base_of<RooAbsArg, T>::value>
::type* =
nullptr >
69 _stream << arg.ClassName() <<
"::" << arg.GetName() <<
" " << &arg <<
" ";
75 typename std::enable_if< ! std::is_base_of<RooAbsArg, T>::value>
::type* =
nullptr >
81 operator std::string()
const {
static void indent(ostringstream &buf, int indent_level)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
const char * what() const noexcept override
CachingError(CachingError &&previous, const std::string &newMessage)
CachingError(const std::string &newMessage)
std::vector< std::string > _messages