#include <handle.h>
Public Member Functions | |
Handle () | |
virtual | ~Handle () |
void | open (const Glib::ustring &text_uri, OpenMode open_mode, std::auto_ptr< Gnome::Vfs::exception > &error) |
void | open (const Glib::RefPtr< const Uri > &uri, OpenMode open_mode, std::auto_ptr< Gnome::Vfs::exception > &error) |
void | create (const Glib::ustring &text_uri, OpenMode open_mode, bool exclusive, guint permissions, std::auto_ptr< Gnome::Vfs::exception > &error) |
void | create (const Glib::RefPtr< const Uri > &uri, OpenMode open_mode, bool exclusive, guint permissions, std::auto_ptr< Gnome::Vfs::exception > &error) |
void | close (std::auto_ptr< Gnome::Vfs::exception > &error) |
FileSize | read (gpointer buffer, FileSize bytes, std::auto_ptr< Gnome::Vfs::exception > &error) |
FileSize | write (gconstpointer buffer, FileSize bytes, std::auto_ptr< Gnome::Vfs::exception > &error) |
void | seek (SeekPosition whence, FileOffset offset, std::auto_ptr< Gnome::Vfs::exception > &error) |
FileSize | tell (std::auto_ptr< Gnome::Vfs::exception > &error) |
Glib::RefPtr< FileInfo > | get_file_info (FileInfoOptions options, std::auto_ptr< Gnome::Vfs::exception > &error) const |
void | truncate (FileSize length, std::auto_ptr< Gnome::Vfs::exception > &error) |
bool | uri_exists (const Glib::RefPtr< const Uri > &uri, std::auto_ptr< Gnome::Vfs::exception > &error) |
void | file_control (const Glib::ustring &operation, gpointer operation_data, std::auto_ptr< Gnome::Vfs::exception > &error) |
GnomeVFSHandle * | gobj () |
const GnomeVFSHandle * | gobj () const |
Static Public Member Functions | |
static Glib::RefPtr< FileInfo > | get_file_info (const Glib::ustring &text_uri, FileInfoOptions options, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | truncate (const Glib::ustring &text_uri, FileSize length, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | truncate (const Glib::RefPtr< const Uri > &uri, FileSize length, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | make_directory (const Glib::ustring &text_uri, guint permissions, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | make_directory (const Glib::RefPtr< const Uri > &uri, guint permissions, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | remove_directory (const Glib::ustring &text_uri, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | remove_directory (const Glib::RefPtr< const Uri > &uri, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | unlink (const Glib::ustring &text_uri, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | unlink (const Glib::RefPtr< const Uri > &uri, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | move (const Glib::ustring &old_text_uri, const Glib::ustring &new_text_uri, bool force_replace, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | move (const Glib::RefPtr< const Uri > &old_uri, const Glib::RefPtr< const Uri > &new_uri, bool force_replace, std::auto_ptr< Gnome::Vfs::exception > &error) |
static bool | check_same_fs (const Glib::ustring &source, const Glib::ustring &target, std::auto_ptr< Gnome::Vfs::exception > &error) |
static bool | check_same_fs (const Glib::RefPtr< const Uri > &source, const Glib::RefPtr< const Uri > &target, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | set_file_info (const Glib::ustring &text_uri, const Glib::RefPtr< const FileInfo > &info, SetFileInfoMask mask, std::auto_ptr< Gnome::Vfs::exception > &error) |
static void | set_file_info (const Glib::RefPtr< const Uri > &uri, const Glib::RefPtr< const FileInfo > &info, SetFileInfoMask mask, std::auto_ptr< Gnome::Vfs::exception > &error) |
Protected Attributes | |
GnomeVFSHandle * | gobj_ |
Gnome::Vfs::Handle::Handle | ( | ) |
virtual Gnome::Vfs::Handle::~Handle | ( | ) | [virtual] |
void Gnome::Vfs::Handle::open | ( | const Glib::ustring & | text_uri, | |
OpenMode | open_mode, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
void Gnome::Vfs::Handle::open | ( | const Glib::RefPtr< const Uri > & | uri, | |
OpenMode | open_mode, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
void Gnome::Vfs::Handle::create | ( | const Glib::ustring & | text_uri, | |
OpenMode | open_mode, | |||
bool | exclusive, | |||
guint | permissions, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
void Gnome::Vfs::Handle::create | ( | const Glib::RefPtr< const Uri > & | uri, | |
OpenMode | open_mode, | |||
bool | exclusive, | |||
guint | permissions, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
void Gnome::Vfs::Handle::close | ( | std::auto_ptr< Gnome::Vfs::exception > & | error | ) |
FileSize Gnome::Vfs::Handle::read | ( | gpointer | buffer, | |
FileSize | bytes, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
FileSize Gnome::Vfs::Handle::write | ( | gconstpointer | buffer, | |
FileSize | bytes, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
void Gnome::Vfs::Handle::seek | ( | SeekPosition | whence, | |
FileOffset | offset, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
FileSize Gnome::Vfs::Handle::tell | ( | std::auto_ptr< Gnome::Vfs::exception > & | error | ) |
static Glib::RefPtr<FileInfo> Gnome::Vfs::Handle::get_file_info | ( | const Glib::ustring & | text_uri, | |
FileInfoOptions | options, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
Glib::RefPtr<FileInfo> Gnome::Vfs::Handle::get_file_info | ( | FileInfoOptions | options, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | const |
static void Gnome::Vfs::Handle::truncate | ( | const Glib::ustring & | text_uri, | |
FileSize | length, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::truncate | ( | const Glib::RefPtr< const Uri > & | uri, | |
FileSize | length, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
void Gnome::Vfs::Handle::truncate | ( | FileSize | length, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
static void Gnome::Vfs::Handle::make_directory | ( | const Glib::ustring & | text_uri, | |
guint | permissions, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::make_directory | ( | const Glib::RefPtr< const Uri > & | uri, | |
guint | permissions, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::remove_directory | ( | const Glib::ustring & | text_uri, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::remove_directory | ( | const Glib::RefPtr< const Uri > & | uri, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::unlink | ( | const Glib::ustring & | text_uri, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::unlink | ( | const Glib::RefPtr< const Uri > & | uri, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::move | ( | const Glib::ustring & | old_text_uri, | |
const Glib::ustring & | new_text_uri, | |||
bool | force_replace, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::move | ( | const Glib::RefPtr< const Uri > & | old_uri, | |
const Glib::RefPtr< const Uri > & | new_uri, | |||
bool | force_replace, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static bool Gnome::Vfs::Handle::check_same_fs | ( | const Glib::ustring & | source, | |
const Glib::ustring & | target, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static bool Gnome::Vfs::Handle::check_same_fs | ( | const Glib::RefPtr< const Uri > & | source, | |
const Glib::RefPtr< const Uri > & | target, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
bool Gnome::Vfs::Handle::uri_exists | ( | const Glib::RefPtr< const Uri > & | uri, | |
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
static void Gnome::Vfs::Handle::set_file_info | ( | const Glib::ustring & | text_uri, | |
const Glib::RefPtr< const FileInfo > & | info, | |||
SetFileInfoMask | mask, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
static void Gnome::Vfs::Handle::set_file_info | ( | const Glib::RefPtr< const Uri > & | uri, | |
const Glib::RefPtr< const FileInfo > & | info, | |||
SetFileInfoMask | mask, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) | [static] |
void Gnome::Vfs::Handle::file_control | ( | const Glib::ustring & | operation, | |
gpointer | operation_data, | |||
std::auto_ptr< Gnome::Vfs::exception > & | error | |||
) |
GnomeVFSHandle* Gnome::Vfs::Handle::gobj | ( | ) |
const GnomeVFSHandle* Gnome::Vfs::Handle::gobj | ( | ) | const |
GnomeVFSHandle* Gnome::Vfs::Handle::gobj_ [protected] |