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

Description:

template<typename TFormattable, typename TOptionEnum>
struct alib::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 274 of file propertyformatters.mpp.

Collaboration diagram for alib::format::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& alib::format::PropertyFormatterMapAppendable< TFormattable, TOptionEnum >::Formattable

The object to be formatted.

Definition at line 279 of file propertyformatters.mpp.

◆ FormatterMap

template<typename TFormattable, typename TOptionEnum>
PropertyFormatters<TFormattable, TOptionEnum>& alib::format::PropertyFormatterMapAppendable< TFormattable, TOptionEnum >::FormatterMap

The formatter map to use.

Definition at line 276 of file propertyformatters.mpp.

◆ Option

template<typename TFormattable, typename TOptionEnum>
TOptionEnum alib::format::PropertyFormatterMapAppendable< TFormattable, TOptionEnum >::Option

The format option defining the PropertyFormatter used.

Definition at line 277 of file propertyformatters.mpp.

Constructor(s) / Destructor Details:

◆ PropertyFormatterMapAppendable()

template<typename TFormattable, typename TOptionEnum>
alib::format::PropertyFormatterMapAppendable< TFormattable, 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 287 of file propertyformatters.mpp.


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