Volume Cartographer 2.27.0
Namespaces | Enumerations | Functions
MemorySizeStringParser.hpp File Reference
#include <cstddef>
#include <string>
Include dependency graph for MemorySizeStringParser.hpp:

Go to the source code of this file.

Namespaces

namespace  volcart
 Volume Cartographer library
 

Enumerations

enum class  MemoryStringFormat { Int , Float }
 

Functions

std::size_t volcart::MemorySizeStringParser (const std::string &s)
 Converts strings describing memory sizes to byte values. More...
 
std::string volcart::BytesToMemorySizeString (std::size_t bytes, const std::string &suffix="GB", MemoryStringFormat fmt=MemoryStringFormat::Int)
 

Detailed Description

Author
Seth Parker
Date
2/15/18

Definition in file MemorySizeStringParser.hpp.