Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
JSONIOUtils.h
Go to the documentation of this file.
1#ifndef JSONIOUtils_h
2#define JSONIOUtils_h
3
4#include <string_view>
6
7class RooAbsBinning;
8
9bool startsWith(std::string_view str, std::string_view prefix);
10bool endsWith(std::string_view str, std::string_view suffix);
11std::string removeSuffix(std::string_view str, std::string_view suffix);
12std::unique_ptr<RooFit::Detail::JSONTree> varJSONString(const RooFit::Detail::JSONNode &treeRoot);
14
15#endif
bool startsWith(std::string_view str, std::string_view prefix)
bool endsWith(std::string_view str, std::string_view suffix)
std::string removeSuffix(std::string_view str, std::string_view suffix)
std::unique_ptr< RooFit::Detail::JSONTree > varJSONString(const RooFit::Detail::JSONNode &treeRoot)
void writeAxisBinning(RooFit::Detail::JSONNode &node, const RooAbsBinning &binning)
Abstract base class for RooRealVar binning definitions.