Nota
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
ATL proporciona la clase ATLPath para manipular rutas de acceso en forma de CPathT. Este código puede encontrarse en atlpath.h.
Clases relacionadas
Clase | Descripción |
---|---|
CPathT (clase) | Esta clase representa una ruta de acceso. |
Definiciones de tipos relacionadas
Definición de tipo | Descripción |
---|---|
CPath |
Especialización de CPathT mediante CString . |
CPathA |
Especialización de CPathT mediante CStringA . |
CPathW |
Especialización de CPathT mediante CStringW . |
Funciones
Función | Descripción |
---|---|
ATLPath::AddBackslash | Esta función es un contenedor sobrecargado de PathAddBackslash. |
ATLPath::AddExtension | Esta función es un contenedor sobrecargado de PathAddExtension. |
ATLPath::Append | Esta función es un contenedor sobrecargado de PathAppend. |
ATLPath::BuildRoot | Esta función es un contenedor sobrecargado de PathBuildRoot. |
ATLPath::Canonicalize | Esta función es un contenedor sobrecargado de PathCanonicalize. |
ATLPath::Combine | Esta función es un contenedor sobrecargado de PathCombine. |
ATLPath::CommonPrefix | Esta función es un contenedor sobrecargado de PathCommonPrefix. |
ATLPath::CompactPath | Esta función es un contenedor sobrecargado de PathCompactPath. |
ATLPath::CompactPathEx | Esta función es un contenedor sobrecargado de PathCompactPathEx. |
ATLPath::FileExists | Esta función es un contenedor sobrecargado de PathFileExists. |
ATLPath::FindExtension | Esta función es un contenedor sobrecargado de PathFindExtension. |
ATLPath::FindFileName | Esta función es un contenedor sobrecargado de PathFindFileName. |
ATLPath::GetDriveNumber | Esta función es un contenedor sobrecargado de PathGetDriveNumber. |
ATLPath::IsDirectory | Esta función es un contenedor sobrecargado de PathIsDirectory. |
ATLPath::IsFileSpec | Esta función es un contenedor sobrecargado de PathIsFileSpec. |
ATLPath::IsPrefix | Esta función es un contenedor sobrecargado de PathIsPrefix. |
ATLPath::IsRelative | Esta función es un contenedor sobrecargado de PathIsRelative. |
ATLPath::IsRoot | Esta función es un contenedor sobrecargado de PathIsRoot. |
ATLPath::IsSameRoot | Esta función es un contenedor sobrecargado de PathIsSameRoot. |
ATLPath::IsUNC | Esta función es un contenedor sobrecargado de PathIsUNC. |
ATLPath::IsUNCServer | Esta función es un contenedor sobrecargado de PathIsUNCServer. |
ATLPath::IsUNCServerShare | Esta función es un contenedor sobrecargado de PathIsUNCServerShare. |
ATLPath::MakePretty | Esta función es un contenedor sobrecargado de PathMakePretty. |
ATLPath::MatchSpec | Esta función es un contenedor sobrecargado de PathMatchSpec. |
ATLPath::QuoteSpaces | Esta función es un contenedor sobrecargado de PathQuoteSpaces. |
ATLPath::RelativePathTo | Esta función es un contenedor sobrecargado de PathRelativePathTo. |
ATLPath::RemoveArgs | Esta función es un contenedor sobrecargado de PathRemoveArgs. |
ATLPath::RemoveBackslash | Esta función es un contenedor sobrecargado de PathRemoveBackslash. |
ATLPath::RemoveBlanks | Esta función es un contenedor sobrecargado de PathRemoveBlanks. |
ATLPath::RemoveExtension | Esta función es un contenedor sobrecargado de PathRemoveExtension. |
ATLPath::RemoveFileSpec | Esta función es un contenedor sobrecargado de PathRemoveFileSpec. |
ATLPath::RenameExtension | Esta función es un contenedor sobrecargado de PathRenameExtension. |
ATLPath::SkipRoot | Esta función es un contenedor sobrecargado de PathSkipRoot. |
ATLPath::StripPath | Esta función es un contenedor sobrecargado de PathStripPath. |
ATLPath::StripToRoot | Esta función es un contenedor sobrecargado de PathStripToRoot. |
ATLPath::UnquoteSpaces | Esta función es un contenedor sobrecargado de PathUnquoteSpaces. |
Requisitos
Encabezado: atlpath.h
ATLPath::AddBackSlash
Esta función es un contenedor sobrecargado de PathAddBackslash.
Sintaxis
inline char* AddBackslash(char* pszPath);
inline wchar_t* AddBackslash(wchar_t* pszPath);
Comentarios
Consulte PathAddBackslash para más información.
ATLPath::AddExtension
Esta función es un contenedor sobrecargado de PathAddExtension.
Sintaxis
inline BOOL AddExtension(char* pszPath, const char* pszExtension);
inline BOOL AddExtension(wchar_t* pszPath, const wchar_t* pszExtension);
Comentarios
Consulte PathAddExtension para más información.
ATLPath::Append
Esta función es un contenedor sobrecargado de PathAppend.
Sintaxis
inline BOOL Append(char* pszPath, const char* pszMore);
inline BOOL Append(wchar_t* pszPath, const wchar_t* pszMore);
Comentarios
Consulte PathAddExtension para más información.
ATLPath::BuildRoot
Esta función es un contenedor sobrecargado de PathBuildRoot.
Sintaxis
inline char* BuildRoot(char* pszPath, int iDrive);
inline wchar_t* BuildRoot(wchar_t* pszPath, int iDrive);
Comentarios
Consulte PathBuildRoot para más información.
ATLPath::Canonicalize
Esta función es un contenedor sobrecargado de PathCanonicalize.
Sintaxis
inline BOOL Canonicalize(char* pszDest, const char* pszSrc);
inline BOOL Canonicalize(wchar_t* pszDest, const wchar_t* pszSrc);
Comentarios
Consulte PathCanonicalize para más información.
ATLPath::Combine
Esta función es un contenedor sobrecargado de PathCombine.
Sintaxis
inline char* Combine(
char* pszDest,
const char* pszDir,
const char* pszFile
);
inline wchar_t* Combine(
wchar_t* pszDest,
const wchar_t* pszDir,
const wchar_t* pszFile);
Comentarios
Consulte PathCombine para más información.
ATLPath::CommonPrefix
Esta función es un contenedor sobrecargado de PathCommonPrefix.
Sintaxis
inline int CommonPrefix(
const char* pszFile1,
const char* pszFile2,
char* pszDest);
inline int CommonPrefix(
const wchar_t* pszFile1,
const wchar_t* pszFile2,
wchar_t* pszDest);
Comentarios
Consulte PathCommonPrefix para más información.
ATLPath::CompactPath
Esta función es un contenedor sobrecargado de PathCompactPath.
Sintaxis
inline BOOL CompactPath(
HDC hDC,
char* pszPath,
UINT dx);
inline BOOL CompactPath(
HDC hDC,
wchar_t* pszPath,
UINT dx);
Comentarios
Consulte PathCompactPath para más información.
ATLPath::CompactPathEx
Esta función es un contenedor sobrecargado de PathCompactPathEx.
Sintaxis
inline BOOL CompactPathEx(
char* pszDest,
const char* pszSrc,
UINT nMaxChars,
DWORD dwFlags);
inline BOOL CompactPathEx(
wchar_t* pszDest,
const wchar_t* pszSrc,
UINT nMaxChars,
DWORD dwFlags);
Comentarios
Consulte PathCompactPathEx para más información.
ATLPath::FileExists
Esta función es un contenedor sobrecargado de PathFileExists.
Sintaxis
inline BOOL FileExists(const char* pszPath);
inline BOOL FileExists(const wchar_t* pszPath);
Comentarios
Consulte PathFileExists para más información.
ATLPath::FindExtension
Esta función es un contenedor sobrecargado de PathFindExtension.
Sintaxis
inline char* FindExtension(const char* pszPath);
inline wchar_t* FindExtension(const wchar_t* pszPath);
Comentarios
Consulte PathFindExtension para más información.
ATLPath::FindFileName
Esta función es un contenedor sobrecargado de PathFindFileName.
Sintaxis
inline char* FindFileName(const char* pszPath);
inline wchar_t* FindFileName(const wchar_t* pszPath);
Comentarios
Consulte PathFindFileName para más información.
ATLPath::GetDriveNumber
Esta función es un contenedor sobrecargado de PathGetDriveNumber.
Sintaxis
inline int GetDriveNumber(const char* pszPath);
inline int GetDriveNumber(const wchar_t* pszPath);
Comentarios
Consulte PathGetDriveNumber para más información.
ATLPath::IsDirectory
Esta función es un contenedor sobrecargado de PathIsDirectory.
inline BOOL IsDirectory(const char* pszPath);
inline BOOL IsDirectory(const wchar_t* pszPath);
Comentarios
Consulte PathIsDirectory para más información.
ATLPath::IsFileSpec
Esta función es un contenedor sobrecargado de PathIsFileSpec.
Sintaxis
inline BOOL IsFileSpec(const char* pszPath);
inline BOOL IsFileSpec(const wchar_t* pszPath);
Comentarios
Consulte PathIsFileSpec para más información.
ATLPath::IsPrefix
Esta función es un contenedor sobrecargado de PathIsPrefix.
Sintaxis
inline BOOL IsPrefix(const char* pszPrefix, const char* pszPath);
inline BOOL IsPrefix(const wchar_t* pszPrefix, const wchar_t* pszPath);
Comentarios
Consulte PathIsPrefix para más información.
ATLPath::IsRelative
Esta función es un contenedor sobrecargado de PathIsRelative.
Sintaxis
inline BOOL IsRelative(const char* pszPath);
inline BOOL IsRelative(const wchar_t* pszPath);
Comentarios
Consulte PathIsRelative para más información.
ATLPath::IsRoot
Esta función es un contenedor sobrecargado de PathIsRoot.
Sintaxis
inline BOOL IsRoot(const char* pszPath);
inline BOOL IsRoot(const wchar_t* pszPath);
Comentarios
Consulte PathIsRoot para más información.
ATLPath::IsSameRoot
Esta función es un contenedor sobrecargado de PathIsSameRoot.
Sintaxis
inline BOOL IsSameRoot(const char* pszPath1, const char* pszPath2);
inline BOOL IsSameRoot(const wchar_t* pszPath1, const wchar_t* pszPath2);
Comentarios
Consulte PathIsSameRoot para más información.
ATLPath::IsUNC
Esta función es un contenedor sobrecargado de PathIsUNC.
Sintaxis
inline BOOL IsUNC(const char* pszPath);
inline BOOL IsUNC(const wchar_t* pszPath);
Comentarios
Consulte PathIsUNC para más información.
ATLPath::IsUNCServer
Esta función es un contenedor sobrecargado de PathIsUNCServer.
Sintaxis
inline BOOL IsUNCServer(const char* pszPath);
inline BOOL IsUNCServer(const wchar_t* pszPath);
Comentarios
Consulte PathIsUNCServer para más información.
ATLPath::IsUNCServerShare
Esta función es un contenedor sobrecargado de PathIsUNCServerShare.
Sintaxis
inline BOOL IsUNCServerShare(const char* pszPath);
inline BOOL IsUNCServerShare(const wchar_t* pszPath);
Comentarios
Consulte PathIsUNCServerShare para más información.
ATLPath::MakePretty
Esta función es un contenedor sobrecargado de PathMakePretty.
Sintaxis
inline BOOL MakePretty(char* pszPath);
inline BOOL MakePretty(wchar_t* pszPath);
Comentarios
Consulte PathMakePretty para más información.
ATLPath::MatchSpec
Esta función es un contenedor sobrecargado de PathMatchSpec.
Sintaxis
inline BOOL MatchSpec(const char* pszPath, const char* pszSpec);
inline BOOL MatchSpec(const wchar_t* pszPath, const wchar_t* pszSpec);
Comentarios
Consulte PathMatchSpec para más información.
ATLPath::QuoteSpaces
Esta función es un contenedor sobrecargado de PathQuoteSpaces.
Sintaxis
inline void QuoteSpaces(char* pszPath);
inline void QuoteSpaces(wchar_t* pszPath);
Comentarios
Consulte PathQuoteSpaces para más información.
ATLPath::RelativePathTo
Esta función es un contenedor sobrecargado de PathRelativePathTo.
Sintaxis
inline BOOL RelativePathTo(
char* pszPath,
const char* pszFrom,
DWORD dwAttrFrom,
const char* pszTo,
DWORD dwAttrTo);
inline BOOL RelativePathTo(
wchar_t* pszPath,
const wchar_t* pszFrom,
DWORD dwAttrFrom,
const wchar_t* pszTo,
DWORD dwAttrTo);
Comentarios
Consulte PathRelativePathTo para más información.
ATLPath::RemoveArgs
Esta función es un contenedor sobrecargado de PathRemoveArgs.
Sintaxis
inline void RemoveArgs(char* pszPath);
inline void RemoveArgs(wchar_t* pszPath);
Comentarios
Consulte PathRemoveArgs para más información.
ATLPath::RemoveBackslash
Esta función es un contenedor sobrecargado de PathRemoveBackslash.
Sintaxis
inline char* RemoveBackslash(char* pszPath);
inline wchar_t* RemoveBackslash(wchar_t* pszPath);
Comentarios
Consulte PathRemoveBackslash para más información.
ATLPath::RemoveBlanks
Esta función es un contenedor sobrecargado de PathRemoveBlanks.
Sintaxis
inline void RemoveBlanks(char* pszPath);
inline void RemoveBlanks(wchar_t* pszPath);
Comentarios
Consulte PathRemoveBlanks para más información.
ATLPath::RemoveExtension
Esta función es un contenedor sobrecargado de PathRemoveExtension.
Sintaxis
inline void RemoveExtension(char* pszPath);
inline void RemoveExtension(wchar_t* pszPath);
Comentarios
Consulte PathRemoveExtension para más información.
ATLPath::RemoveFileSpec
Esta función es un contenedor sobrecargado de PathRemoveFileSpec.
Sintaxis
inline BOOL RemoveFileSpec(char* pszPath);
inline BOOL RemoveFileSpec(wchar_t* pszPath);
Comentarios
Consulte PathRemoveFileSpec para más información.
ATLPath::RenameExtension
Esta función es un contenedor sobrecargado de PathRenameExtension.
Sintaxis
inline BOOL RenameExtension(char* pszPath, const char* pszExt);
inline BOOL RenameExtension(wchar_t* pszPath, const wchar_t* pszExt);
Comentarios
Consulte PathRenameExtension para más información.
ATLPath::SkipRoot
Esta función es un contenedor sobrecargado de PathSkipRoot.
Sintaxis
inline char* SkipRoot(const char* pszPath);
inline wchar_t* SkipRoot(const wchar_t* pszPath);
Comentarios
Consulte PathSkipRoot para más información.
ATLPath::StripPath
Esta función es un contenedor sobrecargado de PathStripPath.
Sintaxis
inline void StripPath(char* pszPath);
inline void StripPath(wchar_t* pszPath);
Comentarios
Consulte PathStripPath para más información.
ATLPath::StripToRoot
Esta función es un contenedor sobrecargado de PathStripToRoot.
Sintaxis
inline BOOL StripToRoot(char* pszPath);
inline BOOL StripToRoot(wchar_t* pszPath);
Comentarios
Consulte PathStripToRoot para más información.
ATLPath::UnquoteSpaces
Esta función es un contenedor sobrecargado de PathUnquoteSpaces.
Sintaxis
inline void UnquoteSpaces(char* pszPath);
inline void UnquoteSpaces(wchar_t* pszPath);
Comentarios
Consulte PathUnquoteSpaces para más información.