ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
PropertyFormatterMapAppendable< TFormattable, TOptionEnum > Struct Template Reference

Description:

template<typename TFormattable, typename TOptionEnum>
struct alib::lang::format::PropertyFormatterMapAppendable< TFormattable, TOptionEnum >

Helper struct for users of class PropertyFormatters . Objects of this type are appendable to AStrings.

A custom using statement should be used to access this type in a very short fashion, to make "applications" to AStrings a short call. Alternatively one ore more preprocessor macros might even lead to shorter invocations. (See sample in class description).

Definition at line 264 of file propertyformatters.hpp.

#include <propertyformatters.hpp>

Collaboration diagram for PropertyFormatterMapAppendable< TFormattable, TOptionEnum >:
[legend]

Public Field Index:

TFormattable & Formattable
 The object to be formatted.
 
PropertyFormatters< TFormattable, TOptionEnum > & FormatterMap
 The formatter map to use.
 
TOptionEnum Option
 

Public Method Index:

 PropertyFormatterMapAppendable (PropertyFormatters< TFormattable, TOptionEnum > &pFormatterMap, TOptionEnum pOption, TFormattable &pFormattable)
 

Field Details:

◆ Formattable

template<typename TFormattable , typename TOptionEnum >
TFormattable& Formattable

The object to be formatted.

Definition at line 269 of file propertyformatters.hpp.

◆ FormatterMap

template<typename TFormattable , typename TOptionEnum >
PropertyFormatters<TFormattable, TOptionEnum>& FormatterMap

The formatter map to use.

Definition at line 266 of file propertyformatters.hpp.

◆ Option

template<typename TFormattable , typename TOptionEnum >
TOptionEnum Option

The format option defining the PropertyFormatter used.

Definition at line 267 of file propertyformatters.hpp.

Constructor(s) / Destructor Details::

◆ PropertyFormatterMapAppendable()

template<typename TFormattable , typename TOptionEnum >
PropertyFormatterMapAppendable ( PropertyFormatters< TFormattable, TOptionEnum > & pFormatterMap,
TOptionEnum pOption,
TFormattable & pFormattable )
inline

Constructor. Just saves the given parameters.

Parameters
pFormatterMapThe PropertyFormatters to use.
pOptionThe format option defining the PropertyFormatter used.
pFormattableThe object to be formatted.

Definition at line 279 of file propertyformatters.hpp.


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