Utility functions. More...
Classes | |
struct | App |
Utilities for accessing application information. More... | |
struct | Containers |
Utilities for containers. More... | |
struct | DateTime |
Date and time utilities simplified. More... | |
struct | Enums |
Utilities for enums. More... | |
struct | Files |
File utilities. More... | |
struct | GZip |
GZip compression utilities. More... | |
struct | Hashing |
Hashing utilities. More... | |
struct | Memory |
Utilities for memory. More... | |
struct | PrettyPrint |
Utilities for printing numeric values in different formats. More... | |
class | RandomNumberGenerator |
The random number generator implementation class. More... | |
class | Streams |
Utilities for streams. More... | |
struct | Strings |
Utilities for strings. More... | |
class | Unzipper |
Random access to the entries in a zip archive. More... | |
struct | User |
Utilities for accessing user information. More... | |
struct | Vectors |
Utilities for vectors. More... | |
struct | ZipEntryInfo |
Information about a zip archive entry (file or directory). More... | |
class | Zipper |
Transactional modification of entries in a new or existing zip archive. More... | |
Typedefs | |
template<typename T > | |
using | Binomial = RandomNumberGenerator< T, std::binomial_distribution< T > > |
A discrete binomial distribution random number generator. More... | |
template<typename T > | |
using | Cauchy = RandomNumberGenerator< T, std::cauchy_distribution< T > > |
A Cauchy distribution random number generator. More... | |
template<typename T > | |
using | ChiSquared = RandomNumberGenerator< T, std::chi_squared_distribution< T > > |
A chi squared distribution random number generator. More... | |
template<typename T > | |
using | Discrete = RandomNumberGenerator< T, std::discrete_distribution< T > > |
A discrete distribution random number generator. More... | |
template<typename T > | |
using | Exponential = RandomNumberGenerator< T, std::exponential_distribution< T > > |
An exponential distribution random number generator. More... | |
template<typename T > | |
using | ExtremeValue = RandomNumberGenerator< T, std::extreme_value_distribution< T > > |
An extreme value distribution random number generator. More... | |
template<typename T > | |
using | FisherF = RandomNumberGenerator< T, std::fisher_f_distribution< T > > |
A Fisher F distribution random number generator. More... | |
template<typename T > | |
using | Gamma = RandomNumberGenerator< T, std::gamma_distribution< T > > |
A gamma distribution random number generator. More... | |
template<typename T > | |
using | Geometric = RandomNumberGenerator< T, std::geometric_distribution< T > > |
A geometric distribution random number generator. More... | |
template<typename T > | |
using | LogNormal = RandomNumberGenerator< T, std::lognormal_distribution< T > > |
A log normal distribution random number generator. More... | |
template<typename T > | |
using | NegativeBinomial = RandomNumberGenerator< T, std::negative_binomial_distribution< T > > |
A negative binomial distribution random number generator. More... | |
template<typename T > | |
using | Normal = RandomNumberGenerator< T, std::normal_distribution< T > > |
A normal distribution random number generator. More... | |
using | NormalDouble = RandomNumberGenerator< double, std::normal_distribution< double > > |
A normal distribution, double precision floating point random number generator. More... | |
using | NormalFloat = RandomNumberGenerator< float, std::normal_distribution< float > > |
A normal distribution, single precision floating point random number generator. More... | |
template<typename T > | |
using | PiecewiseConstant = RandomNumberGenerator< T, std::piecewise_constant_distribution< T > > |
A piecewise constant distribution random number generator. More... | |
template<typename T > | |
using | PiecewiseLinear = RandomNumberGenerator< T, std::piecewise_linear_distribution< T > > |
A piecewise linear distribution random number generator. More... | |
template<typename T > | |
using | Poisson = RandomNumberGenerator< T, std::poisson_distribution< T > > |
A Poisson distribution random number generator. More... | |
template<typename T > | |
using | StudentT = RandomNumberGenerator< T, std::student_t_distribution< T > > |
A Student T distribution random number generator. More... | |
using | UniformDouble = RandomNumberGenerator< double, std::uniform_real_distribution< double > > |
A uniform distribution, double precision floating point random number generator. More... | |
using | UniformFloat = RandomNumberGenerator< float, std::uniform_real_distribution< float > > |
A uniform distribution, single precision floating point random number generator. More... | |
template<typename T > | |
using | UniformInt = RandomNumberGenerator< T, std::uniform_int_distribution< T > > |
A uniform distribution, integer random number generator. More... | |
using | UniformInt32 = RandomNumberGenerator< int, std::uniform_int_distribution< int > > |
A uniform distribution, 32 bit signed integer floating point random number generator. More... | |
using | UniformInt64 = RandomNumberGenerator< long, std::uniform_int_distribution< long > > |
A uniform distribution, 64 bit signed integer floating point random number generator. More... | |
template<typename T > | |
using | UniformReal = RandomNumberGenerator< T, std::uniform_real_distribution< T > > |
A uniform distribution, floating point random number generator. More... | |
using | UniformUInt32 = RandomNumberGenerator< unsigned int, std::uniform_int_distribution< unsigned int > > |
A uniform distribution, 32 bit signed integer floating point random number generator. More... | |
using | UniformUInt64 = RandomNumberGenerator< unsigned long long, std::uniform_int_distribution< unsigned long long > > |
A uniform distribution, 64 bit signed integer floating point random number generator. More... | |
template<typename T > | |
using | Weibull = RandomNumberGenerator< T, std::weibull_distribution< T > > |
A Weibull distribution random number generator. More... | |
Functions | |
template<typename AllocatorT > | |
U8String< AllocatorT > | toString (const ZipEntryInfo &info) |
Print the zip entry info as a UTF-8 string. More... | |
Utility functions.
struct Balau::Util::ZipEntryInfo |
Information about a zip archive entry (file or directory).
This structure is equivalent to LibZip's zip_stat structure.
using Binomial = RandomNumberGenerator<T, std::binomial_distribution<T> > |
A discrete binomial distribution random number generator.
T | the integer type |
using Cauchy = RandomNumberGenerator<T, std::cauchy_distribution<T> > |
A Cauchy distribution random number generator.
T | the floating point type |
using ChiSquared = RandomNumberGenerator<T, std::chi_squared_distribution<T> > |
A chi squared distribution random number generator.
T | the floating point type |
using Discrete = RandomNumberGenerator<T, std::discrete_distribution<T> > |
A discrete distribution random number generator.
T | the integer type |
using Exponential = RandomNumberGenerator<T, std::exponential_distribution<T> > |
An exponential distribution random number generator.
T | the floating point type |
using ExtremeValue = RandomNumberGenerator<T, std::extreme_value_distribution<T> > |
An extreme value distribution random number generator.
T | the floating point type |
using FisherF = RandomNumberGenerator<T, std::fisher_f_distribution<T> > |
A Fisher F distribution random number generator.
T | the floating point type |
using Gamma = RandomNumberGenerator<T, std::gamma_distribution<T> > |
A gamma distribution random number generator.
T | the floating point type |
using Geometric = RandomNumberGenerator<T, std::geometric_distribution<T> > |
A geometric distribution random number generator.
T | the integer type |
using LogNormal = RandomNumberGenerator<T, std::lognormal_distribution<T> > |
A log normal distribution random number generator.
T | the floating point type |
using NegativeBinomial = RandomNumberGenerator<T, std::negative_binomial_distribution<T> > |
A negative binomial distribution random number generator.
T | the integer type |
using Normal = RandomNumberGenerator<T, std::normal_distribution<T> > |
A normal distribution random number generator.
T | the floating point type |
using NormalDouble = RandomNumberGenerator<double, std::normal_distribution<double> > |
A normal distribution, double precision floating point random number generator.
using NormalFloat = RandomNumberGenerator<float, std::normal_distribution<float> > |
A normal distribution, single precision floating point random number generator.
using PiecewiseConstant = RandomNumberGenerator<T, std::piecewise_constant_distribution<T> > |
A piecewise constant distribution random number generator.
T | the floating point type |
using PiecewiseLinear = RandomNumberGenerator<T, std::piecewise_linear_distribution<T> > |
A piecewise linear distribution random number generator.
T | the floating point type |
using Poisson = RandomNumberGenerator<T, std::poisson_distribution<T> > |
A Poisson distribution random number generator.
T | the integer type |
using StudentT = RandomNumberGenerator<T, std::student_t_distribution<T> > |
A Student T distribution random number generator.
T | the floating point type |
using UniformDouble = RandomNumberGenerator<double, std::uniform_real_distribution<double> > |
A uniform distribution, double precision floating point random number generator.
using UniformFloat = RandomNumberGenerator<float, std::uniform_real_distribution<float> > |
A uniform distribution, single precision floating point random number generator.
using UniformInt = RandomNumberGenerator<T, std::uniform_int_distribution<T> > |
A uniform distribution, integer random number generator.
T | the integer type |
using UniformInt32 = RandomNumberGenerator<int, std::uniform_int_distribution<int> > |
A uniform distribution, 32 bit signed integer floating point random number generator.
using UniformInt64 = RandomNumberGenerator<long, std::uniform_int_distribution<long> > |
A uniform distribution, 64 bit signed integer floating point random number generator.
using UniformReal = RandomNumberGenerator<T, std::uniform_real_distribution<T> > |
A uniform distribution, floating point random number generator.
T | the floating point type |
using UniformUInt32 = RandomNumberGenerator<unsigned int, std::uniform_int_distribution<unsigned int> > |
A uniform distribution, 32 bit signed integer floating point random number generator.
using UniformUInt64 = RandomNumberGenerator<unsigned long long, std::uniform_int_distribution<unsigned long long> > |
A uniform distribution, 64 bit signed integer floating point random number generator.
using Weibull = RandomNumberGenerator<T, std::weibull_distribution<T> > |
A Weibull distribution random number generator.
T | the floating point type |
|
inline |
Print the zip entry info as a UTF-8 string.