v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Static Public Member Functions | List of all members
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
 

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)
 

Detailed Description

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

Constructor & Destructor Documentation

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 std::string &  pathname)
inlineexplicit

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

Member Function Documentation

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

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

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.

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

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

static FilePath testing::internal::FilePath::GetCurrentDir ( )
static

Referenced by testing::internal::UnitTestImpl::AddTestInfo().

Here is the caller graph for this function:

static FilePath testing::internal::FilePath::MakeFileName ( const FilePath directory,
const FilePath base_name,
int  number,
const char *  extension 
)
static
static FilePath testing::internal::FilePath::ConcatPaths ( const FilePath directory,
const FilePath relative_path 
)
static
static FilePath testing::internal::FilePath::GenerateUniqueFileName ( const FilePath directory,
const FilePath base_name,
const char *  extension 
)
static
bool testing::internal::FilePath::IsEmpty ( ) const
inline

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

FilePath testing::internal::FilePath::RemoveTrailingPathSeparator ( ) const
FilePath testing::internal::FilePath::RemoveDirectoryName ( ) const
FilePath testing::internal::FilePath::RemoveFileName ( ) const
FilePath testing::internal::FilePath::RemoveExtension ( const char *  extension) const
bool testing::internal::FilePath::CreateDirectoriesRecursively ( ) const
bool testing::internal::FilePath::CreateFolder ( ) const
bool testing::internal::FilePath::FileOrDirectoryExists ( ) const
bool testing::internal::FilePath::DirectoryExists ( ) const
bool testing::internal::FilePath::IsDirectory ( ) const
bool testing::internal::FilePath::IsRootDirectory ( ) const
bool testing::internal::FilePath::IsAbsolutePath ( ) const

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