|
LibSWOC++ 1.5.14
Solid Wall of C++
|
#include <bwf_base.h>


Public Member Functions | |
| NameBinding const & | bind () const |
| The bound accessor is this class. | |
| BufferWriter & | operator() (BufferWriter &w, const Spec &spec) const override |
| Bound name access. | |
Public Member Functions inherited from swoc::bwf::NameMap< ExternalGeneratorSignature > | |
| NameMap () | |
| Construct an empty container. | |
| NameMap (std::initializer_list< std::tuple< std::string_view, Generator const & > > list) | |
| Construct and assign the names and generators in list. | |
| self_type & | assign (std::string_view const &name, Generator const &generator) |
| bool | contains (std::string_view name) |
| NameMap () | |
| Construct an empty container. | |
| NameMap (std::initializer_list< std::tuple< std::string_view, Generator const & > > list) | |
| Construct and assign the names and generators in list. | |
| self_type & | assign (std::string_view const &name, Generator const &generator) |
| bool | contains (std::string_view name) |
Public Member Functions inherited from swoc::bwf::NameBinding | |
| virtual | ~NameBinding () |
| Force virtual destructor. | |
Additional Inherited Members | |
Public Types inherited from swoc::bwf::NameMap< ExternalGeneratorSignature > | |
| using | Generator |
| Signature for generators. | |
Protected Types inherited from swoc::bwf::NameMap< ExternalGeneratorSignature > | |
| using | Map |
Protected Member Functions inherited from swoc::bwf::NameMap< ExternalGeneratorSignature > | |
| std::string_view | localize (std::string_view const &name) |
| Copy name in to local storage and return a view of it. | |
| std::string_view | localize (std::string_view const &name) |
| Copy name in to local storage and return a view of it. | |
Static Protected Member Functions inherited from swoc::bwf::NameBinding | |
| static BufferWriter & | err_invalid_name (BufferWriter &w, Spec const &spec) |
| — Names / Generators — | |
Protected Attributes inherited from swoc::bwf::NameMap< ExternalGeneratorSignature > | |
| Map | _map |
| Name to name generator. | |
| MemArena | _arena |
| Local name storage. | |
| Map | _map |
| Name to name generator. | |
| MemArena | _arena |
| Local name storage. | |
A class to hold external / context-free name bindings.
These names access external data and therefore have no context. An externally accessible singleton instance of this is used as the default if no explicit name set is provided. This enables the executable to establish a set of global names to be used.
Definition at line 345 of file bwf_base.h.
|
inline |
The bound accessor is this class.
Definition at line 617 of file bwf_base.h.
|
inlineoverridevirtual |