Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

zapIFileIn Interface Reference
[ZAP Media Kit (ZMK) module]

import "zapIFileIn.idl";

List of all members.

Public Member Functions

long long seek (in long long offset, in short origin)
 Seek to the given position or by the given offset.

Public Attributes

const short ZAP_FILEIN_SEEK_SET = 0
 Origins for seeking.
const short ZAP_FILEIN_SEEK_CUR = 1
const short ZAP_FILEIN_SEEK_END = 2


Member Function Documentation

long long zapIFileIn::seek in long long  offset,
in short  origin
 

Seek to the given position or by the given offset.

A new streaminfo will be set, if this filein node was opened with generateEOF==true. Throws an exception if 'origin' is not one of the constants defined above, or if the file is not open. Returns the new offset measured in bytes from the beginning of the file if the seek was successful, or -1 otherwise.


Member Data Documentation

const short zapIFileIn::ZAP_FILEIN_SEEK_CUR = 1
 

const short zapIFileIn::ZAP_FILEIN_SEEK_END = 2
 

const short zapIFileIn::ZAP_FILEIN_SEEK_SET = 0
 

Origins for seeking.


The documentation for this interface was generated from the following file:
Generated on Thu Aug 28 00:00:02 2008 for Mozilla ZAP by  doxygen 1.4.4