![]() |
Mako 8.2.0 API
MakoCore SDK API Documentation
|
Random Access Output Stream. More...
#include <edl/edlstream.h>
Additional Inherited Members | |
| Public Member Functions inherited from IOutputStream | |
| virtual int32 | write (const void *buffer, int32 count)=0 |
| virtual int32 | write (const char *str) |
| Perform a write. | |
| virtual void | writeE (const char *str) |
| Perform a write, throwing an exception on failure. | |
| virtual bool | flush ()=0 |
| virtual int32 | writeFormatted (const char *fmt,...) |
| Perform a formatted write as per fprintf(). | |
| virtual void | writeFormattedE (const char *fmt,...) |
| As writeFormatted(), but throws an exception if the operation fails. | |
| virtual bool | completeWrite (const void *buffer, int32 count) |
| Perform a complete write. | |
| virtual bool | completeWrite (const char *str) |
| Perform a complete write. | |
| virtual void | completeWriteE (const void *buffer, int32 count) |
| As completeWrite(), but throws an exception if the operation fails. | |
| virtual void | completeWriteE (const char *str) |
| As completeWrite(), but throws an exception if the operation fails. | |
| Public Member Functions inherited from IEDLStream | |
| virtual bool | isValid () const =0 |
| Determine stream validity. | |
| virtual bool | open () |
| Opens the stream. | |
| virtual void | openE ()=0 |
| As per open(), but will throw an exception on failure (IEDLError) that for some stream types may contain additional failure information. | |
| virtual void | close ()=0 |
| Closes the stream. | |
| virtual int64 | getPos ()=0 |
| Get current stream position. | |
| Public Member Functions inherited from IEDLObject | |
| virtual const CClassID & | getClassID () const =0 |
| Returns class ID of IEDLObject. | |
| virtual bool | init (CClassParams *pData) |
| The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory. | |
| virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
| Create a copy of EDLObject. | |
| Public Member Functions inherited from IRCObject | |
| virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying. | |
| virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. | |
| virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to. | |
| Public Member Functions inherited from IRAStream | |
| virtual | ~IRAStream () |
| Virtual destructor. | |
| virtual int64 | length ()=0 |
| Get length of the stream. | |
| virtual bool | setPos (int64 newPos)=0 |
| Set stream position. | |
| virtual void | setPosE (int64 newPos) |
| Set stream position, but throw an exception on failure. | |
| Static Public Member Functions inherited from IOutputStream | |
| static EDL_API IRAOutputStreamPtr | createToFile (IEDLClassFactory *pFactory, const EDLSysString &path, bool append=false) |
| Creation function for an IOutputStream for a file on disk. Throws an IEDLError exception on failure. | |
| static EDL_API IRAOutputStreamPtr | createToFile (IEDLClassFactory *pFactory, const EDLString &path, bool append=false) |
| Creation function for an IOutputStream for a file on disk. Throws an IEDLError exception on failure. | |
| static EDL_API IOutputStreamPtr | createFromUserWriteFunc (IEDLClassFactory *pFactory, UserStreamWriteFunc writeFunc, void *priv) |
| Creation function for an IOutputStream from a user function that provides data. Throws an IEDLError exception on failure. | |
| static EDL_API IOutputStreamPtr | createToFlateCompressed (IEDLClassFactory *pFactory, const IOutputStreamPtr &stream, uint32 compressionLevel, bool raw=true) |
| Creation routine for an output stream for compressing a flate stream. Throws an IEDLError exception on failure. | |
| static EDL_API IOutputStreamPtr | createToLz4Compressed (IEDLClassFactory *pFactory, const IOutputStreamPtr &stream, bool openSourceStream=true) |
| Creation routine for an output stream for compressing an lz4 stream. Throws an IEDLError exception on failure. Note: This is not intended for interoperability with other LZ4 formats, but is useful for things like temporary storage. | |
| static EDL_API int64 | copy (const IInputStreamPtr &inStream, const IOutputStreamPtr &outStream) |
| Copy a source stream to a destination stream. Opens and closes both the input and output streams. Throws an IEDLError exception on failure. | |
| static EDL_API int64 | writeStream (const IInputStreamPtr &inStream, const IOutputStreamPtr &outStream) |
| Write the contents of the given stream to an output stream. Opens and closes the input, but does not open or close the output. Throws an IEDLError exception on failure. | |
| Protected Member Functions inherited from IRCObject | |
| virtual | ~IRCObject () |
| Virtual destructor. | |
Random Access Output Stream.