---
name: "redi"
section: "3"
platform: "linux"
package: "libpstreams-dev"
version: "1.0.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/redi"
---

# redi(3)

All PStreams classes are declared in namespace redi

## NAME

redi - All PStreams classes are declared in namespace redi

## SYNOPSIS

### Classes

class **basic\_ipstream**\
 Class template for Input PStreams.  class **basic\_opstream**\
 Class template for Output PStreams.  class **basic\_pstream**\
 Class template for Bidirectional PStreams.  class **basic\_pstreambuf**\
 Class template for stream buffer.  class **basic\_rpstream**\
 Class template for Restricted PStreams.  class **pstream\_common**\
 Class template for common base class.  struct **pstreams**\
 Common base class providing constants and typenames.

### Typedefs

typedef **basic\_pstreambuf**\< char \> **pstreambuf**\
 Type definition for common template specialisation.  typedef **basic\_ipstream**\< char \> **ipstream**\
 Type definition for common template specialisation.  typedef **basic\_opstream**\< char \> **opstream**\
 Type definition for common template specialisation.  typedef **basic\_pstream**\< char \> **pstream**\
 Type definition for common template specialisation.  typedef **basic\_rpstream**\< char \> **rpstream**\
 Type definition for common template specialisation.

## Detailed Description

All PStreams classes are declared in namespace redi.

Like the standard iostreams, PStreams is a set of class templates, taking a character type and traits type. As with the standard streams they are most likely to be used with `char` and the default traits type, so typedefs for this most common case are provided.

The **pstream\_common class template is not intended to be used directly, it is used internally to provide the common functionality for the other stream classes.**

## Author

**Generated automatically by Doxygen for PStreams from the source code.**
