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

Go to the source code of this file.

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 

Enumerations

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

Functions

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 readeable' format. More...
 
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...