indicating the end of array * Acts as a structure carrying more complete infomration about a * file than it's path name could tell. Is used thought PMF to * provide "location transparency" for it's documents * * TBD:: add one more ctor which takes wxURL
Derived from
wxObject
Data structures
Members
wxPMFileInfo::wxPMFileInfo
wxPMFileInfo::~wxPMFileInfo
wxPMFileInfo::=
wxPMFileInfo::ChangeExtension
wxPMFileInfo::CreateDirsForPath
wxPMFileInfo::DetectType
wxPMFileInfo::FindDefaultExtensionForType
wxPMFileInfo::FindFallBackForExtention
wxPMFileInfo::GetDirectoryFromPath
wxPMFileInfo::GetExtension
wxPMFileInfo::GetFileLoader
wxPMFileInfo::GetLocationType
wxPMFileInfo::GetLocationTypeStr
wxPMFileInfo::GetNameWithoutExtension
wxPMFileInfo::GetNameWithoutPath
wxPMFileInfo::GetPath
wxPMFileInfo::GetPathOnly
wxPMFileInfo::GetType
wxPMFileInfo::RegisterDefaultTypeFallbacks
wxPMFileInfo::RegisterFileLoader
wxPMFileInfo::RegisterLoaders
wxPMFileInfo::RegisterTypeFallback
wxPMFileInfo::SetPath
wxPMFileInfo::operator==
wxPMFileInfo(const wxPMFileInfo& other)
wxPMFileInfo(const wxChar* path)
wxPMFileInfo()
ctors
~wxPMFileInfo()
const wxPMFileInfo &operator =(const wxPMFileInfo& other)
void ChangeExtension(const wxString newExt)
bool CreateDirsForPath(const wxString& path)
bool DetectType() const
detects both mime and location types, returns TRUE, if both succeded
wxChar* FindDefaultExtensionForType(const wxString& mimetype) const
wxChar* FindFallBackForExtention(const wxString& ext) const
wxString GetDirectoryFromPath(const wxString& path)
wxString GetExtension() const
wxPMFileLoader* GetFileLoader() const
int GetLocationType() const
wxString GetLocationTypeStr() const
wxString GetNameWithoutExtension() const
wxString GetNameWithoutPath() const
const wxString& GetPath() const
wxString GetPathOnly() const
const wxString& GetType() const
returns MIME type of the file, or empty string if not detected
void RegisterDefaultTypeFallbacks()
void RegisterFileLoader(wxPMFileLoader* pLoader)
static methods **
void RegisterLoaders()
searches list of dynamic classes, finds all derivatives of wxPMFileLoader, instantiates and registers them
void RegisterTypeFallback(const wxString& mimeType, const wxString& ext)
similar to wxMimeTypesManager::AddFallbacks of 2.1.11, added to enable compatibilitiy with earlier wxWin versions (eg. 2.0.1) which doesn't have it
void SetPath(const wxString& path)
bool operator==(const wxPMFileInfo& other) const