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

#include <filesystemnative.h>

Inheritance diagram for synfig::FileSystemNative:
synfig::FileSystem

Classes

class  ReadStream
class  WriteStream

Public Member Functions

virtual ~FileSystemNative ()
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)

Static Public Member Functions

static const etl::handle
< FileSystemNative > & 
instance ()
- 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)
 !

Additional Inherited Members

- Public Types inherited from synfig::FileSystem
typedef etl::handle< FileSystemHandle
typedef etl::handle< ReadStreamReadStreamHandle
typedef etl::handle< WriteStreamWriteStreamHandle

Constructor & Destructor Documentation

FileSystemNative::~FileSystemNative ( )
virtual

Member Function Documentation

static const etl::handle< FileSystemNative >& synfig::FileSystemNative::instance ( )
inlinestatic
bool FileSystemNative::is_file ( const std::string filename)
virtual
bool FileSystemNative::is_directory ( const std::string filename)
virtual
bool FileSystemNative::directory_create ( const std::string dirname)
virtual
bool FileSystemNative::file_remove ( const std::string filename)
virtual
bool FileSystemNative::file_rename ( const std::string from_filename,
const std::string to_filename 
)
virtual

Reimplemented from synfig::FileSystem.

References synfig::error(), and synfig::GUID::get_string().

FileSystem::ReadStreamHandle FileSystemNative::get_read_stream ( const std::string filename)
virtual
FileSystem::WriteStreamHandle FileSystemNative::get_write_stream ( const std::string filename)
virtual

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