|
|
@@ -218,6 +218,14 @@ set_word(size_t n, const Filename &value) {
|
|
|
set_string_word(n, value);
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * Returns true if the variable is not empty.
|
|
|
+ */
|
|
|
+INLINE bool ConfigVariableFilename::
|
|
|
+__bool__() const {
|
|
|
+ return !get_value().empty();
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* Returns the variable's value, as a reference into the config variable
|
|
|
* itself. This is the internal method that implements get_value(), which
|