Electroneum
Loading...
Searching...
No Matches
testing::internal::FilePath Class Reference

#include <gtest-filepath.h>

Public Member Functions

 FilePath ()
 FilePath (const FilePath &rhs)
 FilePath (const std::string &pathname)
FilePathoperator= (const FilePath &rhs)
void Set (const FilePath &rhs)
const std::string & string () const
const char * c_str () const
bool IsEmpty () const
FilePath RemoveTrailingPathSeparator () const
FilePath RemoveDirectoryName () const
FilePath RemoveFileName () const
FilePath RemoveExtension (const char *extension) const
bool CreateDirectoriesRecursively () const
bool CreateFolder () const
bool FileOrDirectoryExists () const
bool DirectoryExists () const
bool IsDirectory () const
bool IsRootDirectory () const
bool IsAbsolutePath () const
 FilePath ()
 FilePath (const FilePath &rhs)
 FilePath (const std::string &pathname)
FilePathoperator= (const FilePath &rhs)
void Set (const FilePath &rhs)
const std::string & string () const
const char * c_str () const
bool IsEmpty () const
FilePath RemoveTrailingPathSeparator () const
FilePath RemoveDirectoryName () const
FilePath RemoveFileName () const
FilePath RemoveExtension (const char *extension) const
bool CreateDirectoriesRecursively () const
bool CreateFolder () const
bool FileOrDirectoryExists () const
bool DirectoryExists () const
bool IsDirectory () const
bool IsRootDirectory () const
bool IsAbsolutePath () const

Static Public Member Functions

static FilePath GetCurrentDir ()
static FilePath MakeFileName (const FilePath &directory, const FilePath &base_name, int number, const char *extension)
static FilePath ConcatPaths (const FilePath &directory, const FilePath &relative_path)
static FilePath GenerateUniqueFileName (const FilePath &directory, const FilePath &base_name, const char *extension)
static FilePath GetCurrentDir ()
static FilePath MakeFileName (const FilePath &directory, const FilePath &base_name, int number, const char *extension)
static FilePath ConcatPaths (const FilePath &directory, const FilePath &relative_path)
static FilePath GenerateUniqueFileName (const FilePath &directory, const FilePath &base_name, const char *extension)

Detailed Description

Definition at line 59 of file gtest-filepath.h.

Constructor & Destructor Documentation

◆ FilePath() [1/6]

testing::internal::FilePath::FilePath ( )
inline

Definition at line 61 of file gtest-filepath.h.

61: pathname_("") { }
Here is the caller graph for this function:

◆ FilePath() [2/6]

testing::internal::FilePath::FilePath ( const FilePath & rhs)
inline

Definition at line 62 of file gtest-filepath.h.

62: pathname_(rhs.pathname_) { }
Here is the call graph for this function:

◆ FilePath() [3/6]

testing::internal::FilePath::FilePath ( const std::string & pathname)
inlineexplicit

Definition at line 64 of file gtest-filepath.h.

64 : pathname_(pathname) {
65 Normalize();
66 }

◆ FilePath() [4/6]

testing::internal::FilePath::FilePath ( )
inline

Definition at line 61 of file gtest-filepath.h.

61: pathname_("") { }

◆ FilePath() [5/6]

testing::internal::FilePath::FilePath ( const FilePath & rhs)
inline

Definition at line 62 of file gtest-filepath.h.

62: pathname_(rhs.pathname_) { }
Here is the call graph for this function:

◆ FilePath() [6/6]

testing::internal::FilePath::FilePath ( const std::string & pathname)
inlineexplicit

Definition at line 64 of file gtest-filepath.h.

64 : pathname_(pathname) {
65 Normalize();
66 }

Member Function Documentation

◆ c_str() [1/2]

const char * testing::internal::FilePath::c_str ( ) const
inline

Definition at line 78 of file gtest-filepath.h.

78{ return pathname_.c_str(); }

◆ c_str() [2/2]

const char * testing::internal::FilePath::c_str ( ) const
inline

Definition at line 78 of file gtest-filepath.h.

78{ return pathname_.c_str(); }

◆ ConcatPaths() [1/2]

FilePath testing::internal::FilePath::ConcatPaths ( const FilePath & directory,
const FilePath & relative_path )
static
Here is the call graph for this function:

◆ ConcatPaths() [2/2]

FilePath testing::internal::FilePath::ConcatPaths ( const FilePath & directory,
const FilePath & relative_path )
static
Here is the call graph for this function:

◆ CreateDirectoriesRecursively() [1/2]

bool testing::internal::FilePath::CreateDirectoriesRecursively ( ) const

◆ CreateDirectoriesRecursively() [2/2]

bool testing::internal::FilePath::CreateDirectoriesRecursively ( ) const

◆ CreateFolder() [1/2]

bool testing::internal::FilePath::CreateFolder ( ) const

◆ CreateFolder() [2/2]

bool testing::internal::FilePath::CreateFolder ( ) const

◆ DirectoryExists() [1/2]

bool testing::internal::FilePath::DirectoryExists ( ) const

◆ DirectoryExists() [2/2]

bool testing::internal::FilePath::DirectoryExists ( ) const

