calamares/src/libcalamares/utils
Adriaan de Groot b5c0158ec2 [libcalamares] Some if-method-exists trickery
This builds some machinery so that we can create
a detector for member-functions (methods) named <whatever>.
Use the macro to build the machinery:

DECLARE_HAS_METHOD(myFunction)

then after that,

has_myFunction<T>

is either std::true_type or std::false_type
depending on whether T has a method myFunction.
2020-08-03 21:52:47 +02:00
..
BoostPython.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
CalamaresUtilsSystem.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
CalamaresUtilsSystem.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
CommandList.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
CommandList.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Dirs.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Dirs.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Entropy.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Entropy.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Logger.cpp [libcalamares] Take ownership of the versioning headers 2020-07-29 10:02:37 +02:00
Logger.h [libcalamares] Fix constness issue (gcc reported) 2020-06-23 14:30:12 +02:00
moc-warnings.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
NamedEnum.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
NamedSuffix.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Permissions.cpp [libcalamares] Additional apply() methods for Permissions 2020-07-27 12:27:38 +02:00
Permissions.h [libcalamares] Additional apply() methods for Permissions 2020-07-27 12:27:38 +02:00
PluginFactory.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
PluginFactory.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
RAII.h [libcalamares] Expand RAII conveniences 2020-07-21 00:21:16 +02:00
Retranslator.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Retranslator.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
String.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
String.h [libcalamares] Compatibility-layer for QString::split 2020-06-23 11:08:55 +02:00
TestPaths.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Tests.cpp [libcalamares] Some if-method-exists trickery 2020-08-03 21:52:47 +02:00
Tests.h [libcalamares] Some if-method-exists trickery 2020-08-03 21:52:47 +02:00
Traits.h [libcalamares] Some if-method-exists trickery 2020-08-03 21:52:47 +02:00
UMask.cpp [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
UMask.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Units.h [libcalamares] Update SPDX identifiers. 2020-06-03 12:52:53 +01:00
Variant.cpp [libcalamares] Add default value to variant helpers 2020-06-22 15:37:24 -04:00
Variant.h [libcalamares] Add default value to variant helpers 2020-06-22 15:37:24 -04:00
Yaml.cpp [libcalamares] Minor documentation on Yaml.* 2020-07-09 10:45:28 +02:00
Yaml.h [libcalamares] Minor documentation on Yaml.* 2020-07-09 10:45:28 +02:00