Various tools.
More...
#include <limits.h>
#include <stdarg.h>
#include <string>
#include <map>
#include <list>
#include <fstream>
#include <variant>
#include "rad/logger.hpp"
#include "rad/exceptions.hpp"
Go to the source code of this file.
|
std::string | ifw::Write (const char *format,...) |
| Create formatted string, return formatted string (C formatting convention). More...
|
|
std::string | ctd::defines::GenUniqueId (const std::string &prefix="") |
| Generate a unique UUID based ID. A prefix may be prepended, if requested. More...
|
|
template<class TYPE > |
void | ctd::defines::CleanVector (const std::vector< TYPE > &vect, const TYPE &pattern, std::vector< TYPE > &clean_vect) |
| @ brief STL like list that can be indexed with []'s. More...
|
|
template<class TYPE > |
void | ctd::defines::CheckRange (const std::string &par, TYPE value, TYPE lower_limit, TYPE upper_limit) |
| Check if a value is within a given range. More...
|
|
template<class TYPE > |
void | ctd::defines::CheckRange (const std::string &par, const TYPE &value, std::vector< TYPE > &valid_values) |
| Check if a value is defined in a set. More...
|
|
template<class TYPE > |
std::string | ctd::defines::DumpVector (const std::vector< TYPE > &vector, const std::string &separator="\n") |
| Dump contents of a list into a string buffer. More...
|
|
template<class MAP_TYPE > |
bool | ctd::defines::ElInMap (const std::string &key, const MAP_TYPE &map) |
| Check if a given key is contained in an STL map. More...
|
|
void | IFW_DEBUG (const char *format,...) |
| Print out a temporary debug log. These kind of logs should be removed from the code. More...
|
|
Various tools.
- Copyright
- ESO - European Southern Observatory
Value:{\
std::string(__FILE__), \
std::string(__FUNCTION__), \
std::to_string(__LINE__)}
void IFW_DEBUG |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
Print out a temporary debug log. These kind of logs should be removed from the code.