wxArt2D
Public Member Functions | List of all members
a2dPathList Class Reference

Path searching. More...

#include <gen.h>

Inheritance diagram for a2dPathList:
Inheritance graph
[legend]
Collaboration diagram for a2dPathList:
Collaboration graph
[legend]

Public Member Functions

wxString FindValidPath (const wxString &filename, bool reportError=true)
 Find the first full path for which the file exists.
 
wxString FindAbsoluteValidPath (const wxString &filename)
 
wxString GetAsString ()
 Get all search paths as one string.
 
bool ExpandPath (wxString &pathToExpand, wxPathFormat format=wxPATH_NATIVE)
 

Detailed Description

Path searching.

Path may contain ${aap} for environment variables and %{aap} for internal variables. See VarRef() for exact syntax.

Internal variables come from a2dGeneralGlobals->GetVariablesHash()

Definition at line 2926 of file gen.h.

Member Function Documentation

wxString a2dPathList::FindAbsoluteValidPath ( const wxString &  filename)

Find the first full path for which the file exists; ensure it's an absolute path that gets returned.

Definition at line 4547 of file gen.cpp.


The documentation for this class was generated from the following files:
a2dPathList Class Reference -- Sun Oct 12 2014 17:04:44 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation