1#ifndef FILENAMESETTING_HH
2#define FILENAMESETTING_HH
13 std::string_view initialValue);
15 [[nodiscard]] std::string_view
getTypeString()
const override;
16 void tabCompletion(std::vector<std::string>& tokens)
const override;
void setString(std::string_view str)
void tabCompletion(std::vector< std::string > &tokens) const override
Complete a partly typed value.
zstring_view getString() const noexcept
std::string_view getTypeString() const override
Returns a string describing the setting type (integer, string, ..) Could be used in a GUI to pick an ...
const TclObject & getValue() const final
Gets the current value of this setting as a TclObject.
void setValue(const TclObject &newValue) final
Change the value of this setting to the given value.
zstring_view getString() const
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions: