109template<
typename TFormattable,
typename TVariables >
119 std::unordered_map<TVariables, PropertyFormatter*>
formatters;
156 ,
config ( configuration )
177 void Format(
AString& target, TVariables option, TFormattable& formattable ) {
183 if( varEntryIt.Enum() == option ) {
190 formatter=
formatters.emplace( std::make_pair( option,
197 "No entry for option {!Q<>} found in option table of PropertyFormatters.",
198 static_cast<std::underlying_type_t<TVariables>
>(option) )
201 formatter->second->Format( target, formattable );
213template<
typename TFormattable,
typename TOptionEnum >
225 TFormattable& pFormattable )
239 namespace APPENDABLES {
247template<
typename TFormattable,
typename TOptionEnum >
256 TOptionEnum>& src ) {
257 src.FormatterMap.Format( target, src.Option, src.Formattable );
266template<
typename TFormattable,
typename TOptionEnum >
287template<
typename TFormattable,
typename TOptionEnum >
#define ALIB_CALLER_NULLED
#define ALIB_ASSERT_ERROR(cond, domain,...)
constexpr bool IsEmpty() const
Priority GetPriority() const
containers::SharedPtr< format::Formatter > SPFormatter
variables::Variable Variable
Type alias in namespace #"%alib".
enumrecords::EnumRecords< TEnum > EnumRecords
Type alias in namespace #"%alib".
format::PropertyFormatter PropertyFormatter
Type alias in namespace #"%alib".
exceptions::Exception Exception
Type alias in namespace #"%alib".
LocalString< 256 > String256
Type alias name for #"TLocalString;TLocalString<character,256>".
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace #"%alib".
characters::character character
Type alias in namespace #"%alib".
format::PropertyFormatters< TFormattable, TOptionEnum > PropertyFormatters
Type alias in namespace #"%alib".