Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
testing::internal::FilePath Class Reference

#include <gtest-filepath.h>

List of all members.

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 std::string &pathname)
bool IsAbsolutePath () const
bool IsDirectory () const
bool IsEmpty () const
bool IsRootDirectory () const
FilePathoperator= (const FilePath &rhs)
FilePath RemoveDirectoryName () const
FilePath RemoveExtension (const char *extension) const
FilePath RemoveFileName () const
FilePath RemoveTrailingPathSeparator () const
void Set (const FilePath &rhs)
const std::string & string () 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

std::string pathname_

Detailed Description

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


Constructor & Destructor Documentation

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

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

testing::internal::FilePath::FilePath ( const std::string &  pathname) [inline, explicit]

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


Member Function Documentation

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

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

FilePath testing::internal::FilePath::ConcatPaths ( const FilePath directory,
const FilePath relative_path 
) [static]

Definition at line 199 of file gtest-filepath.cc.

Definition at line 308 of file gtest-filepath.cc.

Definition at line 325 of file gtest-filepath.cc.

Definition at line 223 of file gtest-filepath.cc.

Definition at line 209 of file gtest-filepath.cc.

const char * testing::internal::FilePath::FindLastPathSeparator ( ) const [private]

Definition at line 136 of file gtest-filepath.cc.

FilePath testing::internal::FilePath::GenerateUniqueFileName ( const FilePath directory,
const FilePath base_name,
const char *  extension 
) [static]

Definition at line 286 of file gtest-filepath.cc.

Definition at line 99 of file gtest-filepath.cc.

Definition at line 265 of file gtest-filepath.cc.

Definition at line 300 of file gtest-filepath.cc.

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

Definition at line 253 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 183 of file gtest-filepath.cc.

Definition at line 356 of file gtest-filepath.cc.

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

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

Definition at line 155 of file gtest-filepath.cc.

FilePath testing::internal::FilePath::RemoveExtension ( const char *  extension) const

Definition at line 124 of file gtest-filepath.cc.

Definition at line 166 of file gtest-filepath.cc.

Definition at line 346 of file gtest-filepath.cc.

void testing::internal::FilePath::Set ( const FilePath rhs) [inline]

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

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

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


Member Data Documentation

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


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12