Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CArchFileWindows Class Reference

Win32 implementation of IArchFile. More...

#include <CArchFileWindows.h>

Inherits IArchFile.

Inheritance diagram for CArchFileWindows:

Inheritance graph
[legend]
Collaboration diagram for CArchFileWindows:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

Win32 implementation of IArchFile.

Definition at line 23 of file CArchFileWindows.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Fri Nov 6 00:21:17 2009 for synergy-plus by  doxygen 1.3.9.1