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
7bool startsWith(std::string_view str, std::string_view prefix);
8bool endsWith(std::string_view str, std::string_view suffix);
9std::string removePrefix(std::string_view str, std::string_view prefix);
10std::string removeSuffix(std::string_view str, std::string_view suffix);
11std::unique_ptr<RooFit::Detail::JSONTree> varJSONString(const RooFit::Detail::JSONNode &treeRoot);
12
13#endif
std::string removePrefix(std::string_view str, std::string_view prefix)
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)