#include <cpp-terminal/options.hpp>
Definition at line 34 of file options.hpp.
◆ Options() [1/3]
Term::Options::Options |
( |
| ) |
|
|
default |
◆ Options() [2/3]
Term::Options::Options |
( |
const std::initializer_list< Term::Option > & | option | ) |
|
Definition at line 14 of file options.cpp.
std::vector< Term::Option > m_Options
◆ Options() [3/3]
template<typename... Args>
Term::Options::Options |
( |
const Args &&... | args | ) |
|
|
inlineexplicit |
◆ clean()
void Term::Options::clean |
( |
| ) |
|
|
private |
Definition at line 19 of file options.cpp.
20{
21 std::vector<Term::Option> cleaned;
24 {
27 if(count > anti_count) { cleaned.emplace_back(
m_Options[0]); }
28 else if(count < anti_count) { cleaned.emplace_back(
static_cast<Term::Option>(-1 *
static_cast<std::int16_t
>(
m_Options[0]))); }
31 }
33}
Option
Option to set-up the terminal.
◆ has()
bool Term::Options::has |
( |
const Option & | option | ) |
const |
|
noexcept |
◆ operator!=()
bool Term::Options::operator!= |
( |
const Options & | options | ) |
|
◆ operator==()
bool Term::Options::operator== |
( |
const Options & | options | ) |
|
◆ m_Options
The documentation for this class was generated from the following files: