Back to index

courier  0.68.2
Public Member Functions
MioStdio Class Reference

#include <mio.h>

Inheritance diagram for MioStdio:
Inheritance graph
[legend]
Collaboration diagram for MioStdio:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MioStdio (int)
 ~MioStdio ()
int write (const void *, int)
void write (const char *p)
int Open (const char *, int, mode_t=0666)
void Close ()
int peek ()
int get ()
int put (int c)
int seek (off_t, int)
int Rewind ()
off_t tell ()
int fd ()
void fd (int f)
int errflag ()
void my_clearerr ()
int flush ()
Miooperator<< (const char *p)
Miooperator<< (const class Buffer &)

Detailed Description

Definition at line 71 of file mio.h.


Constructor & Destructor Documentation

MioStdio::MioStdio ( int  )

Member Function Documentation

void Mio::Close ( ) [inherited]

Here is the caller graph for this function:

int Mio::errflag ( ) [inline, inherited]

Definition at line 57 of file mio.h.

{ return (err); }
int Mio::fd ( ) [inline, inherited]

Definition at line 48 of file mio.h.

{ return (fd_); }

Here is the caller graph for this function:

void Mio::fd ( int  f) [inline, inherited]

Definition at line 49 of file mio.h.

Here is the call graph for this function:

int Mio::flush ( ) [inline, inherited]

Definition at line 59 of file mio.h.

{ return (flush(-1)); }

Here is the call graph for this function:

Here is the caller graph for this function:

int Mio::get ( ) [inline, inherited]

Definition at line 41 of file mio.h.

{ return (readcnt ? (--readcnt,*readptr++):fill()); }

Here is the call graph for this function:

Here is the caller graph for this function:

void Mio::my_clearerr ( ) [inline, inherited]

Definition at line 58 of file mio.h.

{ err=0; }
int Mio::Open ( const char *  ,
int  ,
mode_t  = 0666 
) [inherited]
Mio& Mio::operator<< ( const char *  p) [inline, inherited]

Definition at line 63 of file mio.h.

{ write(p); return (*this); }

Here is the call graph for this function:

Mio& Mio::operator<< ( const class Buffer ) [inherited]
int Mio::peek ( ) [inline, inherited]

Definition at line 39 of file mio.h.

                  { return (readcnt ? *readptr:
                     fill() < 0 ? -1:(++readcnt,*--readptr)); }

Here is the call graph for this function:

Here is the caller graph for this function:

int Mio::put ( int  c) [inline, inherited]

Definition at line 42 of file mio.h.

                      { return (writecnt ?
                            (--writecnt,*writeptr++=c):flush(c)); }

Here is the call graph for this function:

int Mio::Rewind ( ) [inherited]
int Mio::seek ( off_t  ,
int   
) [inherited]

Here is the caller graph for this function:

off_t Mio::tell ( ) [inherited]

Here is the caller graph for this function:

int MioStdio::write ( const void *  ,
int   
) [virtual]

Reimplemented from Mio.

void MioStdio::write ( const char *  p) [inline]

Reimplemented from Mio.

Definition at line 76 of file mio.h.

{ write(p, strlen(p)); }

Here is the call graph for this function:

Here is the caller graph for this function:


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