vsdk 12.0.0
 
Loading...
Searching...
No Matches
Vsdk::Utils Namespace Reference

Namespaces

namespace  Filesystem
 

Classes

class  Iterator
 
class  Singleton
 Generic CRTP singleton abstraction. More...
 
class  ThreadPool
 
class  VersionNumber
 

Functions

template<typename... Str>
bool extract (std::istream &is, char sep, Str &... str)
 
auto formatTimeMarker (std::chrono::milliseconds duration) -> std::string
 Formats a duration in milliseconds into a fixed-size string.
 
void toLower (std::string &str)
 
auto toLower (std::string_view str) -> std::string
 
auto typeName (std::type_info const &type) -> std::string
 
auto fullTypeName (std::type_info const &type) -> std::string
 

Function Documentation

◆ extract()

template<typename... Str>
bool Vsdk::Utils::extract ( std::istream &  is,
char  sep,
Str &...  str 
)

◆ formatTimeMarker()

auto Vsdk::Utils::formatTimeMarker ( std::chrono::milliseconds  duration) -> std::string

Formats a duration in milliseconds into a fixed-size string.

Returns
A std::string formatted into "HH:MM:SS.zzz"

◆ toLower() [1/2]

void Vsdk::Utils::toLower ( std::string &  str)

◆ toLower() [2/2]

auto Vsdk::Utils::toLower ( std::string_view  str) -> std::string

◆ typeName()

auto Vsdk::Utils::typeName ( std::type_info const &  type) -> std::string

◆ fullTypeName()

auto Vsdk::Utils::fullTypeName ( std::type_info const &  type) -> std::string