|
| virtual int32 | write (const void *buffer, int32 count)=0 |
| | Perform a write.
|
| virtual int32 | writeE (const void *buffer, int32 count) |
| | Perform a write, throwing an exception on failure.
|
| virtual int32 | write (const char *str) |
| | Perform a write.
|
| virtual int32 | writeE (const char *str) |
| | Perform a write, throwing an exception on failure.
|
| virtual bool | flush ()=0 |
| | Flush the given stream.
|
| virtual int32 | writeFormatted (const char *fmt,...) |
| | Perform a formatted write as per fprintf().
|
| virtual int32 | 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.
|
| virtual void | flushE () |
| | As flush(), but throws an exception if the operation fails.
|
| 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.
|
| 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.
|
| 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.
|
|
| 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.
|
Generic output stream. Abstract base class for output streams.