dng_file_stream Class Reference

A stream to/from a disk file. See dng_stream for read/write interface. More...

#include <dng_file_stream.h>

Inheritance diagram for dng_file_stream:

dng_stream

List of all members.


Public Member Functions

 dng_file_stream (const char *filename, bool output=false, uint32 bufferSize=kDefaultBufferSize)

Protected Member Functions

virtual uint64 DoGetLength ()
virtual void DoRead (void *data, uint32 count, uint64 offset)
virtual void DoWrite (const void *data, uint32 count, uint64 offset)

Detailed Description

A stream to/from a disk file. See dng_stream for read/write interface.

Constructor & Destructor Documentation

dng_file_stream::dng_file_stream ( const char *  filename,
bool  output = false,
uint32  bufferSize = kDefaultBufferSize 
)

Open a stream on a file.

Parameters:
filename Pathname in platform synax.
output Set to true if writing, false otherwise.

References ThrowOpenFile(), and ThrowSilentError().


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

Copyright © 2006-2008 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google