Bash++
Bash++ compiler internal documentation
Protected Member Functions | List of all members
NullBuffer Class Reference

A stream buffer that discards all output. More...

#include <NullStream.h>

Inheritance diagram for NullBuffer:
Inheritance graph
[legend]
Collaboration diagram for NullBuffer:
Collaboration graph
[legend]

Protected Member Functions

int overflow (int c) override
 
std::streamsize xsputn (const char *, std::streamsize n) override
 

Detailed Description

A stream buffer that discards all output.

Copyright (C) 2025 Andrew S. Rightenburg Bash++: Bash with classes Licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later)

Member Function Documentation

◆ overflow()

int NullBuffer::overflow ( int  c)
inlineoverrideprotected

◆ xsputn()

std::streamsize NullBuffer::xsputn ( const char *  ,
std::streamsize  n 
)
inlineoverrideprotected

The documentation for this class was generated from the following file: