Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration Class Reference

Defines some parameters to customize the generation of paths by a PathGenerator. More...

#include <path_generator.h>

+ Collaboration diagram for QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration:

Public Member Functions

PathGeneratorConfigurationset_multi_device_path_probability (double amount)
 
PathGeneratorConfigurationset_absolute_path_probability (double amount)
 
PathGeneratorConfigurationset_directory_path_probability (double amount)
 
PathGeneratorConfigurationset_has_trailing_separator_probability (double amount)
 
PathGeneratorConfigurationset_minimum_components_amount (std::size_t amount)
 
PathGeneratorConfigurationset_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}
 

Detailed Description

Defines some parameters to customize the generation of paths by a PathGenerator.

Definition at line 38 of file path_generator.h.

Member Function Documentation

◆ set_absolute_path_probability()

PathGeneratorConfiguration & QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::set_absolute_path_probability ( double amount)
inline

Definition at line 51 of file path_generator.h.

References absolute_path_probability.

◆ set_directory_path_probability()

PathGeneratorConfiguration & QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::set_directory_path_probability ( double amount)
inline

Definition at line 56 of file path_generator.h.

References directory_path_probability.

◆ set_has_trailing_separator_probability()

PathGeneratorConfiguration & QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::set_has_trailing_separator_probability ( double amount)
inline

Definition at line 61 of file path_generator.h.

References has_trailing_separator_probability.

◆ set_maximum_components_amount()

PathGeneratorConfiguration & QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::set_maximum_components_amount ( std::size_t amount)
inline

Definition at line 71 of file path_generator.h.

References maximum_components_amount.

◆ set_minimum_components_amount()

PathGeneratorConfiguration & QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::set_minimum_components_amount ( std::size_t amount)
inline

Definition at line 66 of file path_generator.h.

References minimum_components_amount.

◆ set_multi_device_path_probability()

PathGeneratorConfiguration & QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration::set_multi_device_path_probability ( double amount)
inline

Definition at line 46 of file path_generator.h.

References multi_device_path_probability.

Member Data Documentation

◆ absolute_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().

◆ directory_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().

◆ has_trailing_separator_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().

◆ maximum_components_amount

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().

◆ minimum_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().

◆ multi_device_path_probability

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().


The documentation for this class was generated from the following file: