Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATString::SplitPath
bool CATString::SplitPath ( CATString drive,
CATString path,
CATString filename,
CATString ext 
) const

Splits a path into its components. All parameters are optional and may be null if you don't need the portion. behaves similarly to wsplitpath.

Parameters:
drive ptr to string to receive drive, or null
path ptr to string to receive path (directory), or null
filename ptr to string to receive filename, or null
ext ptr to receive file extension, or null.
Returns:
bool true on success

Definition at line 2080 of file CATString.cpp.

References CAT_DRIVESEPERATOR, CAT_EXTSEPERATOR, CAT_OPTPATHSEPERATOR, CAT_PATHSEPERATOR, GetWChar(), LengthCalc(), ReverseFind(), SetWChar(), and Sub().

Referenced by GetFilenameNoExt().


Generated on Mon Feb 11 04:11:04 2008 for Game Accessibility Suite by doxygen 1.5.4