synfig-core  1.0.3
Public Member Functions | Protected Member Functions | List of all members
synfig::FileSystem::WriteStream Class Reference

#include <filesystem.h>

Inheritance diagram for synfig::FileSystem::WriteStream:
synfig::FileSystem::Stream synfig::FileContainer::WriteStream synfig::FileSystemNative::WriteStream synfig::ZWriteStream

Public Member Functions

bool write_block (const void *buffer, size_t size)
bool write_whole_block (const void *buffer, size_t size)
bool write_whole_stream (std::streambuf &streambuf)
bool write_whole_stream (std::istream &stream)
bool write_whole_stream (ReadStreamHandle stream)
template<typename T >
bool write_variable (const T &v)
- Public Member Functions inherited from synfig::FileSystem::Stream
virtual ~Stream ()
Handle file_system () const

Protected Member Functions

 WriteStream (Handle file_system)
virtual int overflow (int ch)
virtual size_t internal_write (const void *buffer, size_t size)=0
- Protected Member Functions inherited from synfig::FileSystem::Stream
 Stream (Handle file_system)

Additional Inherited Members

- Protected Attributes inherited from synfig::FileSystem::Stream
Handle file_system_

Constructor & Destructor Documentation

FileSystem::WriteStream::WriteStream ( Handle  file_system)
protected

Member Function Documentation

int FileSystem::WriteStream::overflow ( int  ch)
protectedvirtual
virtual size_t synfig::FileSystem::WriteStream::internal_write ( const void *  buffer,
size_t  size 
)
protectedpure virtual
bool synfig::FileSystem::WriteStream::write_block ( const void *  buffer,
size_t  size 
)
inline

Referenced by write_whole_block().

bool synfig::FileSystem::WriteStream::write_whole_block ( const void *  buffer,
size_t  size 
)
inline

References write_block().

Referenced by write_variable().

bool synfig::FileSystem::WriteStream::write_whole_stream ( std::streambuf &  streambuf)
inline
bool synfig::FileSystem::WriteStream::write_whole_stream ( std::istream &  stream)
inline

References write_whole_stream().

Referenced by write_whole_stream().

bool synfig::FileSystem::WriteStream::write_whole_stream ( ReadStreamHandle  stream)
inline

References write_whole_stream().

Referenced by write_whole_stream().

template<typename T >
bool synfig::FileSystem::WriteStream::write_variable ( const T &  v)
inline

References write_whole_block().


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