Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
JSONIOUtils.cxx File Reference
#include "JSONIOUtils.h"
#include <RooAbsBinning.h>
#include <string>
Include dependency graph for JSONIOUtils.cxx:

Functions

bool endsWith (std::string_view str, std::string_view suffix)
 
std::string removeSuffix (std::string_view str, std::string_view suffix)
 
bool startsWith (std::string_view str, std::string_view prefix)
 
std::unique_ptr< RooFit::Detail::JSONTreevarJSONString (const JSONNode &treeRoot)
 
void writeAxisBinning (JSONNode &node, const RooAbsBinning &binning)
 

Function Documentation

◆ endsWith()

bool endsWith ( std::string_view str,
std::string_view suffix )

Definition at line 15 of file JSONIOUtils.cxx.

◆ removeSuffix()

std::string removeSuffix ( std::string_view str,
std::string_view suffix )

Definition at line 20 of file JSONIOUtils.cxx.

◆ startsWith()

bool startsWith ( std::string_view str,
std::string_view prefix )

Definition at line 10 of file JSONIOUtils.cxx.

◆ varJSONString()

std::unique_ptr< RooFit::Detail::JSONTree > varJSONString ( const JSONNode & treeRoot)

Definition at line 28 of file JSONIOUtils.cxx.

◆ writeAxisBinning()

void writeAxisBinning ( JSONNode & node,
const RooAbsBinning & binning )

Definition at line 88 of file JSONIOUtils.cxx.