jaulib v1.4.1-10-ga2c96e0
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::cfmt::NullOutput Class Reference

A null OutputType for constexpr and consteval formatting dropping all output. More...

#include <string_cfmt.hpp>

Collaboration diagram for jau::cfmt::NullOutput:

Public Member Functions

constexpr NullOutput () noexcept=default
 
constexpr void appendError (size_t, int, const std::string_view) noexcept
 
template<typename T>
requires jau::req::stringifyable_jau<T>
constexpr void appendFormatted (const FormatOpts &, const T &) noexcept
 
constexpr void appendText (std::string_view) noexcept
 
constexpr bool fits (size_t) const noexcept
 
std::string_view get () const noexcept
 
constexpr size_t maxLen () const noexcept
 

Detailed Description

A null OutputType for constexpr and consteval formatting dropping all output.

Definition at line 1189 of file string_cfmt.hpp.

Constructor & Destructor Documentation

◆ NullOutput()

jau::cfmt::NullOutput::NullOutput ( )
constexprdefaultnoexcept

Member Function Documentation

◆ maxLen()

size_t jau::cfmt::NullOutput::maxLen ( ) const
inlineconstexprnoexcept

Definition at line 1193 of file string_cfmt.hpp.

Here is the caller graph for this function:

◆ fits()

bool jau::cfmt::NullOutput::fits ( size_t ) const
inlineconstexprnoexcept

Definition at line 1194 of file string_cfmt.hpp.

◆ get()

std::string_view jau::cfmt::NullOutput::get ( ) const
inlinenoexcept

Definition at line 1196 of file string_cfmt.hpp.

◆ appendFormatted()

template<typename T>
requires jau::req::stringifyable_jau<T>
void jau::cfmt::NullOutput::appendFormatted ( const FormatOpts & ,
const T &  )
inlineconstexprnoexcept

Definition at line 1200 of file string_cfmt.hpp.

◆ appendText()

void jau::cfmt::NullOutput::appendText ( std::string_view )
inlineconstexprnoexcept

Definition at line 1202 of file string_cfmt.hpp.

◆ appendError()

void jau::cfmt::NullOutput::appendError ( size_t ,
int ,
const std::string_view  )
inlineconstexprnoexcept

Definition at line 1203 of file string_cfmt.hpp.


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