![]() |
User Guide
|
Common utility functions for file/dir manipulation. More...
Common utility functions for file/dir manipulation.
Definition in file common_utils.hpp.
#include <map>
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | nmodl::utils::SingletonRandomString< SIZE > |
Singleton class for random strings. More... | |
Namespaces | |
nmodl | |
encapsulates code generation backend implementations | |
nmodl::utils | |
file/string manipulation functions | |
Enumerations | |
enum | nmodl::utils::UseNumbersInString : bool { nmodl::utils::WithNumbers = true, nmodl::utils::WithoutNumbers = false } |
Enum to wrap bool variable to select if random string should have numbers or not. More... | |
Functions | |
template<typename Iter , typename Cont > | |
bool | nmodl::utils::is_last (Iter iter, const Cont &cont) |
Check if the iterator is pointing to last element in the container. More... | |
std::string | nmodl::utils::generate_random_string (int len, UseNumbersInString use_numbers) |
Generate random std::string of length len based on a uniform distribution. More... | |
Variables | |
static constexpr char | nmodl::utils::envpathsep {':'} |
The character conventionally used by the operating system to separate search path components. More... | |