Contents Up Previous Next

wxPMFileInfo

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::wxPMFileInfo

wxPMFileInfo(const wxPMFileInfo& other)

wxPMFileInfo(const wxChar* path)

wxPMFileInfo()

ctors


wxPMFileInfo::~wxPMFileInfo

~wxPMFileInfo()


wxPMFileInfo::=

const wxPMFileInfo &operator =(const wxPMFileInfo& other)


wxPMFileInfo::ChangeExtension

void ChangeExtension(const wxString newExt)


wxPMFileInfo::CreateDirsForPath

bool CreateDirsForPath(const wxString& path)


wxPMFileInfo::DetectType

bool DetectType() const

detects both mime and location types, returns TRUE, if both succeded


wxPMFileInfo::FindDefaultExtensionForType

wxChar* FindDefaultExtensionForType(const wxString& mimetype) const


wxPMFileInfo::FindFallBackForExtention

wxChar* FindFallBackForExtention(const wxString& ext) const


wxPMFileInfo::GetDirectoryFromPath

wxString GetDirectoryFromPath(const wxString& path)


wxPMFileInfo::GetExtension

wxString GetExtension() const


wxPMFileInfo::GetFileLoader

wxPMFileLoader* GetFileLoader() const


wxPMFileInfo::GetLocationType

int GetLocationType() const


wxPMFileInfo::GetLocationTypeStr

wxString GetLocationTypeStr() const


wxPMFileInfo::GetNameWithoutExtension

wxString GetNameWithoutExtension() const


wxPMFileInfo::GetNameWithoutPath

wxString GetNameWithoutPath() const


wxPMFileInfo::GetPath

const wxString& GetPath() const


wxPMFileInfo::GetPathOnly

wxString GetPathOnly() const


wxPMFileInfo::GetType

const wxString& GetType() const

returns MIME type of the file, or empty string if not detected


wxPMFileInfo::RegisterDefaultTypeFallbacks

void RegisterDefaultTypeFallbacks()


wxPMFileInfo::RegisterFileLoader

void RegisterFileLoader(wxPMFileLoader* pLoader)

static methods **


wxPMFileInfo::RegisterLoaders

void RegisterLoaders()

searches list of dynamic classes, finds all derivatives of wxPMFileLoader, instantiates and registers them


wxPMFileInfo::RegisterTypeFallback

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


wxPMFileInfo::SetPath

void SetPath(const wxString& path)


wxPMFileInfo::operator==

bool operator==(const wxPMFileInfo& other) const