Logo ROOT   6.16/01
Reference Guide
Namespaces | Enumerations | Functions
StringConv.hxx File Reference
#include "ROOT/RStringView.hxx"
#include "Rtypes.h"
#include "RConfigure.h"
#include <cmath>
Include dependency graph for StringConv.hxx:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  ROOT
 Namespace for new ROOT classes and functions.
 

Enumerations

enum class  ROOT::EFromHumanReadableSize { ROOT::kSuccess , ROOT::kParseFail , ROOT::kOverflow }
 

Functions

template<typename T >
EFromHumanReadableSize ROOT::FromHumanReadableSize (ROOT::Internal::TStringView str, T &value)
 
template<typename T >
EFromHumanReadableSize ROOT::FromHumanReadableSize (std::string_view str, T &value)
 Convert strings like the following into byte counts 5MB, 5 MB, 5M, 3.7GB, 123b, 456kB, 3.7GiB, 5MiB with some amount of forgiveness baked into the parsing. More...
 
template<typename value_type >
void ROOT::ToHumanReadableSize (value_type bytes, Bool_t si, Double_t *coeff, const char **units)
 Return the size expressed in 'human readable' format. More...