synfig-core  1.0.3
Classes | Public Member Functions | List of all members
synfig::FileSystemGroup Class Reference

#include <filesystemgroup.h>

Inheritance diagram for synfig::FileSystemGroup:
synfig::FileSystem

Classes

struct  Entry

Public Member Functions

 FileSystemGroup ()
 FileSystemGroup (Handle default_file_system)
void register_system (const std::string &prefix, FileSystem::Handle file_system)
void unregister_system (const std::string &prefix)
virtual bool is_file (const std::string &filename)
virtual bool is_directory (const std::string &filename)
virtual bool directory_create (const std::string &dirname)
virtual bool file_remove (const std::string &filename)
virtual bool file_rename (const std::string &from_filename, const std::string &to_filename)
virtual ReadStreamHandle get_read_stream (const std::string &filename)
virtual WriteStreamHandle get_write_stream (const std::string &filename)
- Public Member Functions inherited from synfig::FileSystem
 FileSystem ()
virtual ~FileSystem ()
bool is_exists (const std::string filename)
Identifier get_identifier (const std::string &filename)

Additional Inherited Members

- Public Types inherited from synfig::FileSystem
typedef etl::handle< FileSystemHandle
typedef etl::handle< ReadStreamReadStreamHandle
typedef etl::handle< WriteStreamWriteStreamHandle
- Static Public Member Functions inherited from synfig::FileSystem
static bool copy (Handle from_file_system, const std::string &from_filename, Handle to_file_system, const std::string &to_filename)
static std::string fix_slashes (const std::string &filename)
static std::istream & safeGetline (std::istream &is, std::string &t)
 !

Constructor & Destructor Documentation

FileSystemGroup::FileSystemGroup ( )
FileSystemGroup::FileSystemGroup ( Handle  default_file_system)
explicit

Member Function Documentation

void FileSystemGroup::register_system ( const std::string prefix,
FileSystem::Handle  file_system 
)
void FileSystemGroup::unregister_system ( const std::string prefix)
bool FileSystemGroup::is_file ( const std::string filename)
virtual

Implements synfig::FileSystem.

bool FileSystemGroup::is_directory ( const std::string filename)
virtual

Implements synfig::FileSystem.

bool FileSystemGroup::directory_create ( const std::string dirname)
virtual

Implements synfig::FileSystem.

bool FileSystemGroup::file_remove ( const std::string filename)
virtual

Implements synfig::FileSystem.

bool FileSystemGroup::file_rename ( const std::string from_filename,
const std::string to_filename 
)
virtual

Reimplemented from synfig::FileSystem.

FileSystem::ReadStreamHandle FileSystemGroup::get_read_stream ( const std::string filename)
virtual

Implements synfig::FileSystem.

FileSystem::WriteStreamHandle FileSystemGroup::get_write_stream ( const std::string filename)
virtual

Implements synfig::FileSystem.


The documentation for this class was generated from the following files: