redi::pstreams(3)

πŸ“¦
version 1.0.4 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

redi::pstreams β€” the common base class that provides constants and typenames 🫢

It's giving "everyone's mom friend", because basically the whole PStreams fam inherits from it. This page lives in the Library Functions Manual (section 3, the library-calls girlies), and it's the doc for the PStreams library's shared base class. No cap.


✨ SYNOPSIS ✨

#include <pstream.h>

🌈 Inherited by

Bestie. Sit down. The list is long and we're getting through all of it, because every single one of these is a real child class and we don't skip:

  • redi::basic_ipstream< char > [virtual]
  • redi::basic_opstream< char > [virtual]
  • redi::basic_pstream< char > [virtual]
  • redi::basic_pstreambuf< CharT, Traits >
  • redi::basic_pstreambuf< char >
  • redi::basic_pstreambuf< CharT, std::char_traits< CharT > >
  • redi::basic_rpstream< char > [virtual]
  • redi::pstream_common< CharT, Traits > [virtual]
  • redi::pstream_common< CharT, std::char_traits< CharT > > [virtual]
  • redi::basic_ipstream< CharT, Traits > [virtual]
  • redi::basic_opstream< CharT, Traits > [virtual]
  • redi::basic_pstream< CharT, Traits > [virtual]
  • redi::basic_pstreambuf< CharT, Traits >
  • redi::basic_rpstream< CharT, Traits > [virtual]
  • redi::pstream_common< CharT, Traits > [virtual]
Yes, a couple of these show up more than once. That's what the original says, so that's what you're getting. We do not edit the sacred list πŸ’…

πŸŽ€ Public Types

  • typedef std::ios_base::openmode pmode β€” the type you use to say how you wanna connect to the process. It's the vibe-setter for your pipe. ✨
  • typedef std::vector< std::string > argv_type β€” the type that holds the arguments for a command. All your little command-line besties go in here. πŸ“
  • typedef int fd_type β€” the type used for file descriptors. Plain old int, humble but iconic. πŸ‘‘

⭐ Static Public Attributes

  • static const pmode pstdin = std::ios_base::out β€” write to stdin. (Yes, writing to stdin, that's the assignment, don't fight it 🫢)
  • static const pmode pstdout = std::ios_base::in β€” read from stdout. πŸ“–
  • static const pmode pstderr = std::ios_base::app β€” read from stderr. πŸ‘€
  • static const pmode newpg = std::ios_base::trunc β€” create a new process group for the child process. New group, who dis. πŸ”₯

πŸ¦‹ Protected Types

enum { bufsz = 32, pbsz = 2 }

Protected means the outside world doesn't get to touch these, they're for the family only. Keep it in the group chat, iykyk.


🌸 Detailed Description 🌸

Common base class providing constants and typenames.

That's the whole description bestie. It's short but it's doing a LOT of emotional labour for the entire class hierarchy. Main character energy. πŸ’œ


🧚 Member Enumeration Documentation 🧚

πŸ’« anonymous enum [protected]

This enum has no name (mysterious! ethereal! anonymous! πŸ’€) and it's protected, so it's strictly for the inner circle.

Enumerator

  • bufsz β€” size of pstreambuf buffers. It's 32. ✨
  • pbsz β€” number of putback characters kept. It's 2. πŸŽ€

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for PStreams from the source code.

So like… nobody wrote this, a robot did. And honestly? Slay, Doxygen. πŸ€–πŸ’…


Okay that's the whole page bestie!! Go forth and inherit responsibly!! πŸ«ΆπŸ’–βœ¨

This was page redi::pstreams(3) from the PStreams library β€” generated automatically by Doxygen for PStreams from the source code. Byeee, love u, read your man pages!! πŸŒˆπŸ’–πŸŽ€

πŸ“¦ where this page comes from