Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ISeekable Struct Reference

Inheritance diagram for ISeekable:

FileConduit List of all members.

Public Types

enum  SeekAnchor { Begin = 0, Current = 1, End = 2 }

Public Member Functions

long getPosition ()
long seek (long offset)
long seek (long offset, SeekAnchor anchor)

Detailed Description

Models the ability to seek within a conduit.

Definition at line 510 of file IConduit.d.


Member Enumeration Documentation

enum SeekAnchor
 

The anchor positions supported by ISeekable

Enumeration values:
Begin 
Current 
End 

Definition at line 518 of file IConduit.d.


Member Function Documentation

long getPosition  ) 
 

Return the current conduit position (such as file position)

Reimplemented in FileConduit.

long seek long  offset  ) 
 

Move the file position to the given offset (from the conduit start) and return the adjusted position.

Reimplemented in FileConduit.

long seek long  offset,
SeekAnchor  anchor
 

Move the file position to the given offset from the provided anchor point, and return the adjusted position.


The documentation for this struct was generated from the following file:
Generated on Sun Nov 7 19:07:06 2004 for Mango by doxygen 1.3.6