Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Defines some parameters to customize the generation of paths by a PathGenerator. More...
#include <path_generator.h>
Public Member Functions | |
PathGeneratorConfiguration & | set_multi_device_path_probability (double amount) |
PathGeneratorConfiguration & | set_absolute_path_probability (double amount) |
PathGeneratorConfiguration & | set_directory_path_probability (double amount) |
PathGeneratorConfiguration & | set_has_trailing_separator_probability (double amount) |
PathGeneratorConfiguration & | set_minimum_components_amount (std::size_t amount) |
PathGeneratorConfiguration & | set_maximum_components_amount (std::size_t amount) |
Public Attributes | |
double | multi_device_path_probability {0.5} |
double | absolute_path_probability {0.5} |
double | directory_path_probability {0.5} |
double | has_trailing_separator_probability {0.5} |
std::size_t | minimum_components_amount {1} |
std::size_t | maximum_components_amount {10} |
Defines some parameters to customize the generation of paths by a PathGenerator.
Definition at line 38 of file path_generator.h.
|
inline |
Definition at line 51 of file path_generator.h.
References absolute_path_probability.
|
inline |
Definition at line 56 of file path_generator.h.
References directory_path_probability.
|
inline |
Definition at line 61 of file path_generator.h.
References has_trailing_separator_probability.
|
inline |
Definition at line 71 of file path_generator.h.
References maximum_components_amount.
|
inline |
Definition at line 66 of file path_generator.h.
References minimum_components_amount.
|
inline |
Definition at line 46 of file path_generator.h.
References multi_device_path_probability.
double QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::absolute_path_probability {0.5} |
Definition at line 40 of file path_generator.h.
Referenced by set_absolute_path_probability().
double QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::directory_path_probability {0.5} |
Definition at line 41 of file path_generator.h.
Referenced by set_directory_path_probability().
double QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::has_trailing_separator_probability {0.5} |
Definition at line 42 of file path_generator.h.
Referenced by set_has_trailing_separator_probability().
std::size_t QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::maximum_components_amount {10} |
Definition at line 44 of file path_generator.h.
Referenced by set_maximum_components_amount().
std::size_t QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::minimum_components_amount {1} |
Definition at line 43 of file path_generator.h.
Referenced by set_minimum_components_amount().
double QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::multi_device_path_probability {0.5} |
Definition at line 39 of file path_generator.h.
Referenced by set_multi_device_path_probability().