vil_stream_url Class Reference

#include <vil_stream_url.h>

Inheritance diagram for vil_stream_url:

vil_stream List of all members.

Detailed Description

open an URL.

Definition at line 16 of file vil_stream_url.h.


Public Member Functions

 vil_stream_url (char const *)
 ~vil_stream_url ()
bool ok () const
 Return false if the stream is broken.
vil_streampos write (void const *buf, vil_streampos n)
 Write n bytes from buf. Returns number of bytes written.
vil_streampos read (void *buf, vil_streampos n)
 Read n bytes into buf. Returns number of bytes read.
vil_streampos tell () const
 Return file pointer.
void seek (vil_streampos position)
 Goto file pointer.
vil_streampos file_size () const
 Amount of data in the stream.
void ref ()
 up/down the reference count.
void unref ()

Private Member Functions

 vil_stream_url (vil_stream_url const &)
void operator= (vil_stream_url const &)

Private Attributes

vil_streamu_

Constructor & Destructor Documentation

vil_stream_url::vil_stream_url ( vil_stream_url const &   )  [inline, private]

Definition at line 21 of file vil_stream_url.h.

vil_stream_url::vil_stream_url ( char const *   ) 

Definition at line 117 of file vil_stream_url.cxx.

vil_stream_url::~vil_stream_url (  ) 

Definition at line 320 of file vil_stream_url.cxx.


Member Function Documentation

void vil_stream_url::operator= ( vil_stream_url const &   )  [inline, private]

Definition at line 22 of file vil_stream_url.h.

bool vil_stream_url::ok (  )  const [inline, virtual]

Return false if the stream is broken.

Implements vil_stream.

Definition at line 28 of file vil_stream_url.h.

vil_streampos vil_stream_url::write ( void const *  buf,
vil_streampos  n 
) [inline, virtual]

Write n bytes from buf. Returns number of bytes written.

The return value is less than n only in case of device failure.

Implements vil_stream.

Definition at line 29 of file vil_stream_url.h.

vil_streampos vil_stream_url::read ( void *  buf,
vil_streampos  n 
) [inline, virtual]

Read n bytes into buf. Returns number of bytes read.

The return value is less than n only at eof.

Implements vil_stream.

Definition at line 31 of file vil_stream_url.h.

vil_streampos vil_stream_url::tell (  )  const [inline, virtual]

Return file pointer.

Implements vil_stream.

Definition at line 32 of file vil_stream_url.h.

void vil_stream_url::seek ( vil_streampos  position  )  [inline, virtual]

Goto file pointer.

Implements vil_stream.

Definition at line 33 of file vil_stream_url.h.

vil_streampos vil_stream_url::file_size (  )  const [inline, virtual]

Amount of data in the stream.

Implements vil_stream.

Definition at line 35 of file vil_stream_url.h.

void vil_stream::ref (  )  [inline, inherited]

up/down the reference count.

Definition at line 48 of file vil_stream.h.

void vil_stream::unref (  )  [inherited]

Definition at line 31 of file vil_stream.cxx.


Member Data Documentation

vil_stream* vil_stream_url::u_ [private]

Definition at line 18 of file vil_stream_url.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 22 05:08:01 2008 for core/vil by  doxygen 1.5.1