Win32 implementation of IArchFile. More...
#include <CArchFileWindows.h>
Inherits IArchFile.
Public Member Functions | |
virtual const char * | getBasename (const char *pathname) |
Extract base name. | |
virtual std::string | getUserDirectory () |
Get user's home directory. | |
virtual std::string | getSystemDirectory () |
Get system directory. | |
virtual std::string | concatPath (const std::string &prefix, const std::string &suffix) |
Concatenate path components. |
Win32 implementation of IArchFile.
Definition at line 23 of file CArchFileWindows.h.
std::string CArchFileWindows::concatPath | ( | const std::string & | prefix, | |
const std::string & | suffix | |||
) | [virtual] |
Concatenate path components.
Concatenate pathname components with a directory separator between them. This should not check if the resulting path is longer than allowed by the system; we'll rely on the system calls to tell us that.
Implements IArchFile.
Definition at line 119 of file CArchFileWindows.cpp.
const char * CArchFileWindows::getBasename | ( | const char * | pathname | ) | [virtual] |
Extract base name.
Find the base name in the given pathname
.
Implements IArchFile.
Definition at line 36 of file CArchFileWindows.cpp.
std::string CArchFileWindows::getSystemDirectory | ( | ) | [virtual] |
Get system directory.
Returns the ussystem configuration file directory.
Implements IArchFile.
Definition at line 105 of file CArchFileWindows.cpp.
std::string CArchFileWindows::getUserDirectory | ( | ) | [virtual] |
Get user's home directory.
Returns the user's home directory. Returns the empty string if this cannot be determined.
Implements IArchFile.
Definition at line 61 of file CArchFileWindows.cpp.