|
reSIProcate/rutil
9694
|
Used to replace std::cerr, std::cout, etc. More...
#include <resipfaststreams.hxx>


Public Types | |
| enum | BufType { null, stdCerr, stdCout } |
| typedef enum resip::ResipStdBuf::BufType | BufType |
Public Member Functions | |
| ResipStdBuf (BufType type) | |
| ~ResipStdBuf (void) | |
| virtual size_t | writebuf (const char *s, size_t count) |
| virtual size_t | readbuf (char *buf, size_t count) |
| virtual size_t | putbuf (char ch) |
| virtual void | flushbuf (void) |
| virtual UInt64 | tellpbuf (void) |
Private Attributes | |
| BufType | type_ |
Used to replace std::cerr, std::cout, etc.
Definition at line 446 of file resipfaststreams.hxx.
| typedef enum resip::ResipStdBuf::BufType resip::ResipStdBuf::BufType |
| resip::ResipStdBuf::ResipStdBuf | ( | BufType | type | ) | [inline] |
Definition at line 456 of file resipfaststreams.hxx.
:type_(type) {}
| resip::ResipStdBuf::~ResipStdBuf | ( | void | ) | [inline] |
Definition at line 460 of file resipfaststreams.hxx.
{}
| virtual void resip::ResipStdBuf::flushbuf | ( | void | ) | [inline, virtual] |
| virtual size_t resip::ResipStdBuf::putbuf | ( | char | ch | ) | [inline, virtual] |
Implements resip::ResipStreamBuf.
Definition at line 486 of file resipfaststreams.hxx.
References writebuf().
{
return writebuf(&ch,1);
}

| virtual size_t resip::ResipStdBuf::readbuf | ( | char * | buf, |
| size_t | count | ||
| ) | [inline, virtual] |
Implements resip::ResipStreamBuf.
Definition at line 482 of file resipfaststreams.hxx.
{
return 0;
}
| virtual UInt64 resip::ResipStdBuf::tellpbuf | ( | void | ) | [inline, virtual] |
Implements resip::ResipStreamBuf.
Definition at line 492 of file resipfaststreams.hxx.
{
return 0;
}
| virtual size_t resip::ResipStdBuf::writebuf | ( | const char * | s, |
| size_t | count | ||
| ) | [inline, virtual] |
Implements resip::ResipStreamBuf.
Definition at line 463 of file resipfaststreams.hxx.
References stdCerr, stdCout, and type_.
Referenced by putbuf().
BufType resip::ResipStdBuf::type_ [private] |
Definition at line 498 of file resipfaststreams.hxx.
Referenced by writebuf().
1.7.5.1