Public Member Functions | |
| FileReference (const String &cDirectory, const String &cFileName) | |
| FileReference (const String &pPath) | |
| FileReference () | |
| FileReference (const FileReference &pFileReference) | |
| FileReference (const String &szRoot, const String &szFileName, ino_t ino) | |
| FileReference (const String &szRoot, ino_t ino) | |
| FileReference (dev_t nDevice, ino_t ino) | |
| ~FileReference () | |
| void | SetTo (const String &cPath) |
| void | ConstructPath (const char *pFirstPart,...) |
| String | GetPath () const |
| Image * | GetFileIcon (int iSize=16) const |
| String | GetFileIconPath (int iSize=16) const |
| int | Stat (struct stat *st) const |
| bool | IsDirectory () const |
| bool | IsRegular () const |
| bool | IsLink () const |
| virtual bool | IsValid () const |
| bool | IsQuery () const |
| bool | IsDesktopLink () const |
| String | GetFileType () const |
| String | GetLast () const |
| String | CutLast () const |
| MonitorID | Monitor (Window *pTarget, unsigned int uiMonitorFlags) const |
| void | StopMonitor () const |
| FileReference & | operator= (const FileReference &pFileReference) |
| bool | operator== (const FileReference &pFileReference) const |
| bool | operator== (const String &szPath) const |
| String | GetExtension () const |
| String | GetFileName () const |
| void | Normalize () |
| off_t | GetSize () const |
| time_t | GetAccessTime () const |
| time_t | GetCreateTime () const |
| time_t | GetModifyTime () const |
| bool | GetNextAttributeEntry (FileAttributeInfo &pAttributeInfo) |
| FileAttribute * | ReadAttribute (const String &szAttributeName, AttributeType nAttributeType, off_t nPos, int iLength) const |
| size_t | ReadAttribute (const String &szAttributeName, AttributeType nAttributeType, void *vpBuffer, off_t nPos, int iLength) |
| size_t | WriteAttribute (const String &szAttributeName, AttributeType nAttributeType, const void *pBuffer, off_t nPos, int iLength) |
| bool | RemoveAttribute (const String &szAttributeName) |
| void | RewindAttribute () |
| String | GetMimeType () const |
| bool | SetMimeType (const String &szMimeType) |
| bool | ReadMimeTypeAttribute (String &szMimeType) const |
| bool | Identify (bool bForce=false, bool bWait=false) |
Static Public Member Functions | |
| static String | Normalize (const String &szPath) |
Classes | |
| class | Private |
| FileReference::FileReference | ( | const String & | pPath | ) |
| FileReference::FileReference | ( | ) |
| FileReference::FileReference | ( | const FileReference & | pFileReference | ) |
| FileReference::FileReference | ( | const String & | szRoot, | |
| ino_t | ino | |||
| ) |
| FileReference::FileReference | ( | dev_t | nDevice, | |
| ino_t | ino | |||
| ) |
| FileReference::~FileReference | ( | ) |
| void FileReference::SetTo | ( | const String & | cPath | ) |
| void FileReference::ConstructPath | ( | const char * | pFirstPart, | |
| ... | ||||
| ) |
| String FileReference::GetPath | ( | ) | const |
Get the path
| Image * FileReference::GetFileIcon | ( | int | iSize = 16 |
) | const |
| String FileReference::GetFileIconPath | ( | int | iSize = 16 |
) | const |
| int FileReference::Stat | ( | struct stat * | st | ) | const |
| bool FileReference::IsDirectory | ( | ) | const |
| bool FileReference::IsRegular | ( | ) | const |
| bool FileReference::IsLink | ( | ) | const |
| bool FileReference::IsValid | ( | ) | const [virtual] |
| bool FileReference::IsQuery | ( | ) | const |
| bool FileReference::IsDesktopLink | ( | ) | const |
| String FileReference::GetFileType | ( | ) | const |
| String FileReference::GetLast | ( | ) | const |
Get the last segment of the file
| String FileReference::CutLast | ( | ) | const |
Get all but last segment of the file
Monitor node changes
| void FileReference::StopMonitor | ( | ) | const |
| FileReference & FileReference::operator= | ( | const FileReference & | pFileReference | ) |
| bool FileReference::operator== | ( | const FileReference & | pFileReference | ) | const |
| bool FileReference::operator== | ( | const String & | szPath | ) | const |
| String FileReference::GetExtension | ( | ) | const |
Get the extension of the file
| String FileReference::GetFileName | ( | ) | const |
Get the name of the file
| void FileReference::Normalize | ( | ) |
| off_t FileReference::GetSize | ( | ) | const |
Reimplemented in SkyGI::File.
| time_t FileReference::GetAccessTime | ( | ) | const |
| time_t FileReference::GetCreateTime | ( | ) | const |
| time_t FileReference::GetModifyTime | ( | ) | const |
| bool FileReference::GetNextAttributeEntry | ( | FileAttributeInfo & | pAttributeInfo | ) |
| FileAttribute * FileReference::ReadAttribute | ( | const String & | szAttributeName, | |
| AttributeType | nAttributeType, | |||
| off_t | nPos, | |||
| int | iLength | |||
| ) | const |
| size_t FileReference::ReadAttribute | ( | const String & | szAttributeName, | |
| AttributeType | nAttributeType, | |||
| void * | vpBuffer, | |||
| off_t | nPos, | |||
| int | iLength | |||
| ) |
| size_t FileReference::WriteAttribute | ( | const String & | szAttributeName, | |
| AttributeType | nAttributeType, | |||
| const void * | pBuffer, | |||
| off_t | nPos, | |||
| int | iLength | |||
| ) |
| bool FileReference::RemoveAttribute | ( | const String & | szAttributeName | ) |
| void FileReference::RewindAttribute | ( | ) |
| String FileReference::GetMimeType | ( | ) | const |
Get mimetype of file
| bool FileReference::SetMimeType | ( | const String & | szMimeType | ) |
| bool FileReference::ReadMimeTypeAttribute | ( | String & | szMimeType | ) | const |
Read the MimeType attribute value
| bool FileReference::Identify | ( | bool | bForce = false, |
|
| bool | bWait = false | |||
| ) |
1.5.1-p1