Project
Loading...
Searching...
No Matches
StringUtils.h File Reference
#include <string>
#include <vector>
#include <list>
#include <memory>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::dcs
 

Functions

std::string o2::dcs::random_string (const size_t length) noexcept
 
std::string o2::dcs::random_string2 (const size_t length) noexcept
 
uint64_t o2::dcs::hash_code (const std::string &input) noexcept
 
std::unique_ptr< std::vector< std::string > > o2::dcs::convert_strings (const int argc, char **argv) noexcept
 
void o2::dcs::to_upper_case (std::string &str) noexcept
 
void o2::dcs::to_lower_case (std::string &str) noexcept
 
std::unique_ptr< std::vector< std::string > > o2::dcs::split (const std::string &source, const char separator) noexcept
 
std::unique_ptr< std::vector< std::string > > o2::dcs::split_by_whitespace (const std::string &source) noexcept
 
std::string o2::dcs::to_hex_big_endian (const char *const start, size_t length) noexcept
 
std::string o2::dcs::to_hex_little_endian (const char *const start, size_t length) noexcept
 
void o2::dcs::print_k_v_list (const std::string &list_name, const std::list< std::pair< std::string, std::string > > &parameters) noexcept