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

Functions

bool endsWith (std::string_view str, std::string_view suffix)
 
bool isHS3VersionBefore (std::string const &version, int major, int minor)
 
bool parseHS3Version (std::string const &version, int &major, int &minor)
 
std::string removeSuffix (std::string_view str, std::string_view suffix)
 
bool startsWith (std::string_view str, std::string_view prefix)
 
void writeAxisBinning (JSONNode &node, const RooAbsBinning &binning)
 

Function Documentation

◆ endsWith()

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

Definition at line 16 of file JSONIOUtils.cxx.

◆ isHS3VersionBefore()

bool isHS3VersionBefore ( std::string const & version,
int major,
int minor )

Definition at line 70 of file JSONIOUtils.cxx.

◆ parseHS3Version()

bool parseHS3Version ( std::string const & version,
int & major,
int & minor )

Definition at line 46 of file JSONIOUtils.cxx.

◆ removeSuffix()

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

Definition at line 21 of file JSONIOUtils.cxx.

◆ startsWith()

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

Definition at line 11 of file JSONIOUtils.cxx.

◆ writeAxisBinning()

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

Definition at line 29 of file JSONIOUtils.cxx.