LibSWOC++ 1.5.14
Solid Wall of C++
Loading...
Searching...
No Matches
swoc::bwf::NilBinding Class Reference

#include <bwf_base.h>

Inheritance diagram for swoc::bwf::NilBinding:
Inheritance graph
Collaboration diagram for swoc::bwf::NilBinding:
Collaboration graph

Public Member Functions

BufferWriteroperator() (BufferWriter &, Spec const &) const override
 
- Public Member Functions inherited from swoc::bwf::NameBinding
virtual ~NameBinding ()
 Force virtual destructor.
 

Additional Inherited Members

- Static Protected Member Functions inherited from swoc::bwf::NameBinding
static BufferWritererr_invalid_name (BufferWriter &w, Spec const &spec)
 — Names / Generators —
 

Detailed Description

An explicitly empty set of bound names.

To simplify the overall implementation, a name binding is always required to format output. This class is used in situations where there is no available binding or such names would not be useful. This class with throw on any attempt to use a name.

Definition at line 284 of file bwf_base.h.

Member Function Documentation

◆ operator()()

BufferWriter & swoc::bwf::NilBinding::operator() ( BufferWriter & ,
bwf::Spec const &  ) const
inlineoverridevirtual

Do name based formatted output. This always throws an exception.

Implements swoc::bwf::NameBinding.

Definition at line 552 of file bwf_base.h.


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