|
C++ Utilities 5.31.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
#include "./commandlineutils.h"#include <iostream>#include <string>#include <fcntl.h>#include <sys/ioctl.h>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| namespace | CppUtilities |
| Contains all utilities provided by the c++utilities library. | |
Functions | |
| CPP_UTILITIES_EXPORT bool | CppUtilities::confirmPrompt (const char *message, Response defaultResponse) |
| Prompts for confirmation displaying the specified message. | |
| CPP_UTILITIES_EXPORT std::optional< bool > | CppUtilities::isEnvVariableSet (const char *variableName) |
| Returns whether the specified env variable is set to a non-zero and non-white-space-only value. | |
| CPP_UTILITIES_EXPORT TerminalSize | CppUtilities::determineTerminalSize () |
| Returns the current size of the terminal. | |