ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Fields | Public Methods | List of all members
PropertyFormatterMapAppendable< TFormattable, TOptionEnum > Struct Template Reference

#include <propertyformatters.hpp>

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

Class Description

template<typename TFormattable, typename TOptionEnum>
struct aworx::lib::text::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 263 of file propertyformatters.hpp.

Public Fields

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

Public Methods

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

Constructor & Destructor Documentation

◆ PropertyFormatterMapAppendable()

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 278 of file propertyformatters.hpp.

Member Data Documentation

◆ Option

TOptionEnum Option

The format option defining the PropertyFormatter used.

Definition at line 266 of file propertyformatters.hpp.


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