X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..f644bc116bbe46d6ab609a44c05835dc4d87ba02:/docs/latex/wx/pathlist.tex diff --git a/docs/latex/wx/pathlist.tex b/docs/latex/wx/pathlist.tex index 82fdc7c662..594043820d 100644 --- a/docs/latex/wx/pathlist.tex +++ b/docs/latex/wx/pathlist.tex @@ -24,13 +24,15 @@ from the path. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxPathList::wxPathList} + +\membersection{wxPathList::wxPathList}\label{wxpathlistctor} \func{}{wxPathList}{\void} Constructor. -\membersection{wxPathList::AddEnvList} + +\membersection{wxPathList::AddEnvList}\label{wxpathlistaddenvlist} \func{void}{AddEnvList}{\param{const wxString\& }{env\_variable}} @@ -38,15 +40,17 @@ Finds the value of the given environment variable, and adds all paths to the path list. Useful for finding files in the PATH variable, for example. -\membersection{wxPathList::Add} + +\membersection{wxPathList::Add}\label{wxpathlistadd} \func{void}{Add}{\param{const wxString\& }{path}} Adds the given directory to the path list, but does not -check if the path was already on the list (use wxPathList::Member) -for this). +check if the path was already on the list (use +\helpref{wxPathList::Member()}{wxpathlistmember} for this). + -\membersection{wxPathList::EnsureFileAccessible} +\membersection{wxPathList::EnsureFileAccessible}\label{wxpathlistensurefileaccessible} \func{void}{EnsureFileAccessible}{\param{const wxString\& }{filename}} @@ -54,26 +58,28 @@ Given a full filename (with path), ensures that files in the same path can be accessed using the pathlist. It does this by stripping the filename and adding the path to the list if not already there. -\membersection{wxPathList::FindAbsoluteValidPath} + +\membersection{wxPathList::FindAbsoluteValidPath}\label{wxpathlistfindabsolutepath} \func{wxString}{FindAbsoluteValidPath}{\param{const wxString\& }{file}} Searches for a full path for an existing file by appending {\it file} to -successive members of the path list. If the file exists, a temporary -pointer to the absolute path is returned. +successive members of the path list. If the file wasn't found, an empty +string is returned. + -\membersection{wxPathList::FindValidPath} +\membersection{wxPathList::FindValidPath}\label{wxpathlistfindvalidpath} \func{wxString}{FindValidPath}{\param{const wxString\& }{file}} Searches for a full path for an existing file by appending {\it file} to -successive members of the path list. If the file exists, a temporary -pointer to the full path is returned. This path may be relative to the current -working directory. +successive members of the path list. If the file wasn't found, an empty string +is returned. This path may be relative to the current working directory. + -\membersection{wxPathList::Member} +\membersection{wxPathList::Member}\label{wxpathlistmember} \func{bool}{Member}{\param{const wxString\& }{file}} -TRUE if the path is in the path list (ignoring case). +true if the path is in the path list (ignoring case).