#include <protocols.h>
Public Member Functions | |
int | get (void) |
Get the next character. | |
int | put (int code) |
Put the next character. | |
Protected Member Functions | |
virtual int | _getch (void)=0 |
Get the next character. | |
virtual int | _putch (int code)=0 |
Put the next character. |
This is used to access a character from some type of streaming buffer or memory object.
Definition at line 124 of file protocols.h.
virtual int ucc::CharacterProtocol::_getch | ( | void | ) | [protected, pure virtual] |
Get the next character.
Implemented in ucc::BufferProtocol, ucc::tcpstream, ucc::pipestream, and ucc::filestream.
virtual int ucc::CharacterProtocol::_putch | ( | int | code | ) | [protected, pure virtual] |
Put the next character.
code | to put. |
Implemented in ucc::BufferProtocol, ucc::tcpstream, ucc::pipestream, and ucc::filestream.
int ucc::CharacterProtocol::get | ( | void | ) | [inline] |
int ucc::CharacterProtocol::put | ( | int | code | ) | [inline] |
Put the next character.
code | to put. |
Definition at line 153 of file protocols.h.