◆ FileOrDirectoryExists() [1/2]

bool testing::internal::FilePath::FileOrDirectoryExists ( ) const

◆ FileOrDirectoryExists() [2/2]

bool testing::internal::FilePath::FileOrDirectoryExists ( ) const

◆ GenerateUniqueFileName() [1/2]

FilePath testing::internal::FilePath::GenerateUniqueFileName ( const FilePath & directory,
const FilePath & base_name,
const char * extension )
static
Here is the call graph for this function:

◆ GenerateUniqueFileName() [2/2]

FilePath testing::internal::FilePath::GenerateUniqueFileName ( const FilePath & directory,
const FilePath & base_name,
const char * extension )
static
Here is the call graph for this function:

◆ GetCurrentDir() [1/2]

FilePath testing::internal::FilePath::GetCurrentDir ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentDir() [2/2]

FilePath testing::internal::FilePath::GetCurrentDir ( )
static
Here is the call graph for this function:

◆ IsAbsolutePath() [1/2]

bool testing::internal::FilePath::IsAbsolutePath ( ) const

◆ IsAbsolutePath() [2/2]

bool testing::internal::FilePath::IsAbsolutePath ( ) const

◆ IsDirectory() [1/2]

bool testing::internal::FilePath::IsDirectory ( ) const

◆ IsDirectory() [2/2]

bool testing::internal::FilePath::IsDirectory ( ) const

◆ IsEmpty() [1/2]

bool testing::internal::FilePath::IsEmpty ( ) const
inline

Definition at line 111 of file gtest-filepath.h.

111{ return pathname_.empty(); }

◆ IsEmpty() [2/2]

bool testing::internal::FilePath::IsEmpty ( ) const
inline

Definition at line 111 of file gtest-filepath.h.

111{ return pathname_.empty(); }

◆ IsRootDirectory() [1/2]

bool testing::internal::FilePath::IsRootDirectory ( ) const

◆ IsRootDirectory() [2/2]

bool testing::internal::FilePath::IsRootDirectory ( ) const

◆ MakeFileName() [1/2]

FilePath testing::internal::FilePath::MakeFileName ( const FilePath & directory,
const FilePath & base_name,
int number,
const char * extension )
static
Here is the call graph for this function:

◆ MakeFileName() [2/2]

FilePath testing::internal::FilePath::MakeFileName ( const FilePath & directory,
const FilePath & base_name,
int number,
const char * extension )
static
Here is the call graph for this function:

◆ operator=() [1/2]

FilePath & testing::internal::FilePath::operator= ( const FilePath & rhs)
inline

Definition at line 68 of file gtest-filepath.h.

68 {
69 Set(rhs);
70 return *this;
71 }
void Set(const FilePath &rhs)
Here is the call graph for this function:

◆ operator=() [2/2]

FilePath & testing::internal::FilePath::operator= ( const FilePath & rhs)
inline

Definition at line 68 of file gtest-filepath.h.

68 {
69 Set(rhs);
70 return *this;
71 }
Here is the call graph for this function:

◆ RemoveDirectoryName() [1/2]

FilePath testing::internal::FilePath::RemoveDirectoryName ( ) const
Here is the call graph for this function:

◆ RemoveDirectoryName() [2/2]

FilePath testing::internal::FilePath::RemoveDirectoryName ( ) const
Here is the call graph for this function:

◆ RemoveExtension() [1/2]

FilePath testing::internal::FilePath::RemoveExtension ( const char * extension) const
Here is the call graph for this function:

◆ RemoveExtension() [2/2]

FilePath testing::internal::FilePath::RemoveExtension ( const char * extension) const
Here is the call graph for this function:

◆ RemoveFileName() [1/2]

FilePath testing::internal::FilePath::RemoveFileName ( ) const
Here is the call graph for this function:

◆ RemoveFileName() [2/2]

FilePath testing::internal::FilePath::RemoveFileName ( ) const
Here is the call graph for this function:

◆ RemoveTrailingPathSeparator() [1/2]

FilePath testing::internal::FilePath::RemoveTrailingPathSeparator ( ) const
Here is the call graph for this function:

◆ RemoveTrailingPathSeparator() [2/2]

FilePath testing::internal::FilePath::RemoveTrailingPathSeparator ( ) const
Here is the call graph for this function:

◆ Set() [1/2]

void testing::internal::FilePath::Set ( const FilePath & rhs)
inline

Definition at line 73 of file gtest-filepath.h.

73 {
74 pathname_ = rhs.pathname_;
75 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Set() [2/2]

void testing::internal::FilePath::Set ( const FilePath & rhs)
inline

Definition at line 73 of file gtest-filepath.h.

73 {
74 pathname_ = rhs.pathname_;
75 }
Here is the call graph for this function:

◆ string() [1/2]

const std::string & testing::internal::FilePath::string ( ) const
inline

Definition at line 77 of file gtest-filepath.h.

77{ return pathname_; }

◆ string() [2/2]

const std::string & testing::internal::FilePath::string ( ) const
inline

Definition at line 77 of file gtest-filepath.h.

77{ return pathname_; }

The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/internal/gtest-filepath.h