◆ diagnostic_color_dict()
diagnostic_color_dict::diagnostic_color_dict |
( |
const color_default * | default_values, |
|
|
size_t | num_default_values ) |
diagnostic_color_dict's ctor. Initialize it from the given array
of color_default values.
References m_entries.
◆ get_entry_by_name() [1/2]
Non-const version of the above.
References m_entries.
◆ get_entry_by_name() [2/2]
◆ get_start_by_name() [1/2]
const char * diagnostic_color_dict::get_start_by_name |
( |
const char * | name | ) |
const |
|
inline |
◆ get_start_by_name() [2/2]
const char * diagnostic_color_dict::get_start_by_name |
( |
const char * | name, |
|
|
size_t | name_len ) const |
Return the SGR codes to start a color entry named NAME of length
NAME_LEN within this diagnostic_color_dict, or the empty string if
there isn't one.
References get_entry_by_name().
Referenced by get_start_by_name().
◆ parse_envvar_value()
bool diagnostic_color_dict::parse_envvar_value |
( |
const char *const | envvar_value | ) |
|
◆ m_entries
std::vector<entry> diagnostic_color_dict::m_entries |
|
private |
The documentation for this class was generated from the following file: