AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
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)
 

Constructor & Destructor Documentation

◆ FilePath() [1/3]

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

◆ FilePath() [2/3]

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

◆ FilePath() [3/3]

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

Member Function Documentation

◆ c_str()

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

◆ ConcatPaths()

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

◆ CreateDirectoriesRecursively()

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

◆ CreateFolder()

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

◆ DirectoryExists()

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

◆ FileOrDirectoryExists()

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

◆ GenerateUniqueFileName()

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

◆ GetCurrentDir()

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

◆ IsAbsolutePath()

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

◆ IsDirectory()

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

◆ IsEmpty()

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

◆ IsRootDirectory()

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

◆ MakeFileName()

static FilePath testing::internal::FilePath::MakeFileName ( const FilePath directory,
const FilePath base_name,
int  number,
const char *  extension 
)
static

◆ operator=()

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

◆ RemoveDirectoryName()

FilePath testing::internal::FilePath::RemoveDirectoryName ( ) const

◆ RemoveExtension()

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

◆ RemoveFileName()

FilePath testing::internal::FilePath::RemoveFileName ( ) const

◆ RemoveTrailingPathSeparator()

FilePath testing::internal::FilePath::RemoveTrailingPathSeparator ( ) const

◆ Set()

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

◆ string()

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

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0