LogCabin
Namespaces | Functions
include/LogCabin/Util.h File Reference

This file declares helper functions that are useful in LogCabin clients. More...

#include <cstddef>
#include <memory>
#include <map>
#include <mutex>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  LogCabin
namespace  LogCabin::Client
namespace  LogCabin::Client::Util

Functions

int64_t LogCabin::Client::Util::parseSignedDuration (const std::string &description)
 Convert a human-readable description of a time duration into a number of nanoseconds.
uint64_t LogCabin::Client::Util::parseNonNegativeDuration (const std::string &description)
 Convert a human-readable description of a time duration into a number of nanoseconds.

Detailed Description

This file declares helper functions that are useful in LogCabin clients.

Definition in file Util.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines