ReactOS  0.4.15-dev-3428-g0609db5
ATL::CPathT< StringType > Class Template Reference

#include <atlpath.h>

Public Types

typedef StringType::PCXSTR PCXSTR
 
typedef StringType::PXSTR PXSTR
 
typedef StringType::XCHAR XCHAR
 

Public Member Functions

 CPathT (PCXSTR pszPath)
 
 CPathT (const CPathT< StringType > &path)
 
 CPathT () throw ()
 
void AddBackslash ()
 
BOOL AddExtension (PCXSTR pszExtension)
 
BOOL Append (PCXSTR pszMore)
 
void BuildRoot (int iDrive)
 
void Canonicalize ()
 
void Combine (PCXSTR pszDir, PCXSTR pszFile)
 
CPathT< StringType > CommonPrefix (PCXSTR pszOther)
 
BOOL CompactPath (HDC hDC, UINT nWidth)
 
BOOL CompactPathEx (UINT nMaxChars, DWORD dwFlags=0)
 
BOOL FileExists () const
 
int FindExtension () const
 
int FindFileName () const
 
int GetDriveNumber () const
 
StringType GetExtension () const
 
BOOL IsDirectory () const
 
BOOL IsFileSpec () const
 
BOOL IsPrefix (PCXSTR pszPrefix) const
 
BOOL IsRelative () const
 
BOOL IsRoot () const
 
BOOL IsSameRoot (PCXSTR pszOther) const
 
BOOL IsUNC () const
 
BOOL IsUNCServer () const
 
BOOL IsUNCServerShare () const
 
BOOL MakePretty ()
 
BOOL MatchSpec (PCXSTR pszSpec) const
 
void QuoteSpaces ()
 
BOOL RelativePathTo (PCXSTR pszFrom, DWORD dwAttrFrom, PCXSTR pszTo, DWORD dwAttrTo)
 
void RemoveArgs ()
 
void RemoveBackslash ()
 
void RemoveBlanks ()
 
void RemoveExtension ()
 
BOOL RemoveFileSpec ()
 
BOOL RenameExtension (PCXSTR pszExtension)
 
int SkipRoot () const
 
void StripPath ()
 
BOOL StripToRoot ()
 
void UnquoteSpaces ()
 
 operator const StringType & () const throw ()
 
 operator PCXSTR () const throw ()
 
 operator StringType & () throw ()
 
CPathT< StringType > & operator+= (PCXSTR pszMore)
 

Public Attributes

StringType m_strPath
 

Private Member Functions

BOOL PathFileExistsX (LPCSTR pszPath) const
 
BOOL PathFileExistsX (LPCWSTR pszPath) const
 
LPCSTR PathFindExtensionX (LPCSTR pszPath) const
 
LPCWSTR PathFindExtensionX (LPCWSTR pszPath) const
 
LPCSTR PathFindFileNameX (LPCSTR pszPath) const
 
LPCWSTR PathFindFileNameX (LPCWSTR pszPath) const
 
int PathGetDriveNumberX (LPCSTR pszPath) const
 
int PathGetDriveNumberX (LPCWSTR pszPath) const
 
BOOL PathIsDirectoryX (LPCSTR pszPath) const
 
BOOL PathIsDirectoryX (LPCWSTR pszPath) const
 
BOOL PathIsFileSpecX (LPCSTR pszPath) const
 
BOOL PathIsFileSpecX (LPCWSTR pszPath) const
 
BOOL PathIsPrefixX (LPCSTR pszPath, LPCSTR pszPrefix)
 
BOOL PathIsPrefixX (LPCWSTR pszPath, LPCWSTR pszPrefix)
 
BOOL PathIsRelativeX (LPCSTR pszPath) const
 
BOOL PathIsRelativeX (LPCWSTR pszPath) const
 
BOOL PathIsRootX (LPCSTR pszPath) const
 
BOOL PathIsRootX (LPCWSTR pszPath) const
 
BOOL PathIsSameRootX (LPCSTR pszPath, LPCSTR pszOther) const
 
BOOL PathIsSameRootX (LPCWSTR pszPath, LPCWSTR pszOther) const
 
BOOL PathIsUNCX (LPCSTR pszPath)
 
BOOL PathIsUNCX (LPCWSTR pszPath)
 
BOOL PathIsUNCServerX (LPCSTR pszPath)
 
BOOL PathIsUNCServerX (LPCWSTR pszPath)
 
BOOL PathIsUNCServerShareX (LPCSTR pszPath)
 
BOOL PathIsUNCServerShareX (LPCWSTR pszPath)
 
BOOL PathMatchSpecX (LPCSTR pszPath, LPCSTR pszSpec) const
 
BOOL PathMatchSpecX (LPCWSTR pszPath, LPCWSTR pszSpec) const
 
LPCSTR PathSkipRootX (LPCSTR pszPath) const
 
LPCWSTR PathSkipRootX (LPCWSTR pszPath) const
 
void PathAddBackslashX (LPSTR pszPath)
 
void PathAddBackslashX (LPWSTR pszPath)
 
BOOL PathAddExtensionX (LPSTR pszPath, LPCSTR pszExt)
 
BOOL PathAddExtensionX (LPWSTR pszPath, LPCWSTR pszExt)
 
BOOL PathAppendX (LPSTR pszPath, LPCSTR pszMore)
 
BOOL PathAppendX (LPWSTR pszPath, LPCWSTR pszMore)
 
void PathBuildRootX (LPSTR pszRoot, int iDrive)
 
void PathBuildRootX (LPWSTR pszRoot, int iDrive)
 
void PathCanonicalizeX (LPSTR pszDst, LPCSTR pszSrc)
 
void PathCanonicalizeX (LPWSTR pszDst, LPCWSTR pszSrc)
 
void PathCombineX (LPSTR pszPathOut, LPCSTR pszPathIn, LPCSTR pszMore)
 
void PathCombineX (LPWSTR pszPathOut, LPCWSTR pszPathIn, LPCWSTR pszMore)
 
CPathT< StringType > PathCommonPrefixX (LPCSTR pszFile1, LPCSTR pszFile2, LPSTR pszPath)
 
CPathT< StringType > PathCommonPrefixX (LPCWSTR pszFile1, LPCWSTR pszFile2, LPWSTR pszPath)
 
BOOL PathCompactPathX (HDC hDC, LPSTR pszPath, UINT dx)
 
BOOL PathCompactPathX (HDC hDC, LPWSTR pszPath, UINT dx)
 
BOOL PathCompactPathExX (LPSTR pszOut, LPCSTR pszSrc, UINT cchMax, DWORD dwFlags)
 
BOOL PathCompactPathExX (LPWSTR pszOut, LPCWSTR pszSrc, UINT cchMax, DWORD dwFlags)
 
BOOL PathMakePrettyX (LPSTR pszPath)
 
BOOL PathMakePrettyX (LPWSTR pszPath)
 
void PathQuoteSpacesX (LPSTR pszPath)
 
void PathQuoteSpacesX (LPWSTR pszPath)
 
BOOL PathRelativePathToX (LPSTR pszPath, LPCSTR pszFrom, DWORD dwAttrFrom, LPCSTR pszTo, DWORD dwAttrTo)
 
BOOL PathRelativePathToX (LPWSTR pszPath, LPCWSTR pszFrom, DWORD dwAttrFrom, LPCWSTR pszTo, DWORD dwAttrTo)
 
void PathRemoveArgsX (LPSTR pszPath)
 
void PathRemoveArgsX (LPWSTR pszPath)
 
void PathRemoveBackslashX (LPSTR pszPath)
 
void PathRemoveBackslashX (LPWSTR pszPath)
 
void PathRemoveBlanksX (LPSTR pszPath)
 
void PathRemoveBlanksX (LPWSTR pszPath)
 
void PathRemoveExtensionX (LPSTR pszPath)
 
void PathRemoveExtensionX (LPWSTR pszPath)
 
BOOL PathRemoveFileSpecX (LPSTR pszPath)
 
BOOL PathRemoveFileSpecX (LPWSTR pszPath)
 
BOOL PathRenameExtensionX (LPSTR pszPath, LPCSTR pszExt)
 
BOOL PathRenameExtensionX (LPWSTR pszPath, LPCWSTR pszExt)
 
void PathStripPathX (LPSTR pszPath)
 
void PathStripPathX (LPWSTR pszPath)
 
BOOL PathStripToRootX (LPSTR pszPath)
 
BOOL PathStripToRootX (LPWSTR pszPath)
 
void PathUnquoteSpacesX (LPSTR pszPath)
 
void PathUnquoteSpacesX (LPWSTR pszPath)
 

Detailed Description

template<typename StringType>
class ATL::CPathT< StringType >

Definition at line 19 of file atlpath.h.

Member Typedef Documentation

◆ PCXSTR

template<typename StringType>
typedef StringType::PCXSTR ATL::CPathT< StringType >::PCXSTR

Definition at line 98 of file atlpath.h.

◆ PXSTR

template<typename StringType>
typedef StringType::PXSTR ATL::CPathT< StringType >::PXSTR

Definition at line 99 of file atlpath.h.

◆ XCHAR

template<typename StringType>
typedef StringType::XCHAR ATL::CPathT< StringType >::XCHAR

Definition at line 100 of file atlpath.h.

Constructor & Destructor Documentation

◆ CPathT() [1/3]

template<typename StringType>
ATL::CPathT< StringType >::CPathT ( PCXSTR  pszPath)
inline

Definition at line 104 of file atlpath.h.

105  {
106  m_strPath = StringType(pszPath);
107  }
StringType m_strPath
Definition: atlpath.h:102

◆ CPathT() [2/3]

template<typename StringType>
ATL::CPathT< StringType >::CPathT ( const CPathT< StringType > &  path)
inline

Definition at line 109 of file atlpath.h.

110  {
111  m_strPath = path.m_strPath;
112  }
StringType m_strPath
Definition: atlpath.h:102

◆ CPathT() [3/3]

template<typename StringType>
ATL::CPathT< StringType >::CPathT ( )
throw (
)
inline

Definition at line 114 of file atlpath.h.

115  {
116  // do nothing, m_strPath initializes itself
117  }

Member Function Documentation

◆ AddBackslash()

template<typename StringType>
void ATL::CPathT< StringType >::AddBackslash ( )
inline

Definition at line 119 of file atlpath.h.

