Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::FilePath Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gtest/include/gtest/internal/gtest-filepath.h>

Public Member Functions

 FilePath ()
 
 FilePath (const FilePath &rhs)
 
 FilePath (const char *pathname)
 
 FilePath (const String &pathname)
 
const char * c_str () const
 
bool CreateDirectoriesRecursively () const
 
bool CreateFolder () const
 
bool DirectoryExists () const
 
bool FileOrDirectoryExists () const
 
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)
 
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_
 

Constructor & Destructor Documentation

testing::internal::FilePath::FilePath ( )
inline
testing::internal::FilePath::FilePath ( const FilePath rhs)
inline
testing::internal::FilePath::FilePath ( const char *  pathname)
inlineexplicit
testing::internal::FilePath::FilePath ( const String pathname)
inlineexplicit

Member Function Documentation

const char* testing::internal::FilePath::c_str ( ) const
inline
FilePath testing::internal::FilePath::ConcatPaths ( const FilePath directory,
const FilePath relative_path 
)
static
bool testing::internal::FilePath::CreateDirectoriesRecursively ( ) const
bool testing::internal::FilePath::CreateFolder ( ) const
bool testing::internal::FilePath::DirectoryExists ( ) const
bool testing::internal::FilePath::FileOrDirectoryExists ( ) const
const char * testing::internal::FilePath::FindLastPathSeparator ( ) const
private
FilePath testing::internal::FilePath::GenerateUniqueFileName ( const FilePath directory,
const FilePath base_name,
const char *  extension 
)
static
FilePath testing::internal::FilePath::GetCurrentDir ( )
static
bool testing::internal::FilePath::IsAbsolutePath ( ) const
bool testing::internal::FilePath::IsDirectory ( ) const
bool testing::internal::FilePath::IsEmpty ( ) const
inline
bool testing::internal::FilePath::IsRootDirectory ( ) const
FilePath testing::internal::FilePath::MakeFileName ( const FilePath directory,
const FilePath base_name,
int  number,
const char *  extension 
)
static
void testing::internal::FilePath::Normalize ( )
private
FilePath& testing::internal::FilePath::operator= ( const FilePath rhs)
inline
FilePath testing::internal::FilePath::RemoveDirectoryName ( ) const
FilePath testing::internal::FilePath::RemoveExtension ( const char *  extension) const
FilePath testing::internal::FilePath::RemoveFileName ( ) const
FilePath testing::internal::FilePath::RemoveTrailingPathSeparator ( ) const
void testing::internal::FilePath::Set ( const FilePath rhs)
inline
String testing::internal::FilePath::ToString ( ) const
inline

Member Data Documentation

String testing::internal::FilePath::pathname_
private

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