webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
rtc::Pathname Class Reference

#include <pathutils.h>

Public Member Functions

 Pathname ()
 
 Pathname (const Pathname &)
 
 Pathname (Pathname &&)
 
 Pathname (const std::string &pathname)
 
 Pathname (const std::string &folder, const std::string &filename)
 
Pathnameoperator= (const Pathname &)
 
Pathnameoperator= (Pathname &&)
 
char folder_delimiter () const
 
void SetFolderDelimiter (char delimiter)
 
void Normalize ()
 
void clear ()
 
bool empty () const
 
std::string pathname () const
 
void SetPathname (const std::string &pathname)
 
void SetPathname (const std::string &folder, const std::string &filename)
 
void AppendPathname (const std::string &pathname)
 
std::string folder () const
 
std::string folder_name () const
 
std::string parent_folder () const
 
void SetFolder (const std::string &folder)
 
void AppendFolder (const std::string &folder)
 
std::string basename () const
 
bool SetBasename (const std::string &basename)
 
std::string extension () const
 
bool SetExtension (const std::string &extension)
 
std::string filename () const
 
bool SetFilename (const std::string &filename)
 
 Pathname ()
 
 Pathname (const Pathname &)
 
 Pathname (Pathname &&)
 
 Pathname (const std::string &pathname)
 
 Pathname (const std::string &folder, const std::string &filename)
 
Pathnameoperator= (const Pathname &)
 
Pathnameoperator= (Pathname &&)
 
char folder_delimiter () const
 
void SetFolderDelimiter (char delimiter)
 
void Normalize ()
 
void clear ()
 
bool empty () const
 
std::string pathname () const
 
void SetPathname (const std::string &pathname)
 
void SetPathname (const std::string &folder, const std::string &filename)
 
void AppendPathname (const std::string &pathname)
 
std::string folder () const
 
std::string folder_name () const
 
std::string parent_folder () const
 
void SetFolder (const std::string &folder)
 
void AppendFolder (const std::string &folder)
 
std::string basename () const
 
bool SetBasename (const std::string &basename)
 
std::string extension () const
 
bool SetExtension (const std::string &extension)
 
std::string filename () const
 
bool SetFilename (const std::string &filename)
 

Static Public Member Functions

static bool IsFolderDelimiter (char ch)
 
static char DefaultFolderDelimiter ()
 
static bool IsFolderDelimiter (char ch)
 
static char DefaultFolderDelimiter ()
 

Constructor & Destructor Documentation

◆ Pathname() [1/10]

rtc::Pathname::Pathname ( )

◆ Pathname() [2/10]

rtc::Pathname::Pathname ( const Pathname )
default

◆ Pathname() [3/10]

rtc::Pathname::Pathname ( Pathname &&  )
default

◆ Pathname() [4/10]

rtc::Pathname::Pathname ( const std::string pathname)

◆ Pathname() [5/10]

rtc::Pathname::Pathname ( const std::string folder,
const std::string filename 
)

◆ Pathname() [6/10]

rtc::Pathname::Pathname ( )

◆ Pathname() [7/10]

rtc::Pathname::Pathname ( const Pathname )

◆ Pathname() [8/10]

rtc::Pathname::Pathname ( Pathname &&  )

◆ Pathname() [9/10]

rtc::Pathname::Pathname ( const std::string pathname)

◆ Pathname() [10/10]

rtc::Pathname::Pathname ( const std::string folder,
const std::string filename 
)

Member Function Documentation

◆ AppendFolder() [1/2]

void rtc::Pathname::AppendFolder ( const std::string folder)

◆ AppendFolder() [2/2]

void rtc::Pathname::AppendFolder ( const std::string folder)

◆ AppendPathname() [1/2]

void rtc::Pathname::AppendPathname ( const std::string pathname)

◆ AppendPathname() [2/2]

void rtc::Pathname::AppendPathname ( const std::string pathname)

◆ basename() [1/2]

std::string rtc::Pathname::basename ( ) const

◆ basename() [2/2]

std::string rtc::Pathname::basename ( ) const

◆ clear() [1/2]

void rtc::Pathname::clear ( )

