#include <gtest-filepath.h>
Public Member Functions | |
| const char * | c_str () const |
| bool | CreateDirectoriesRecursively () const |
| bool | CreateFolder () const |
| bool | DirectoryExists () const |
| bool | FileOrDirectoryExists () const |
| FilePath () | |
| FilePath (const FilePath &rhs) | |
| FilePath (const char *pathname) | |
| FilePath (const String &pathname) | |
| bool | IsAbsolutePath () const |
| bool | IsDirectory () const |
| bool | IsEmpty () const |
| bool | IsRootDirectory () const |
| FilePath & | operator= (const FilePath &rhs) |
| FilePath | RemoveDirectoryName () const |
| FilePath | RemoveExtension (const char *extension) const |
| FilePath | RemoveFileName () const |
| FilePath | RemoveTrailingPathSeparator () const |
| void | Set (const FilePath &rhs) |
| String | ToString () const |
Static Public Member Functions | |
| 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) |
Private Member Functions | |
| const char * | FindLastPathSeparator () const |
| void | Normalize () |
Private Attributes | |
| String | pathname_ |
Definition at line 59 of file gtest-filepath.h.
| testing::internal::FilePath::FilePath | ( | ) | [inline] |
Definition at line 61 of file gtest-filepath.h.
| testing::internal::FilePath::FilePath | ( | const FilePath & | rhs | ) | [inline] |
Definition at line 62 of file gtest-filepath.h.
| testing::internal::FilePath::FilePath | ( | const char * | pathname | ) | [inline, explicit] |
Definition at line 64 of file gtest-filepath.h.
| testing::internal::FilePath::FilePath | ( | const String & | pathname | ) | [inline, explicit] |
Definition at line 68 of file gtest-filepath.h.
| const char* testing::internal::FilePath::c_str | ( | ) | const [inline] |
Definition at line 82 of file gtest-filepath.h.
| FilePath testing::internal::FilePath::ConcatPaths | ( | const FilePath & | directory, |
| const FilePath & | relative_path | ||
| ) | [static] |
Definition at line 191 of file gtest-filepath.cc.
| bool testing::internal::FilePath::CreateDirectoriesRecursively | ( | ) | const |
Definition at line 301 of file gtest-filepath.cc.
| bool testing::internal::FilePath::CreateFolder | ( | ) | const |
Definition at line 318 of file gtest-filepath.cc.
| bool testing::internal::FilePath::DirectoryExists | ( | ) | const |
Definition at line 216 of file gtest-filepath.cc.
| bool testing::internal::FilePath::FileOrDirectoryExists | ( | ) | const |
Definition at line 202 of file gtest-filepath.cc.
| const char * testing::internal::FilePath::FindLastPathSeparator | ( | ) | const [private] |
Definition at line 129 of file gtest-filepath.cc.
| FilePath testing::internal::FilePath::GenerateUniqueFileName | ( | const FilePath & | directory, |
| const FilePath & | base_name, | ||
| const char * | extension | ||
| ) | [static] |
Definition at line 279 of file gtest-filepath.cc.
| FilePath testing::internal::FilePath::GetCurrentDir | ( | ) | [static] |
Definition at line 100 of file gtest-filepath.cc.
| bool testing::internal::FilePath::IsAbsolutePath | ( | ) | const |
Definition at line 258 of file gtest-filepath.cc.
| bool testing::internal::FilePath::IsDirectory | ( | ) | const |
Definition at line 293 of file gtest-filepath.cc.
| bool testing::internal::FilePath::IsEmpty | ( | ) | const [inline] |
Definition at line 115 of file gtest-filepath.h.
| bool testing::internal::FilePath::IsRootDirectory | ( | ) | const |
Definition at line 246 of file gtest-filepath.cc.
| FilePath testing::internal::FilePath::MakeFileName | ( | const FilePath & | directory, |
| const FilePath & | base_name, | ||
| int | number, | ||
| const char * | extension | ||
| ) | [static] |
Definition at line 176 of file gtest-filepath.cc.
| void testing::internal::FilePath::Normalize | ( | ) | [private] |
Definition at line 349 of file gtest-filepath.cc.
Definition at line 72 of file gtest-filepath.h.
Definition at line 148 of file gtest-filepath.cc.
| FilePath testing::internal::FilePath::RemoveExtension | ( | const char * | extension | ) | const |
Definition at line 118 of file gtest-filepath.cc.
Definition at line 159 of file gtest-filepath.cc.
Definition at line 339 of file gtest-filepath.cc.
| void testing::internal::FilePath::Set | ( | const FilePath & | rhs | ) | [inline] |
Definition at line 77 of file gtest-filepath.h.
| String testing::internal::FilePath::ToString | ( | ) | const [inline] |
Definition at line 81 of file gtest-filepath.h.
String testing::internal::FilePath::pathname_ [private] |
Definition at line 204 of file gtest-filepath.h.