synfig-core
1.0.3
|
#include <filesystem.h>
Classes | |
class | Identifier |
class | ReadStream |
class | Stream |
class | WriteStream |
Public Types | |
typedef etl::handle< FileSystem > | Handle |
typedef etl::handle< ReadStream > | ReadStreamHandle |
typedef etl::handle< WriteStream > | WriteStreamHandle |
Public Member Functions | |
FileSystem () | |
virtual | ~FileSystem () |
virtual bool | is_file (const std::string &filename)=0 |
virtual bool | is_directory (const std::string &filename)=0 |
virtual bool | directory_create (const std::string &dirname)=0 |
virtual bool | file_remove (const std::string &filename)=0 |
virtual bool | file_rename (const std::string &from_filename, const std::string &to_filename) |
virtual ReadStreamHandle | get_read_stream (const std::string &filename)=0 |
virtual WriteStreamHandle | get_write_stream (const std::string &filename)=0 |
bool | is_exists (const std::string filename) |
Identifier | get_identifier (const std::string &filename) |
Static Public Member Functions | |
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) |
! |
typedef etl::handle< FileSystem > synfig::FileSystem::Handle |
typedef etl::handle< ReadStream > synfig::FileSystem::ReadStreamHandle |
typedef etl::handle< WriteStream > synfig::FileSystem::WriteStreamHandle |
FileSystem::FileSystem | ( | ) |
|
virtual |
|
pure virtual |
Implemented in synfig::FileContainerZip, synfig::FileContainerTemporary, synfig::FileSystemNative, and synfig::FileSystemGroup.
Referenced by is_exists().
|
pure virtual |
Implemented in synfig::FileContainerZip, synfig::FileContainerTemporary, synfig::FileSystemNative, and synfig::FileSystemGroup.
Referenced by is_exists().
|
pure virtual |
Implemented in synfig::FileContainerZip, synfig::FileContainerTemporary, synfig::FileSystemNative, and synfig::FileSystemGroup.
|
pure virtual |
Implemented in synfig::FileContainerZip, synfig::FileContainerTemporary, synfig::FileSystemNative, and synfig::FileSystemGroup.
|
virtual |
Reimplemented in synfig::FileSystemNative, and synfig::FileSystemGroup.
|
pure virtual |
Implemented in synfig::FileContainer, synfig::FileSystemNative, and synfig::FileSystemGroup.
|
pure virtual |
Implemented in synfig::FileContainer, synfig::FileSystemNative, and synfig::FileSystemGroup.
|
inline |
References is_directory(), and is_file().
|
inline |
|
static |
Referenced by synfig::FileContainerTemporary::save_changes().
|
static |
Referenced by synfig::FileContainerTemporary::create(), synfig::FileContainerZip::create(), synfig::FileSystemNative::directory_create(), synfig::FileContainerTemporary::directory_create(), synfig::FileContainerZip::directory_create(), synfig::FileContainerTemporary::directory_scan(), synfig::FileContainerZip::directory_scan(), synfig::FileContainerTemporary::file_open_read(), synfig::FileContainerZip::file_open_read(), synfig::FileContainerTemporary::file_open_write(), synfig::FileContainerZip::file_open_write(), synfig::FileSystemNative::file_remove(), synfig::FileContainerTemporary::file_remove(), synfig::FileContainerZip::file_remove(), synfig::FileSystemNative::get_read_stream(), synfig::FileSystemNative::get_write_stream(), synfig::FileSystemNative::is_directory(), synfig::FileContainerTemporary::is_directory(), synfig::FileContainerZip::is_directory(), synfig::FileSystemNative::is_file(), synfig::FileContainerTemporary::is_file(), synfig::FileContainerZip::is_file(), synfig::FileContainerTemporary::open(), synfig::FileContainerTemporary::open_from_history(), synfig::FileContainerZip::open_from_history(), synfig::FileContainerTemporary::save_changes(), and synfig::Canvas::set_file_name().
|
static |
!
Read a stream line by line even '
' ended
Referenced by synfig::CairoListImporter::CairoListImporter(), and synfig::ListImporter::ListImporter().