|
LibSWOC++ 1.5.14
Solid Wall of C++
|
Specialized binding for names in an instance of ContextNames.
More...
#include <bwf_base.h>


Public Member Functions | |
| BufferWriter & | operator() (BufferWriter &w, const Spec &spec) const override |
Public Member Functions inherited from swoc::bwf::NameBinding | |
| virtual | ~NameBinding () |
| Force virtual destructor. | |
Protected Member Functions | |
| Binding (ContextNames const &names, context_type &ctx) | |
Protected Attributes | |
| context_type & | _ctx |
| Context for generators. | |
| ContextNames const & | _names |
| Base set of names. | |
Friends | |
| class | ContextNames |
Additional Inherited Members | |
Static Protected Member Functions inherited from swoc::bwf::NameBinding | |
| static BufferWriter & | err_invalid_name (BufferWriter &w, Spec const &spec) |
| — Names / Generators — | |
Specialized binding for names in an instance of ContextNames.
Definition at line 398 of file bwf_base.h.
|
inlineprotected |
Constructor.
| names | Names to define for the binding. |
| ctx | Binding context. |
Definition at line 420 of file bwf_base.h.
|
inlineoverridevirtual |
Override of virtual method to provide an implementation.
| w | Output. |
| spec | Format specifier for output. |
This is called from the formatting logic to generate output for a named specifier. Subclasses that need to handle name dispatch differently need only override this method.
Implements swoc::bwf::NameBinding.
Definition at line 410 of file bwf_base.h.
|
friend |
Definition at line 425 of file bwf_base.h.
|
protected |
Context for generators.
Definition at line 422 of file bwf_base.h.
|
protected |
Base set of names.
Definition at line 423 of file bwf_base.h.