120  {
121  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
123  m_strPath.ReleaseBuffer();
124  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99
void PathAddBackslashX(LPSTR pszPath)
Definition: atlpath.h:54

◆ AddExtension()

template<typename StringType>
BOOL ATL::CPathT< StringType >::AddExtension ( PCXSTR  pszExtension)
inline

Definition at line 126 of file atlpath.h.

127  {
128  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
129  BOOL result = PathAddExtensionX(str, pszExtension);
130  m_strPath.ReleaseBuffer();
131  return result;
132  }
BOOL PathAddExtensionX(LPSTR pszPath, LPCSTR pszExt)
Definition: atlpath.h:56
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ Append()

template<typename StringType>
BOOL ATL::CPathT< StringType >::Append ( PCXSTR  pszMore)
inline

Definition at line 134 of file atlpath.h.

135  {
136  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
137  BOOL result = PathAppendX(str, pszMore);
138  m_strPath.ReleaseBuffer();
139  return result;
140  }
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99
BOOL PathAppendX(LPSTR pszPath, LPCSTR pszMore)
Definition: atlpath.h:58

Referenced by ATL::CPathT< StringType >::operator+=().

◆ BuildRoot()

template<typename StringType>
void ATL::CPathT< StringType >::BuildRoot ( int  iDrive)
inline

Definition at line 142 of file atlpath.h.

143  {
144  PXSTR str = m_strPath.GetBuffer(4);
145  PathBuildRootX(str, iDrive);
146  m_strPath.ReleaseBuffer();
147  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
void PathBuildRootX(LPSTR pszRoot, int iDrive)
Definition: atlpath.h:60
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ Canonicalize()

template<typename StringType>
void ATL::CPathT< StringType >::Canonicalize ( )
inline

Definition at line 149 of file atlpath.h.

150  {
151  StringType strTemp;
152  PXSTR str = strTemp.GetBuffer(MAX_PATH);
154  strTemp.ReleaseBuffer();
155  m_strPath = strTemp;
156  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
void PathCanonicalizeX(LPSTR pszDst, LPCSTR pszSrc)
Definition: atlpath.h:62
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ Combine()

template<typename StringType>
void ATL::CPathT< StringType >::Combine ( PCXSTR  pszDir,
PCXSTR  pszFile 
)
inline

Definition at line 158 of file atlpath.h.

159  {
160  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
161  PathCombineX(str, pszDir, pszFile);
162  m_strPath.ReleaseBuffer();
163  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
_In_ LPCSTR pszDir
Definition: shellapi.h:582
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99
void PathCombineX(LPSTR pszPathOut, LPCSTR pszPathIn, LPCSTR pszMore)
Definition: atlpath.h:64

◆ CommonPrefix()

template<typename StringType>
CPathT<StringType> ATL::CPathT< StringType >::CommonPrefix ( PCXSTR  pszOther)
inline

Definition at line 165 of file atlpath.h.

166  {
167  StringType result;
168  result.SetString(m_strPath, PathCommonPrefixX(m_strPath, pszOther, NULL));
169  return result;
170  }
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
#define NULL
Definition: types.h:112
CPathT< StringType > PathCommonPrefixX(LPCSTR pszFile1, LPCSTR pszFile2, LPSTR pszPath)
Definition: atlpath.h:66

◆ CompactPath()

template<typename StringType>
BOOL ATL::CPathT< StringType >::CompactPath ( HDC  hDC,
UINT  nWidth 
)
inline

Definition at line 172 of file atlpath.h.

173  {
174  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
175  BOOL result = PathCompactPathX(hDC, str, nWidth);
176  m_strPath.ReleaseBuffer();
177  return result;
178  }
GLuint64EXT * result
Definition: glext.h:11304
BOOL PathCompactPathX(HDC hDC, LPSTR pszPath, UINT dx)
Definition: atlpath.h:68
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
static HDC hDC
Definition: 3dtext.c:33
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ CompactPathEx()

template<typename StringType>
BOOL ATL::CPathT< StringType >::CompactPathEx ( UINT  nMaxChars,
DWORD  dwFlags = 0 
)
inline

Definition at line 180 of file atlpath.h.

181  {
182  StringType strTemp;
183  PXSTR str = strTemp.GetBuffer(nMaxChars);
185  strTemp.ReleaseBuffer();
186  m_strPath = strTemp;
187  return result;
188  }
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
BOOL PathCompactPathExX(LPSTR pszOut, LPCSTR pszSrc, UINT cchMax, DWORD dwFlags)
Definition: atlpath.h:70
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
StringType::PXSTR PXSTR
Definition: atlpath.h:99

Referenced by CMainWindow::OnInitMenuPopup().

◆ FileExists()

template<typename StringType>
BOOL ATL::CPathT< StringType >::FileExists ( ) const
inline

Definition at line 190 of file atlpath.h.

191  {
192  return PathFileExistsX(m_strPath);
193  }
StringType m_strPath
Definition: atlpath.h:102
BOOL PathFileExistsX(LPCSTR pszPath) const
Definition: atlpath.h:22

◆ FindExtension()

template<typename StringType>
int ATL::CPathT< StringType >::FindExtension ( ) const
inline

Definition at line 195 of file atlpath.h.

196  {
197  PCXSTR extension = PathFindExtensionX(m_strPath);
198  if (*extension == '\0')
199  return -1;
200 
201  PCXSTR str = m_strPath;
202  return (int)(extension - str);
203  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
StringType::PCXSTR PCXSTR
Definition: atlpath.h:98
LPCSTR PathFindExtensionX(LPCSTR pszPath) const
Definition: atlpath.h:24

◆ FindFileName()

template<typename StringType>
int ATL::CPathT< StringType >::FindFileName ( ) const
inline

Definition at line 205 of file atlpath.h.

206  {
208  if (*filename == '\0')
209  return -1;
210 
211  PCXSTR str = m_strPath;
212  return (int)(filename - str);
213  }
const char * filename
Definition: ioapi.h:135
LPCSTR PathFindFileNameX(LPCSTR pszPath) const
Definition: atlpath.h:26
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
StringType::PCXSTR PCXSTR
Definition: atlpath.h:98

◆ GetDriveNumber()

template<typename StringType>
int ATL::CPathT< StringType >::GetDriveNumber ( ) const
inline

Definition at line 215 of file atlpath.h.

216  {
218  }
StringType m_strPath
Definition: atlpath.h:102
int PathGetDriveNumberX(LPCSTR pszPath) const
Definition: atlpath.h:28

◆ GetExtension()

template<typename StringType>
StringType ATL::CPathT< StringType >::GetExtension ( ) const
inline

Definition at line 220 of file atlpath.h.

221  {
222  return StringType(PathFindExtensionX(m_strPath));
223  }
StringType m_strPath
Definition: atlpath.h:102
LPCSTR PathFindExtensionX(LPCSTR pszPath) const
Definition: atlpath.h:24

◆ IsDirectory()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsDirectory ( ) const
inline

Definition at line 225 of file atlpath.h.

226  {
227  return PathIsDirectoryX(m_strPath);
228  }
StringType m_strPath
Definition: atlpath.h:102
BOOL PathIsDirectoryX(LPCSTR pszPath) const
Definition: atlpath.h:30

◆ IsFileSpec()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsFileSpec ( ) const
inline

Definition at line 230 of file atlpath.h.

231  {
232  return PathIsFileSpecX(m_strPath);
233  }
BOOL PathIsFileSpecX(LPCSTR pszPath) const
Definition: atlpath.h:32
StringType m_strPath
Definition: atlpath.h:102

◆ IsPrefix()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsPrefix ( PCXSTR  pszPrefix) const
inline

Definition at line 235 of file atlpath.h.

236  {
237  return PathIsPrefixX(m_strPath);
238  }
StringType m_strPath
Definition: atlpath.h:102
BOOL PathIsPrefixX(LPCSTR pszPath, LPCSTR pszPrefix)
Definition: atlpath.h:34

◆ IsRelative()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsRelative ( ) const
inline

Definition at line 240 of file atlpath.h.

241  {
242  return PathIsRelativeX(m_strPath);
243  }
BOOL PathIsRelativeX(LPCSTR pszPath) const
Definition: atlpath.h:36
StringType m_strPath
Definition: atlpath.h:102

◆ IsRoot()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsRoot ( ) const
inline

Definition at line 245 of file atlpath.h.

246  {
247  return PathIsRootX(m_strPath);
248  }
BOOL PathIsRootX(LPCSTR pszPath) const
Definition: atlpath.h:38
StringType m_strPath
Definition: atlpath.h:102

◆ IsSameRoot()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsSameRoot ( PCXSTR  pszOther) const
inline

Definition at line 250 of file atlpath.h.

251  {
252  return PathIsSameRootX(m_strPath, pszOther);
253  }
BOOL PathIsSameRootX(LPCSTR pszPath, LPCSTR pszOther) const
Definition: atlpath.h:40
StringType m_strPath
Definition: atlpath.h:102

◆ IsUNC()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsUNC ( ) const
inline

Definition at line 255 of file atlpath.h.

256  {
257  return PathIsUNCX(m_strPath);
258  }
StringType m_strPath
Definition: atlpath.h:102
BOOL PathIsUNCX(LPCSTR pszPath)
Definition: atlpath.h:42

◆ IsUNCServer()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsUNCServer ( ) const
inline

Definition at line 260 of file atlpath.h.

261  {
262  return PathIsUNCServerX(m_strPath);
263  }
BOOL PathIsUNCServerX(LPCSTR pszPath)
Definition: atlpath.h:44
StringType m_strPath
Definition: atlpath.h:102

◆ IsUNCServerShare()

template<typename StringType>
BOOL ATL::CPathT< StringType >::IsUNCServerShare ( ) const
inline

Definition at line 265 of file atlpath.h.

266  {
268  }
StringType m_strPath
Definition: atlpath.h:102
BOOL PathIsUNCServerShareX(LPCSTR pszPath)
Definition: atlpath.h:46

◆ MakePretty()

template<typename StringType>
BOOL ATL::CPathT< StringType >::MakePretty ( )
inline

Definition at line 270 of file atlpath.h.

271  {
272  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
274  m_strPath.ReleaseBuffer();
275  return result;
276  }
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
BOOL PathMakePrettyX(LPSTR pszPath)
Definition: atlpath.h:72
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ MatchSpec()

template<typename StringType>
BOOL ATL::CPathT< StringType >::MatchSpec ( PCXSTR  pszSpec) const
inline

Definition at line 278 of file atlpath.h.

279  {
280  return PathMatchSpecX(m_strPath, pszSpec);
281  }
BOOL PathMatchSpecX(LPCSTR pszPath, LPCSTR pszSpec) const
Definition: atlpath.h:48
StringType m_strPath
Definition: atlpath.h:102

◆ operator const StringType &()

template<typename StringType>
ATL::CPathT< StringType >::operator const StringType & ( ) const
throw (
)
inline

Definition at line 370 of file atlpath.h.

371  {
372  return m_strPath;
373  }
StringType m_strPath
Definition: atlpath.h:102

◆ operator PCXSTR()

template<typename StringType>
ATL::CPathT< StringType >::operator PCXSTR ( ) const
throw (
)
inline

Definition at line 375 of file atlpath.h.

376  {
377  return m_strPath;
378  }
StringType m_strPath
Definition: atlpath.h:102

◆ operator StringType &()

template<typename StringType>
ATL::CPathT< StringType >::operator StringType & ( )
throw (
)
inline

Definition at line 380 of file atlpath.h.

381  {
382  return m_strPath;
383  }
StringType m_strPath
Definition: atlpath.h:102

◆ operator+=()

template<typename StringType>
CPathT<StringType>& ATL::CPathT< StringType >::operator+= ( PCXSTR  pszMore)
inline

Definition at line 385 of file atlpath.h.

386  {
387  Append(pszMore);
388  return *this;
389  }
BOOL Append(PCXSTR pszMore)
Definition: atlpath.h:134

◆ PathAddBackslashX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathAddBackslashX ( LPSTR  pszPath)
inlineprivate

Definition at line 54 of file atlpath.h.

54 { PathAddBackslashA(pszPath); }
LPSTR WINAPI PathAddBackslashA(LPSTR lpszPath)
Definition: path.c:263

Referenced by ATL::CPathT< StringType >::AddBackslash().

◆ PathAddBackslashX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathAddBackslashX ( LPWSTR  pszPath)
inlineprivate

Definition at line 55 of file atlpath.h.

55 { PathAddBackslashW(pszPath); }
LPWSTR WINAPI PathAddBackslashW(LPWSTR lpszPath)
Definition: path.c:294

◆ PathAddExtensionX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathAddExtensionX ( LPSTR  pszPath,
LPCSTR  pszExt 
)
inlineprivate

Definition at line 56 of file atlpath.h.

56 { return PathAddExtensionA(pszPath, pszExt); }
BOOL WINAPI PathAddExtensionA(LPSTR lpszPath, LPCSTR lpszExtension)
Definition: path.c:2614

Referenced by ATL::CPathT< StringType >::AddExtension().

◆ PathAddExtensionX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathAddExtensionX ( LPWSTR  pszPath,
LPCWSTR  pszExt 
)
inlineprivate

Definition at line 57 of file atlpath.h.

57 { return PathAddExtensionW(pszPath, pszExt); }
BOOL WINAPI PathAddExtensionW(LPWSTR lpszPath, LPCWSTR lpszExtension)
Definition: path.c:2637

◆ PathAppendX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathAppendX ( LPSTR  pszPath,
LPCSTR  pszMore 
)
inlineprivate

Definition at line 58 of file atlpath.h.

58 { return PathAppendA(pszPath, pszMore); }
BOOL WINAPI PathAppendA(LPSTR lpszPath, LPCSTR lpszAppend)
Definition: path.c:106

Referenced by ATL::CPathT< StringType >::Append().

◆ PathAppendX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathAppendX ( LPWSTR  pszPath,
LPCWSTR  pszMore 
)
inlineprivate

Definition at line 59 of file atlpath.h.

59 { return PathAppendW(pszPath, pszMore); }
BOOL WINAPI PathAppendW(LPWSTR lpszPath, LPCWSTR lpszAppend)
Definition: path.c:126

◆ PathBuildRootX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathBuildRootX ( LPSTR  pszRoot,
int  iDrive 
)
inlineprivate

Definition at line 60 of file atlpath.h.

60 { PathBuildRootA(pszRoot, iDrive); }
LPSTR WINAPI PathBuildRootA(LPSTR lpszPath, int drive)
Definition: path.c:329

Referenced by ATL::CPathT< StringType >::BuildRoot().

◆ PathBuildRootX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathBuildRootX ( LPWSTR  pszRoot,
int  iDrive 
)
inlineprivate

Definition at line 61 of file atlpath.h.

61 { PathBuildRootW(pszRoot, iDrive); }
LPWSTR WINAPI PathBuildRootW(LPWSTR lpszPath, int drive)
Definition: path.c:348

◆ PathCanonicalizeX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathCanonicalizeX ( LPSTR  pszDst,
LPCSTR  pszSrc 
)
inlineprivate

Definition at line 62 of file atlpath.h.

62 { PathCanonicalizeA(pszDst, pszSrc); }
BOOL WINAPI PathCanonicalizeA(LPSTR lpszBuf, LPCSTR lpszPath)
Definition: path.c:2412

Referenced by ATL::CPathT< StringType >::Canonicalize().

◆ PathCanonicalizeX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathCanonicalizeX ( LPWSTR  pszDst,
LPCWSTR  pszSrc 
)
inlineprivate

Definition at line 63 of file atlpath.h.

63 { PathCanonicalizeW(pszDst, pszSrc); }
BOOL WINAPI PathCanonicalizeW(LPWSTR lpszBuf, LPCWSTR lpszPath)
Definition: path.c:2445

◆ PathCombineX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathCombineX ( LPSTR  pszPathOut,
LPCSTR  pszPathIn,
LPCSTR  pszMore 
)
inlineprivate

Definition at line 64 of file atlpath.h.

64 { PathCombineA(pszPathOut, pszPathIn, pszMore); }
LPSTR WINAPI PathCombineA(LPSTR lpszDest, LPCSTR lpszDir, LPCSTR lpszFile)
Definition: path.c:159

Referenced by ATL::CPathT< StringType >::Combine().

◆ PathCombineX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathCombineX ( LPWSTR  pszPathOut,
LPCWSTR  pszPathIn,
LPCWSTR  pszMore 
)
inlineprivate

Definition at line 65 of file atlpath.h.

65 { PathCombineW(pszPathOut, pszPathIn, pszMore); }
LPWSTR WINAPI PathCombineW(LPWSTR lpszDest, LPCWSTR lpszDir, LPCWSTR lpszFile)
Definition: path.c:194

◆ PathCommonPrefixX() [1/2]

template<typename StringType>
CPathT<StringType> ATL::CPathT< StringType >::PathCommonPrefixX ( LPCSTR  pszFile1,
LPCSTR  pszFile2,
LPSTR  pszPath 
)
inlineprivate

Definition at line 66 of file atlpath.h.

66 { return PathCommonPrefixA(pszFile1, pszFile2, pszPath); }
int WINAPI PathCommonPrefixA(LPCSTR lpszFile1, LPCSTR lpszFile2, LPSTR achPath)
Definition: path.c:2750

Referenced by ATL::CPathT< StringType >::CommonPrefix().

◆ PathCommonPrefixX() [2/2]

template<typename StringType>
CPathT<StringType> ATL::CPathT< StringType >::PathCommonPrefixX ( LPCWSTR  pszFile1,
LPCWSTR  pszFile2,
LPWSTR  pszPath 
)
inlineprivate

Definition at line 67 of file atlpath.h.

67 { return PathCommonPrefixW(pszFile1, pszFile2, pszPath); }
int WINAPI PathCommonPrefixW(LPCWSTR lpszFile1, LPCWSTR lpszFile2, LPWSTR achPath)
Definition: path.c:2805

◆ PathCompactPathExX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathCompactPathExX ( LPSTR  pszOut,
LPCSTR  pszSrc,
UINT  cchMax,
DWORD  dwFlags 
)
inlineprivate

Definition at line 70 of file atlpath.h.

70 { return PathCompactPathExA(pszOut, pszSrc, cchMax, dwFlags); }
BOOL WINAPI PathCompactPathExA(LPSTR lpszDest, LPCSTR lpszPath, UINT cchMax, DWORD dwFlags)
Definition: path.c:1434
UINT cchMax
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175

Referenced by ATL::CPathT< StringType >::CompactPathEx().

◆ PathCompactPathExX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathCompactPathExX ( LPWSTR  pszOut,
LPCWSTR  pszSrc,
UINT  cchMax,
DWORD  dwFlags 
)
inlineprivate

Definition at line 71 of file atlpath.h.

71 { return PathCompactPathExW(pszOut, pszSrc, cchMax, dwFlags); }
UINT cchMax
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
BOOL WINAPI PathCompactPathExW(LPWSTR lpszDest, LPCWSTR lpszPath, UINT cchMax, DWORD dwFlags)
Definition: path.c:1459

◆ PathCompactPathX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathCompactPathX ( HDC  hDC,
LPSTR  pszPath,
UINT  dx 
)
inlineprivate

Definition at line 68 of file atlpath.h.

68 { return PathCompactPathA(hDC, pszPath, dx); }
static HDC hDC
Definition: 3dtext.c:33
BOOL WINAPI PathCompactPathA(HDC hDC, LPSTR lpszPath, UINT dx)
Definition: path.c:2869
GLint dx
Definition: linetemp.h:97

Referenced by ATL::CPathT< StringType >::CompactPath().

◆ PathCompactPathX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathCompactPathX ( HDC  hDC,
LPWSTR  pszPath,
UINT  dx 
)
inlineprivate

Definition at line 69 of file atlpath.h.

69 { return PathCompactPathW(hDC, pszPath, dx); }
BOOL WINAPI PathCompactPathW(HDC hDC, LPWSTR lpszPath, UINT dx)
Definition: path.c:2890
static HDC hDC
Definition: 3dtext.c:33
GLint dx
Definition: linetemp.h:97

◆ PathFileExistsX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathFileExistsX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 22 of file atlpath.h.

22 { return PathFileExistsA(pszPath); }
BOOL WINAPI PathFileExistsA(LPCSTR lpszPath)
Definition: path.c:1754

Referenced by ATL::CPathT< StringType >::FileExists().

◆ PathFileExistsX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathFileExistsX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 23 of file atlpath.h.

23 { return PathFileExistsW(pszPath); }
BOOL WINAPI PathFileExistsW(LPCWSTR lpszPath)
Definition: path.c:1776

◆ PathFindExtensionX() [1/2]

template<typename StringType>
LPCSTR ATL::CPathT< StringType >::PathFindExtensionX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 24 of file atlpath.h.

24 { return PathFindExtensionA(pszPath); }
LPSTR WINAPI PathFindExtensionA(LPCSTR lpszPath)
Definition: path.c:422

Referenced by ATL::CPathT< StringType >::FindExtension(), and ATL::CPathT< StringType >::GetExtension().

◆ PathFindExtensionX() [2/2]

template<typename StringType>
LPCWSTR ATL::CPathT< StringType >::PathFindExtensionX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 25 of file atlpath.h.

25 { return PathFindExtensionW(pszPath); }
LPWSTR WINAPI PathFindExtensionW(LPCWSTR lpszPath)
Definition: path.c:447

◆ PathFindFileNameX() [1/2]

template<typename StringType>
LPCSTR ATL::CPathT< StringType >::PathFindFileNameX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 26 of file atlpath.h.

26 { return PathFindFileNameA(pszPath); }
LPSTR WINAPI PathFindFileNameA(LPCSTR lpszPath)
Definition: path.c:373

Referenced by ATL::CPathT< StringType >::FindFileName().

◆ PathFindFileNameX() [2/2]

template<typename StringType>
LPCWSTR ATL::CPathT< StringType >::PathFindFileNameX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 27 of file atlpath.h.

27 { return PathFindFileNameW(pszPath); }
LPWSTR WINAPI PathFindFileNameW(LPCWSTR lpszPath)
Definition: path.c:394

◆ PathGetDriveNumberX() [1/2]

template<typename StringType>
int ATL::CPathT< StringType >::PathGetDriveNumberX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 28 of file atlpath.h.

28 { return PathGetDriveNumberA(pszPath); }
int WINAPI PathGetDriveNumberA(LPCSTR lpszPath)
Definition: path.c:538

Referenced by ATL::CPathT< StringType >::GetDriveNumber().

◆ PathGetDriveNumberX() [2/2]

template<typename StringType>
int ATL::CPathT< StringType >::PathGetDriveNumberX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 29 of file atlpath.h.

29 { return PathGetDriveNumberW(pszPath); }
int WINAPI PathGetDriveNumberW(const WCHAR *path)
Definition: path.c:553

◆ PathIsDirectoryX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsDirectoryX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 30 of file atlpath.h.

30 { return PathIsDirectoryA(pszPath); }
BOOL WINAPI PathIsDirectoryA(LPCSTR lpszPath)
Definition: path.c:1697

Referenced by ATL::CPathT< StringType >::IsDirectory().

◆ PathIsDirectoryX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsDirectoryX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 31 of file atlpath.h.

31 { return PathIsDirectoryW(pszPath); }
BOOL WINAPI PathIsDirectoryW(LPCWSTR lpszPath)
Definition: path.c:1722

◆ PathIsFileSpecX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsFileSpecX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 32 of file atlpath.h.

32 { return PathIsFileSpecA(pszPath); }
BOOL WINAPI PathIsFileSpecA(LPCSTR lpszPath)
Definition: path.c:2111

Referenced by ATL::CPathT< StringType >::IsFileSpec().

◆ PathIsFileSpecX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsFileSpecX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 33 of file atlpath.h.

33 { return PathIsFileSpecW(pszPath); }
BOOL WINAPI PathIsFileSpecW(LPCWSTR lpszPath)
Definition: path.c:2132

◆ PathIsPrefixX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsPrefixX ( LPCSTR  pszPath,
LPCSTR  pszPrefix 
)
inlineprivate

Definition at line 34 of file atlpath.h.

34 { return PathIsPrefixA(pszPath, pszPrefix); }
BOOL WINAPI PathIsPrefixA(LPCSTR lpszPrefix, LPCSTR lpszPath)
Definition: path.c:2161

Referenced by ATL::CPathT< StringType >::IsPrefix().

◆ PathIsPrefixX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsPrefixX ( LPCWSTR  pszPath,
LPCWSTR  pszPrefix 
)
inlineprivate

Definition at line 35 of file atlpath.h.

35 { return PathIsPrefixW(pszPath, pszPrefix); }
BOOL WINAPI PathIsPrefixW(LPCWSTR lpszPrefix, LPCWSTR lpszPath)
Definition: path.c:2176

◆ PathIsRelativeX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsRelativeX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 36 of file atlpath.h.

36 { return PathIsRelativeA(pszPath); }
BOOL WINAPI PathIsRelativeA(LPCSTR lpszPath)
Definition: path.c:1562

Referenced by ATL::CPathT< StringType >::IsRelative().

◆ PathIsRelativeX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsRelativeX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 37 of file atlpath.h.

37 { return PathIsRelativeW(pszPath); }
BOOL WINAPI PathIsRelativeW(LPCWSTR lpszPath)
Definition: path.c:1578

◆ PathIsRootX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsRootX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 38 of file atlpath.h.

38 { return PathIsRootA(pszPath); }
BOOL WINAPI PathIsRootA(LPCSTR lpszPath)
Definition: path.c:1601

Referenced by ATL::CPathT< StringType >::IsRoot().

◆ PathIsRootX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsRootX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 39 of file atlpath.h.

39 { return PathIsRootW(pszPath); }
BOOL WINAPI PathIsRootW(LPCWSTR lpszPath)
Definition: path.c:1641

◆ PathIsSameRootX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsSameRootX ( LPCSTR  pszPath,
LPCSTR  pszOther 
) const
inlineprivate

Definition at line 40 of file atlpath.h.

40 { return PathIsSameRootA(pszPath, pszOther); }
BOOL WINAPI PathIsSameRootA(LPCSTR lpszPath1, LPCSTR lpszPath2)
Definition: path.c:2002

Referenced by ATL::CPathT< StringType >::IsSameRoot().

◆ PathIsSameRootX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsSameRootX ( LPCWSTR  pszPath,
LPCWSTR  pszOther 
) const
inlineprivate

Definition at line 41 of file atlpath.h.

41 { return PathIsSameRootW(pszPath, pszOther); }
BOOL WINAPI PathIsSameRootW(LPCWSTR lpszPath1, LPCWSTR lpszPath2)
Definition: path.c:2023

◆ PathIsUNCServerShareX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsUNCServerShareX ( LPCSTR  pszPath)
inlineprivate

Definition at line 46 of file atlpath.h.

46 { return PathIsUNCServerShareA(pszPath); }
BOOL WINAPI PathIsUNCServerShareA(LPCSTR lpszPath)
Definition: path.c:2350

Referenced by ATL::CPathT< StringType >::IsUNCServerShare().

◆ PathIsUNCServerShareX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsUNCServerShareX ( LPCWSTR  pszPath)
inlineprivate

Definition at line 47 of file atlpath.h.

47 { return PathIsUNCServerShareW(pszPath); }
BOOL WINAPI PathIsUNCServerShareW(LPCWSTR lpszPath)
Definition: path.c:2377

◆ PathIsUNCServerX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsUNCServerX ( LPCSTR  pszPath)
inlineprivate

Definition at line 44 of file atlpath.h.

44 { return PathIsUNCServerA(pszPath); }
BOOL WINAPI PathIsUNCServerA(LPCSTR lpszPath)
Definition: path.c:2300

Referenced by ATL::CPathT< StringType >::IsUNCServer().

◆ PathIsUNCServerX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsUNCServerX ( LPCWSTR  pszPath)
inlineprivate

Definition at line 45 of file atlpath.h.

45 { return PathIsUNCServerW(pszPath); }
BOOL WINAPI PathIsUNCServerW(LPCWSTR lpszPath)
Definition: path.c:2322

◆ PathIsUNCX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsUNCX ( LPCSTR  pszPath)
inlineprivate

Definition at line 42 of file atlpath.h.

42 { return PathIsUNCA(pszPath); }
BOOL WINAPI PathIsUNCA(LPCSTR lpszPath)
Definition: path.c:2242

Referenced by ATL::CPathT< StringType >::IsUNC().

◆ PathIsUNCX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathIsUNCX ( LPCWSTR  pszPath)
inlineprivate

Definition at line 43 of file atlpath.h.

43 { return PathIsUNCW(pszPath); }
BOOL WINAPI PathIsUNCW(LPCWSTR lpszPath)
Definition: path.c:2265

◆ PathMakePrettyX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathMakePrettyX ( LPSTR  pszPath)
inlineprivate

Definition at line 72 of file atlpath.h.

72 { return PathMakePrettyA(pszPath); }
BOOL WINAPI PathMakePrettyA(LPSTR lpszPath)
Definition: path.c:2667

Referenced by ATL::CPathT< StringType >::MakePretty().

◆ PathMakePrettyX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathMakePrettyX ( LPWSTR  pszPath)
inlineprivate

Definition at line 73 of file atlpath.h.

73 { return PathMakePrettyW(pszPath); }
BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath)
Definition: path.c:2699

◆ PathMatchSpecX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathMatchSpecX ( LPCSTR  pszPath,
LPCSTR  pszSpec 
) const
inlineprivate

Definition at line 48 of file atlpath.h.

48 { return PathMatchSpecA(pszPath, pszSpec); }
BOOL WINAPI PathMatchSpecA(LPCSTR lpszPath, LPCSTR lpszMask)
Definition: path.c:1934

Referenced by ATL::CPathT< StringType >::MatchSpec().

◆ PathMatchSpecX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathMatchSpecX ( LPCWSTR  pszPath,
LPCWSTR  pszSpec 
) const
inlineprivate

Definition at line 49 of file atlpath.h.

49 { return PathMatchSpecW(pszPath, pszSpec); }
BOOL WINAPI PathMatchSpecW(LPCWSTR lpszPath, LPCWSTR lpszMask)
Definition: path.c:1963

◆ PathQuoteSpacesX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathQuoteSpacesX ( LPSTR  pszPath)
inlineprivate

Definition at line 74 of file atlpath.h.

74 { PathQuoteSpacesA(pszPath); }
VOID WINAPI PathQuoteSpacesA(LPSTR lpszPath)
Definition: path.c:955

Referenced by ATL::CPathT< StringType >::QuoteSpaces().

◆ PathQuoteSpacesX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathQuoteSpacesX ( LPWSTR  pszPath)
inlineprivate

Definition at line 75 of file atlpath.h.

75 { PathQuoteSpacesW(pszPath); }
VOID WINAPI PathQuoteSpacesW(LPWSTR lpszPath)
Definition: path.c:978

◆ PathRelativePathToX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathRelativePathToX ( LPSTR  pszPath,
LPCSTR  pszFrom,
DWORD  dwAttrFrom,
LPCSTR  pszTo,
DWORD  dwAttrTo 
)
inlineprivate

Definition at line 76 of file atlpath.h.

76 { return PathRelativePathToA(pszPath, pszFrom, dwAttrFrom, pszTo, dwAttrTo); }
BOOL WINAPI PathRelativePathToA(LPSTR lpszPath, LPCSTR lpszFrom, DWORD dwAttrFrom, LPCSTR lpszTo, DWORD dwAttrTo)
Definition: path.c:3545

Referenced by ATL::CPathT< StringType >::RelativePathTo().

◆ PathRelativePathToX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathRelativePathToX ( LPWSTR  pszPath,
LPCWSTR  pszFrom,
DWORD  dwAttrFrom,
LPCWSTR  pszTo,
DWORD  dwAttrTo 
)
inlineprivate

Definition at line 77 of file atlpath.h.

77 { return PathRelativePathToW(pszPath, pszFrom, dwAttrFrom, pszTo, dwAttrTo); }
BOOL WINAPI PathRelativePathToW(LPWSTR lpszPath, LPCWSTR lpszFrom, DWORD dwAttrFrom, LPCWSTR lpszTo, DWORD dwAttrTo)
Definition: path.c:3571

◆ PathRemoveArgsX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveArgsX ( LPSTR  pszPath)
inlineprivate

Definition at line 78 of file atlpath.h.

78 { PathRemoveArgsA(pszPath); }
void WINAPI PathRemoveArgsA(LPSTR lpszPath)
Definition: path.c:756

Referenced by ATL::CPathT< StringType >::RemoveArgs().

◆ PathRemoveArgsX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveArgsX ( LPWSTR  pszPath)
inlineprivate

Definition at line 79 of file atlpath.h.

79 { PathRemoveArgsW(pszPath); }
void WINAPI PathRemoveArgsW(LPWSTR lpszPath)
Definition: path.c:779

◆ PathRemoveBackslashX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveBackslashX ( LPSTR  pszPath)
inlineprivate

Definition at line 80 of file atlpath.h.

80 { PathRemoveBackslashA(pszPath); }
LPSTR WINAPI PathRemoveBackslashA(LPSTR lpszPath)
Definition: path.c:847

Referenced by ATL::CPathT< StringType >::RemoveBackslash().

◆ PathRemoveBackslashX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveBackslashX ( LPWSTR  pszPath)
inlineprivate

Definition at line 81 of file atlpath.h.

81 { PathRemoveBackslashW(pszPath); }
LPWSTR WINAPI PathRemoveBackslashW(LPWSTR lpszPath)
Definition: path.c:867

◆ PathRemoveBlanksX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveBlanksX ( LPSTR  pszPath)
inlineprivate

Definition at line 82 of file atlpath.h.

82 { PathRemoveBlanksA(pszPath); }
VOID WINAPI PathRemoveBlanksA(LPSTR lpszPath)
Definition: path.c:894

Referenced by ATL::CPathT< StringType >::RemoveBlanks().

◆ PathRemoveBlanksX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveBlanksX ( LPWSTR  pszPath)
inlineprivate

Definition at line 83 of file atlpath.h.

83 { PathRemoveBlanksW(pszPath); }
VOID WINAPI PathRemoveBlanksW(LPWSTR lpszPath)
Definition: path.c:920

◆ PathRemoveExtensionX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveExtensionX ( LPSTR  pszPath)
inlineprivate

Definition at line 84 of file atlpath.h.

84 { PathRemoveExtensionA(pszPath); }
void WINAPI PathRemoveExtensionA(LPSTR lpszPath)
Definition: path.c:806

Referenced by ATL::CPathT< StringType >::RemoveExtension().

◆ PathRemoveExtensionX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathRemoveExtensionX ( LPWSTR  pszPath)
inlineprivate

Definition at line 85 of file atlpath.h.

85 { PathRemoveExtensionW(pszPath); }
void WINAPI PathRemoveExtensionW(LPWSTR lpszPath)
Definition: path.c:823

◆ PathRemoveFileSpecX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathRemoveFileSpecX ( LPSTR  pszPath)
inlineprivate

Definition at line 86 of file atlpath.h.

86 { return PathRemoveFileSpecA(pszPath); }
BOOL WINAPI PathRemoveFileSpecA(LPSTR lpszPath)
Definition: path.c:586

Referenced by ATL::CPathT< StringType >::RemoveFileSpec().

◆ PathRemoveFileSpecX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathRemoveFileSpecX ( LPWSTR  pszPath)
inlineprivate

Definition at line 87 of file atlpath.h.

87 { return PathRemoveFileSpecW(pszPath); }
BOOL WINAPI PathRemoveFileSpecW(LPWSTR lpszPath)
Definition: path.c:629

◆ PathRenameExtensionX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathRenameExtensionX ( LPSTR  pszPath,
LPCSTR  pszExt 
)
inlineprivate

Definition at line 88 of file atlpath.h.

88 { return PathRenameExtensionA(pszPath, pszExt); }
BOOL WINAPI PathRenameExtensionA(LPSTR lpszPath, LPCSTR lpszExt)
Definition: path.c:3163

Referenced by ATL::CPathT< StringType >::RenameExtension().

◆ PathRenameExtensionX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathRenameExtensionX ( LPWSTR  pszPath,
LPCWSTR  pszExt 
)
inlineprivate

Definition at line 89 of file atlpath.h.

89 { return PathRenameExtensionW(pszPath, pszExt); }
BOOL WINAPI PathRenameExtensionW(LPWSTR lpszPath, LPCWSTR lpszExt)
Definition: path.c:3183

◆ PathSkipRootX() [1/2]

template<typename StringType>
LPCSTR ATL::CPathT< StringType >::PathSkipRootX ( LPCSTR  pszPath) const
inlineprivate

Definition at line 50 of file atlpath.h.

50 { return PathSkipRootA(pszPath); }
LPSTR WINAPI PathSkipRootA(LPCSTR lpszPath)
Definition: path.c:3246

Referenced by ATL::CPathT< StringType >::SkipRoot().

◆ PathSkipRootX() [2/2]

template<typename StringType>
LPCWSTR ATL::CPathT< StringType >::PathSkipRootX ( LPCWSTR  pszPath) const
inlineprivate

Definition at line 51 of file atlpath.h.

51 { return PathSkipRootW(pszPath); }
LPWSTR WINAPI PathSkipRootW(LPCWSTR lpszPath)
Definition: path.c:3277

◆ PathStripPathX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathStripPathX ( LPSTR  pszPath)
inlineprivate

Definition at line 90 of file atlpath.h.

90 { PathStripPathA(pszPath); }
void WINAPI PathStripPathA(LPSTR lpszPath)
Definition: path.c:677

Referenced by ATL::CPathT< StringType >::StripPath().

◆ PathStripPathX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathStripPathX ( LPWSTR  pszPath)
inlineprivate

Definition at line 91 of file atlpath.h.

91 { PathStripPathW(pszPath); }
void WINAPI PathStripPathW(LPWSTR lpszPath)
Definition: path.c:694

◆ PathStripToRootX() [1/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathStripToRootX ( LPSTR  pszPath)
inlineprivate

Definition at line 92 of file atlpath.h.

92 { return PathStripToRootA(pszPath); }
BOOL WINAPI PathStripToRootA(LPSTR lpszPath)
Definition: path.c:716

Referenced by ATL::CPathT< StringType >::StripToRoot().

◆ PathStripToRootX() [2/2]

template<typename StringType>
BOOL ATL::CPathT< StringType >::PathStripToRootX ( LPWSTR  pszPath)
inlineprivate

Definition at line 93 of file atlpath.h.

93 { return PathStripToRootW(pszPath); }
BOOL WINAPI PathStripToRootW(LPWSTR lpszPath)
Definition: path.c:733

◆ PathUnquoteSpacesX() [1/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathUnquoteSpacesX ( LPSTR  pszPath)
inlineprivate

Definition at line 94 of file atlpath.h.

94 { PathUnquoteSpacesA(pszPath); }
VOID WINAPI PathUnquoteSpacesA(LPSTR lpszPath)
Definition: path.c:1012

Referenced by ATL::CPathT< StringType >::UnquoteSpaces().

◆ PathUnquoteSpacesX() [2/2]

template<typename StringType>
void ATL::CPathT< StringType >::PathUnquoteSpacesX ( LPWSTR  pszPath)
inlineprivate

Definition at line 95 of file atlpath.h.

95 { PathUnquoteSpacesW(pszPath); }
VOID WINAPI PathUnquoteSpacesW(LPWSTR lpszPath)
Definition: path.c:1034

◆ QuoteSpaces()

template<typename StringType>
void ATL::CPathT< StringType >::QuoteSpaces ( )
inline

Definition at line 283 of file atlpath.h.

284  {
285  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
287  m_strPath.ReleaseBuffer();
288  }
void PathQuoteSpacesX(LPSTR pszPath)
Definition: atlpath.h:74
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RelativePathTo()

template<typename StringType>
BOOL ATL::CPathT< StringType >::RelativePathTo ( PCXSTR  pszFrom,
DWORD  dwAttrFrom,
PCXSTR  pszTo,
DWORD  dwAttrTo 
)
inline

Definition at line 290 of file atlpath.h.

291  {
292  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
293  BOOL result = PathRelativePathToX(str, pszFrom, dwAttrFrom, pszTo, dwAttrTo);
294  m_strPath.ReleaseBuffer();
295  return result;
296  }
BOOL PathRelativePathToX(LPSTR pszPath, LPCSTR pszFrom, DWORD dwAttrFrom, LPCSTR pszTo, DWORD dwAttrTo)
Definition: atlpath.h:76
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RemoveArgs()

template<typename StringType>
void ATL::CPathT< StringType >::RemoveArgs ( )
inline

Definition at line 298 of file atlpath.h.

299  {
300  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
302  m_strPath.ReleaseBuffer();
303  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
void PathRemoveArgsX(LPSTR pszPath)
Definition: atlpath.h:78
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RemoveBackslash()

template<typename StringType>
void ATL::CPathT< StringType >::RemoveBackslash ( )
inline

Definition at line 305 of file atlpath.h.

306  {
307  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
309  m_strPath.ReleaseBuffer();
310  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
void PathRemoveBackslashX(LPSTR pszPath)
Definition: atlpath.h:80
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RemoveBlanks()

template<typename StringType>
void ATL::CPathT< StringType >::RemoveBlanks ( )
inline

Definition at line 312 of file atlpath.h.

313  {
314  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
316  m_strPath.ReleaseBuffer();
317  }
void PathRemoveBlanksX(LPSTR pszPath)
Definition: atlpath.h:82
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RemoveExtension()

template<typename StringType>
void ATL::CPathT< StringType >::RemoveExtension ( )
inline

Definition at line 319 of file atlpath.h.

320  {
321  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
323  m_strPath.ReleaseBuffer();
324  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
void PathRemoveExtensionX(LPSTR pszPath)
Definition: atlpath.h:84
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RemoveFileSpec()

template<typename StringType>
BOOL ATL::CPathT< StringType >::RemoveFileSpec ( )
inline

Definition at line 326 of file atlpath.h.

327  {
328  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
330  m_strPath.ReleaseBuffer();
331  return result;
332  }
BOOL PathRemoveFileSpecX(LPSTR pszPath)
Definition: atlpath.h:86
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ RenameExtension()

template<typename StringType>
BOOL ATL::CPathT< StringType >::RenameExtension ( PCXSTR  pszExtension)
inline

Definition at line 334 of file atlpath.h.

335  {
336  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
337  BOOL result = PathRenameExtensionX(str, pszExtension);
338  m_strPath.ReleaseBuffer();
339  return result;
340  }
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
BOOL PathRenameExtensionX(LPSTR pszPath, LPCSTR pszExt)
Definition: atlpath.h:88
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ SkipRoot()

template<typename StringType>
int ATL::CPathT< StringType >::SkipRoot ( ) const
inline

Definition at line 342 of file atlpath.h.

343  {
344  PCXSTR str = m_strPath;
345  return (int)(PathSkipRootX(m_strPath) - str);
346  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
StringType::PCXSTR PCXSTR
Definition: atlpath.h:98
LPCSTR PathSkipRootX(LPCSTR pszPath) const
Definition: atlpath.h:50

◆ StripPath()

template<typename StringType>
void ATL::CPathT< StringType >::StripPath ( )
inline

Definition at line 348 of file atlpath.h.

349  {
350  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
352  m_strPath.ReleaseBuffer();
353  }
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99
void PathStripPathX(LPSTR pszPath)
Definition: atlpath.h:90

Referenced by _tWinMain().

◆ StripToRoot()

template<typename StringType>
BOOL ATL::CPathT< StringType >::StripToRoot ( )
inline

Definition at line 355 of file atlpath.h.

356  {
357  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
359  m_strPath.ReleaseBuffer();
360  return result;
361  }
GLuint64EXT * result
Definition: glext.h:11304
StringType m_strPath
Definition: atlpath.h:102
unsigned int BOOL
Definition: ntddk_ex.h:94
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
BOOL PathStripToRootX(LPSTR pszPath)
Definition: atlpath.h:92
StringType::PXSTR PXSTR
Definition: atlpath.h:99

◆ UnquoteSpaces()

template<typename StringType>
void ATL::CPathT< StringType >::UnquoteSpaces ( )
inline

Definition at line 363 of file atlpath.h.

364  {
365  PXSTR str = m_strPath.GetBuffer(MAX_PATH);
367  m_strPath.ReleaseBuffer();
368  }
void PathUnquoteSpacesX(LPSTR pszPath)
Definition: atlpath.h:94
StringType m_strPath
Definition: atlpath.h:102
const WCHAR * str
#define MAX_PATH
Definition: compat.h:34
StringType::PXSTR PXSTR
Definition: atlpath.h:99

Member Data Documentation

◆ m_strPath

template<typename StringType>
StringType ATL::CPathT< StringType >::m_strPath

Definition at line 102 of file atlpath.h.

Referenced by ATL::CPathT< StringType >::AddBackslash(), ATL::CPathT< StringType >::AddExtension(), ATL::CPathT< StringType >::Append(), ATL::CPathT< StringType >::BuildRoot(), ATL::CPathT< StringType >::Canonicalize(), ATL::CPathT< StringType >::Combine(), ATL::CPathT< StringType >::CommonPrefix(), ATL::CPathT< StringType >::CompactPath(), ATL::CPathT< StringType >::CompactPathEx(), ATL::CPathT< StringType >::CPathT(), ATL::CPathT< StringType >::FileExists(), ATL::CPathT< StringType >::FindExtension(), ATL::CPathT< StringType >::FindFileName(), ATL::CPathT< StringType >::GetDriveNumber(), ATL::CPathT< StringType >::GetExtension(), ATL::CPathT< StringType >::IsDirectory(), ATL::CPathT< StringType >::IsFileSpec(), ATL::CPathT< StringType >::IsPrefix(), ATL::CPathT< StringType >::IsRelative(), ATL::CPathT< StringType >::IsRoot(), ATL::CPathT< StringType >::IsSameRoot(), ATL::CPathT< StringType >::IsUNC(), ATL::CPathT< StringType >::IsUNCServer(), ATL::CPathT< StringType >::IsUNCServerShare(), ATL::CPathT< StringType >::MakePretty(), ATL::CPathT< StringType >::MatchSpec(), ATL::CPathT< StringType >::operator const StringType &(), ATL::CPathT< StringType >::operator PCXSTR(), ATL::CPathT< StringType >::operator StringType &(), ATL::CPathT< StringType >::QuoteSpaces(), ATL::CPathT< StringType >::RelativePathTo(), ATL::CPathT< StringType >::RemoveArgs(), ATL::CPathT< StringType >::RemoveBackslash(), ATL::CPathT< StringType >::RemoveBlanks(), ATL::CPathT< StringType >::RemoveExtension(), ATL::CPathT< StringType >::RemoveFileSpec(), ATL::CPathT< StringType >::RenameExtension(), ATL::CPathT< StringType >::SkipRoot(), ATL::CPathT< StringType >::StripPath(), ATL::CPathT< StringType >::StripToRoot(), and ATL::CPathT< StringType >::UnquoteSpaces().


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