|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include "Utilities/Util.h"#include "OPALrevision.h"#include "Utilities/OpalException.h"#include <boost/regex.hpp>#include <cctype>#include <fstream>#include <filesystem>#include <iostream>#include <iterator>#include <queue>
Go to the source code of this file.
Namespaces | |
| namespace | Util |
Macros | |
| #define | erfinv_a3 -0.140543331 |
| #define | erfinv_a2 0.914624893 |
| #define | erfinv_a1 -1.645349621 |
| #define | erfinv_a0 0.886226899 |
| #define | erfinv_b4 0.012229801 |
| #define | erfinv_b3 -0.329097515 |
| #define | erfinv_b2 1.442710462 |
| #define | erfinv_b1 -2.118377725 |
| #define | erfinv_b0 1 |
| #define | erfinv_c3 1.641345311 |
| #define | erfinv_c2 3.429567803 |
| #define | erfinv_c1 -1.62490649 |
| #define | erfinv_c0 -1.970840454 |
| #define | erfinv_d2 1.637067800 |
| #define | erfinv_d1 3.543889200 |
| #define | erfinv_d0 1 |
Functions | |
| std::string | Util::getGitRevision () |
| double | Util::erfinv (double x) |
| Vector_t | Util::getTaitBryantAngles (Quaternion rotation, const std::string &) |
| std::string | Util::toUpper (const std::string &str) |
| std::string | Util::boolToUpperString (const bool &b) |
| std::string | Util::boolVectorToUpperString (const std::vector< bool > &b) |
| std::string | Util::doubleVectorToString (const std::vector< double > &v) |
| std::string | Util::combineFilePath (std::initializer_list< std::string > ilist) |
| void | Util::checkInt (double real, std::string name, double tolerance) |
| bool | Util::isAllDigits (const std::string &str) |
| Check if there are only digits in a string from https://stackoverflow.com/questions/19678572/how-to-validate-that-there-are-only-digits-in-a-string. More... | |
| unsigned int | Util::rewindLinesSDDS (const std::string &fileName, double maxSPos, bool checkForTime) |
| rewind the SDDS file such that the spos of the last step is less or equal to maxSPos More... | |
| static bool | Util::is_base64 (unsigned char c) |
| std::string | Util::base64_encode (const std::string &string_to_encode) |
| std::string | Util::base64_decode (std::string const &encoded_string) |
Variables | |
| static const std::string | Util::base64_chars |