Annotation of researchv10dc/man/mana/pipestream.3, revision 1.1.1.1

1.1       root        1: .  \"ident     "%W%"
                      2: .  \"Copyright (c) 1984 AT&T
                      3: .  \"All Rights Reserved
                      4: .  \"THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
                      5: .  \"The copyright notice above does not evidence any
                      6: .  \"actual or intended publication of such source code.
                      7: .TH PIPESTREAM 3I+ "C++ Stream Library" " "
                      8: .SH NAME
                      9: pipestream \- iostream specialized as circular buffer
                     10: .SH SYNOPSIS
                     11: .ft B
                     12: .ta1i 2i
                     13: .nf
                     14: #include <iostream.h>
                     15: #include <pipestream.h>
                     16: 
                     17: class pipestream : public iostream {
                     18: public:
                     19:                pipestream();
                     20:                pipestream(char* ptr, int len);
                     21:        pipebuf*        rdbuf();
                     22:        } ;
                     23: .fi
                     24: .ft R
                     25: .SH DESCRIPTION
                     26: \f(CWpipestream\fR 
                     27: specializes
                     28: \f(CWiostream\fR
                     29: to use a circular buffer (\f(CWpipebuf\fR).
                     30: .PP
                     31: Assume
                     32: .br
                     33: \(em \fBps\fR is a \f(CWpipestream\fR.
                     34: .br
                     35: \(em \fBptr\fR is a \f(CWchar*\fR.
                     36: .br
                     37: \(em \fBlen\fR is an \f(CWint\fR.
                     38: .br
                     39: \(em \fBpb\fR is a \f(CWpipebuf*\fR.
                     40: .PP
                     41: Constructors:
                     42: .TP
                     43: \fBpipestream()\fR
                     44: Constructs a \f(CWpipestream\fP with an empty \f(CWpipebuf\fR.
                     45: .TP
                     46: \fBpipestream(ptr,len)\fR
                     47: Constructs a \f(CWpipestream\fP with a \f(CWpipebuf\fR
                     48: that uses the \fBlen\fR bytes
                     49: at \fBptr\fR as a reserve area.
                     50: .PP
                     51: Members:
                     52: .TP
                     53: \fBpb=ps.rdbuf()\fR
                     54: Returns the associated \fBpipebuf\fR. \fBpipebuf::rdbuf\fR has
                     55: the same semantics as \fBstreambuf::rdbuf\fR, but the type of
                     56: the result is more precise.
                     57: .SH SEE ALSO
                     58: pipebuf(3C++)
                     59: ios(3C++)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.