#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 | |
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) |
|
|
|
Clears the attributes so they are ready to accept new data.
|
|
|
|
Duplicates orig and returns it.
|
|
Get the access time of this FileInfo.
|
|
Get the size of this FileInfo. This is the size of the file measured in units of 512-byte blocks.
|
|
Get the creation time of this FileInfo.
|
|
Get the special flags of this FileInfo.
|
|
Get the group id of this FileInfo.
|
|
Get the I/O block size of this FileInfo. This is used to determine the optimal block size for reading/writing the file.
|
|
Get the link count of this FileInfo.
|
|
Retrieve MIME type from this object.
|
|
Get the modification time of this FileInfo.
|
|
Get the name property of this FileInfo.
|
|
Get the permissions of this FileInfo.
|
|
Get the size of this FileInfo. This is the size of the file in bytes.
|
|
Get the symlink name of this FileInfo.
|
|
Get the file type of this FileInfo.
|
|
Get the user id of this FileInfo.
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Find out if this FileInfo is a symbolic link. In order for this to work, this FileInfo must be created using FILE_INFO_FOLLOW_LINKS.
|
|
|
|
|
|
|
|
|
|
|
|
|