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
path_generator.h File Reference

(ac01635f461bd9f211d89f6eea833d9d928fd113)

#include "../namespaces.h"
#include "qchar_generator.h"
#include "qstring_generator.h"
#include "../utilities/semantics/move_into_vector.h"
#include "../utilities/semantics/generator_handler.h"
#include <catch/catch.hpp>
#include <random>
#include <QChar>
#include <QString>
#include <QStringList>
#include <QRegularExpression>
+ Include dependency graph for path_generator.h:

Go to the source code of this file.

Classes

class  QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::PathGeneratorConfiguration
 Defines some parameters to customize the generation of paths by a PathGenerator. More...
 
class  QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::PathGenerator
 

Namespaces

namespace  QDOC_CATCH_GENERATORS_ROOT_NAMESPACE
 
namespace  QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE
 \variable PathGeneratorConfiguration::multi_device_path_probability
 

Functions

Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::path (Catch::Generators::GeneratorWrapper< QString > &&device_generator, Catch::Generators::GeneratorWrapper< QString > &&root_component_generator, Catch::Generators::GeneratorWrapper< QString > &&directory_generator, Catch::Generators::GeneratorWrapper< QString > &&filename_generator, Catch::Generators::GeneratorWrapper< QString > &&separator_generator, PathGeneratorConfiguration configuration=PathGeneratorConfiguration{})
 Returns a generator that produces QStrings that represent a path in a filesystem.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::posix_root ()
 Returns a generator that generates strings that are suitable to be used as a root component in POSIX paths.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::portable_posix_directory_name ()
 Returns a generator that generates strings that are suitable to be used as directory components in POSIX paths and that use an alphabet that should generally be supported by other systems.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::portable_posix_filename ()
 Returns a generator that generates strings that are suitable to be used as filenames in POSIX paths and that use an alphabet that should generally be supported by other systems.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::posix_separator ()
 Returns a generator that generates strings that can be used as POSIX compliant separators.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::windows_logical_drives ()
 Returns a generator that generates strings that can be suitably used as logical drive names in Windows' paths.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::windows_separator ()
 Returns a generator that generate strings that can be used as separators in Windows based paths.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::relaxed_portable_posix_path (double absolute_path_probability=0.5, double directory_path_probability=0.5)
 Returns a generator that generates strings representing POSIX compatible paths.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::traditional_dos_path (double absolute_path_probability=0.5, double directory_path_probability=0.5, double multi_device_path_probability=0.5)
 Returns a generator that produces strings that represents traditional DOS paths as defined in \l {https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#traditional-dos-paths}.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::native_path (double absolute_path_probability=0.5, double directory_path_probability=0.5)
 Returns a generator that generates QStrings that represents paths native to the underlying OS.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::native_relative_path (double directory_path_probability=0.5)
 Returns a generator that generates QStrings that represents paths native to the underlying OS and that are always {Relative}.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::native_relative_file_path ()
 Returns a generator that generates QStrings that represents paths native to the underlying OS and that are always {Relative} and {To a File}.
 
Catch::Generators::GeneratorWrapper< QStringQDOC_CATCH_GENERATORS_ROOT_NAMESPACE::native_relative_directory_path ()
 Returns a generator that generates QStrings that represents paths native to the underlying OS and that are always {Relative} and {To a Directory}.
 

Variables

static constexpr std::size_t QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::minimum_component_length {1}
 
static constexpr std::size_t QDOC_CATCH_GENERATORS_ROOT_NAMESPACE::QDOC_CATCH_GENERATORS_PRIVATE_NAMESPACE::maximum_component_length {14}