Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
JSONIOUtils.h File Reference
#include <string_view>
#include <RooFit/Detail/JSONInterface.h>
Include dependency graph for JSONIOUtils.h:
This graph shows which files directly or indirectly include this file:

Functions

bool endsWith (std::string_view str, std::string_view suffix)
 
std::string removePrefix (std::string_view str, std::string_view prefix)
 
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 RooFit::Detail::JSONNode &treeRoot)
 

Function Documentation

◆ endsWith()

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

Definition at line 13 of file JSONIOUtils.cxx.

◆ removePrefix()

std::string removePrefix ( std::string_view  str,
std::string_view  prefix 
)

Definition at line 18 of file JSONIOUtils.cxx.

◆ removeSuffix()

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

Definition at line 25 of file JSONIOUtils.cxx.

◆ startsWith()

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

Definition at line 8 of file JSONIOUtils.cxx.

◆ varJSONString()

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

Definition at line 33 of file JSONIOUtils.cxx.