◆ clear() [2/2]

void rtc::Pathname::clear ( )

◆ DefaultFolderDelimiter() [1/2]

char rtc::Pathname::DefaultFolderDelimiter ( )
static

◆ DefaultFolderDelimiter() [2/2]

static char rtc::Pathname::DefaultFolderDelimiter ( )
static

◆ empty() [1/2]

bool rtc::Pathname::empty ( ) const

◆ empty() [2/2]

bool rtc::Pathname::empty ( ) const

◆ extension() [1/2]

std::string rtc::Pathname::extension ( ) const

◆ extension() [2/2]

std::string rtc::Pathname::extension ( ) const

◆ filename() [1/2]

std::string rtc::Pathname::filename ( ) const

◆ filename() [2/2]

std::string rtc::Pathname::filename ( ) const

◆ folder() [1/2]

std::string rtc::Pathname::folder ( ) const

◆ folder() [2/2]

std::string rtc::Pathname::folder ( ) const

◆ folder_delimiter() [1/2]

char rtc::Pathname::folder_delimiter ( ) const
inline

◆ folder_delimiter() [2/2]

char rtc::Pathname::folder_delimiter ( ) const
inline

◆ folder_name() [1/2]

std::string rtc::Pathname::folder_name ( ) const

◆ folder_name() [2/2]

std::string rtc::Pathname::folder_name ( ) const

◆ IsFolderDelimiter() [1/2]

bool rtc::Pathname::IsFolderDelimiter ( char  ch)
static

◆ IsFolderDelimiter() [2/2]

static bool rtc::Pathname::IsFolderDelimiter ( char  ch)
static

◆ Normalize() [1/2]

void rtc::Pathname::Normalize ( )

◆ Normalize() [2/2]

void rtc::Pathname::Normalize ( )

◆ operator=() [1/4]

Pathname& rtc::Pathname::operator= ( const Pathname )

◆ operator=() [2/4]

Pathname & rtc::Pathname::operator= ( const Pathname )
default

◆ operator=() [3/4]

Pathname & rtc::Pathname::operator= ( Pathname &&  )
default

◆ operator=() [4/4]

Pathname& rtc::Pathname::operator= ( Pathname &&  )

◆ parent_folder() [1/2]

std::string rtc::Pathname::parent_folder ( ) const

◆ parent_folder() [2/2]

std::string rtc::Pathname::parent_folder ( ) const

◆ pathname() [1/2]

std::string rtc::Pathname::pathname ( ) const

◆ pathname() [2/2]

std::string rtc::Pathname::pathname ( ) const

◆ SetBasename() [1/2]

bool rtc::Pathname::SetBasename ( const std::string basename)

◆ SetBasename() [2/2]

bool rtc::Pathname::SetBasename ( const std::string basename)

◆ SetExtension() [1/2]

bool rtc::Pathname::SetExtension ( const std::string extension)

◆ SetExtension() [2/2]

bool rtc::Pathname::SetExtension ( const std::string extension)

◆ SetFilename() [1/2]

bool rtc::Pathname::SetFilename ( const std::string filename)

◆ SetFilename() [2/2]

bool rtc::Pathname::SetFilename ( const std::string filename)

◆ SetFolder() [1/2]

void rtc::Pathname::SetFolder ( const std::string folder)

◆ SetFolder() [2/2]

void rtc::Pathname::SetFolder ( const std::string folder)

◆ SetFolderDelimiter() [1/2]

void rtc::Pathname::SetFolderDelimiter ( char  delimiter)

◆ SetFolderDelimiter() [2/2]

void rtc::Pathname::SetFolderDelimiter ( char  delimiter)

◆ SetPathname() [1/4]

void rtc::Pathname::SetPathname ( const std::string pathname)

◆ SetPathname() [2/4]

void rtc::Pathname::SetPathname ( const std::string pathname)

◆ SetPathname() [3/4]

void rtc::Pathname::SetPathname ( const std::string folder,
const std::string filename 
)

◆ SetPathname() [4/4]

void rtc::Pathname::SetPathname ( const std::string folder,
const std::string filename 
)

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