#include <file-info.h>
Public Member Functions | ||||
| void | reference () const | |||
| void | unreference () const | |||
| GnomeVFSFileInfo * | gobj () | |||
| Provides access to the underlying C instance. | ||||
| const GnomeVFSFileInfo * | gobj () const | |||
| Provides access to the underlying C instance. | ||||
| GnomeVFSFileInfo * | gobj_copy () const | |||
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | ||||
| void | clear () | |||
| Clears the attributes so they are ready to accept new data. | ||||
| Glib::ustring | get_mime_type () const | |||
| Retrieve MIME type from this object. | ||||
| Glib::RefPtr< FileInfo > | duplicate () | |||
| Duplicates orig and returns it. | ||||
| std::string | get_name () const | |||
| Get the name property of this FileInfo. | ||||
| FileType | get_type () const | |||
| Get the file type of this FileInfo. | ||||
| FilePermissions | get_permissions () const | |||
| Get the permissions of this FileInfo. | ||||
| FileFlags | get_flags () const | |||
| Get the special flags of this FileInfo. | ||||
| guint | get_link_count () const | |||
| Get the link count of this FileInfo. | ||||
| guint | get_uid () const | |||
| Get the user id of this FileInfo. | ||||
| guint | get_gid () const | |||
| Get the group id of this FileInfo. | ||||
| FileSize | get_size () const | |||
| Get the size of this FileInfo. | ||||
| FileSize | get_block_count () const | |||
| Get the size of this FileInfo. | ||||
| guint | get_io_block_size () const | |||
| Get the I/O block size of this FileInfo. | ||||
| time_t | get_access_time () const | |||
| Get the access time of this FileInfo. | ||||
| time_t | get_modification_time () const | |||
| Get the modification time of this FileInfo. | ||||
| time_t | get_creation_time () const | |||
| Get the creation time of this FileInfo. | ||||
| std::string | get_symlink_name () const | |||
| Get the symlink name of this FileInfo. | ||||
| bool | is_symlink () const | |||
| Find out if this FileInfo is a symbolic link. | ||||
Static Public Member Functions | ||||
| static Glib::RefPtr< FileInfo > | create () | |||
Protected Member Functions | ||||
| FileInfo () | ||||
| void | operator delete (void *, size_t) | |||
Related Functions | ||||
| (Note that these are not member functions.) | ||||
| bool | operator== (const FileInfo &lhs, const FileInfo &rhs) | |||
| ||||
| bool | operator!= (const FileInfo &lhs, const FileInfo &rhs) | |||
| ||||
| Glib::RefPtr< Gnome::Vfs::FileInfo > | wrap (GnomeVFSFileInfo *object, bool take_copy=false) | |||
| ||||
| Gnome::Vfs::FileInfo::FileInfo | ( | ) | [protected] |
| static Glib::RefPtr<FileInfo> Gnome::Vfs::FileInfo::create | ( | ) | [static] |
| void Gnome::Vfs::FileInfo::reference | ( | ) | const |
| void Gnome::Vfs::FileInfo::unreference | ( | ) | const |
| GnomeVFSFileInfo* Gnome::Vfs::FileInfo::gobj | ( | ) |
Provides access to the underlying C instance.
| const GnomeVFSFileInfo* Gnome::Vfs::FileInfo::gobj | ( | ) | const |
Provides access to the underlying C instance.
| GnomeVFSFileInfo* Gnome::Vfs::FileInfo::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| void Gnome::Vfs::FileInfo::operator delete | ( | void * | , | |
| size_t | ||||
| ) | [protected] |
| void Gnome::Vfs::FileInfo::clear | ( | ) |
Clears the attributes so they are ready to accept new data.
| Glib::ustring Gnome::Vfs::FileInfo::get_mime_type | ( | ) | const |
Retrieve MIME type from this object.
| Glib::RefPtr<FileInfo> Gnome::Vfs::FileInfo::duplicate | ( | ) |
Duplicates orig and returns it.
| std::string Gnome::Vfs::FileInfo::get_name | ( | ) | const |
| FileType Gnome::Vfs::FileInfo::get_type | ( | ) | const |
| FilePermissions Gnome::Vfs::FileInfo::get_permissions | ( | ) | const |
| FileFlags Gnome::Vfs::FileInfo::get_flags | ( | ) | const |
| guint Gnome::Vfs::FileInfo::get_link_count | ( | ) | const |
| guint Gnome::Vfs::FileInfo::get_uid | ( | ) | const |
| guint Gnome::Vfs::FileInfo::get_gid | ( | ) | const |
| FileSize Gnome::Vfs::FileInfo::get_size | ( | ) | const |
| FileSize Gnome::Vfs::FileInfo::get_block_count | ( | ) | const |
Get the size of this FileInfo.
This is the size of the file measured in units of 512-byte blocks.
| guint Gnome::Vfs::FileInfo::get_io_block_size | ( | ) | const |
Get the I/O block size of this FileInfo.
This is used to determine the optimal block size for reading/writing the file.
| time_t Gnome::Vfs::FileInfo::get_access_time | ( | ) | const |
| time_t Gnome::Vfs::FileInfo::get_modification_time | ( | ) | const |
| time_t Gnome::Vfs::FileInfo::get_creation_time | ( | ) | const |
| std::string Gnome::Vfs::FileInfo::get_symlink_name | ( | ) | const |
| bool Gnome::Vfs::FileInfo::is_symlink | ( | ) | const |
| lhs | The left-hand side |
| rhs | The right-hand side |
| lhs | The left-hand side |
| rhs | The right-hand side |
| Glib::RefPtr< Gnome::Vfs::FileInfo > wrap | ( | GnomeVFSFileInfo * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| object | The C instance |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.5.1