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
PathService Class Reference

#include <path_service.h>

+ Collaboration diagram for PathService:

Static Public Member Functions

static bool DirectoryExists (const std::string &path)
 
static bool EndsWithSeparator (const std::string &path)
 
static bool GetExecutableDir (std::string *path)
 
static bool GetSourceDir (std::string *path)
 
static bool GetTestDataDir (std::string *path)
 
static std::string GetTestFilePath (const std::string &file_name)
 
static bool GetThirdPartyFilePath (const std::string &file_name, std::string *path)
 

Detailed Description

Definition at line 17 of file path_service.h.

Member Function Documentation

◆ DirectoryExists()

bool PathService::DirectoryExists ( const std::string & path)
static

Definition at line 48 of file path_service.cpp.

◆ EndsWithSeparator()

bool PathService::EndsWithSeparator ( const std::string & path)
static

Definition at line 63 of file path_service.cpp.

◆ GetExecutableDir()

bool PathService::GetExecutableDir ( std::string * path)
static

Definition at line 68 of file path_service.cpp.

◆ GetSourceDir()

bool PathService::GetSourceDir ( std::string * path)
static

Definition at line 110 of file path_service.cpp.

◆ GetTestDataDir()

bool PathService::GetTestDataDir ( std::string * path)
static

Definition at line 127 of file path_service.cpp.

◆ GetTestFilePath()

std::string PathService::GetTestFilePath ( const std::string & file_name)
static

Definition at line 160 of file path_service.cpp.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ GetThirdPartyFilePath()

bool PathService::GetThirdPartyFilePath ( const std::string & file_name,
std::string * path )
static

Definition at line 174 of file path_service.cpp.


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