ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
FFormat Struct Reference

Description:


This interface class exposes interface method Invoke which writes the content of the box to the given AString object in accordance with formatSpec.

See also
For more information about this class see chapter 4.3. Formatting Custom Types of the Programmer's Manual of module ALib BaseCamp .

Definition at line 29 of file lang/format/fwds.hpp.

#include <fwds.hpp>

Public Type Index:

using Signature
 

Type Definition Details:

◆ Signature

using Signature
Initial value:
void (*) ( const Box& self, const String& formatSpec, NumberFormat& nf,
AString& target )
strings::TAString< character > AString
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
boxing::Box Box
Type alias in namespace alib.
strings::TNumberFormat< character > NumberFormat
Type alias in namespace alib.

Signature of the invokable function.
Implementations write the content of box to the given AString object target in accordance to the type-specific format specification formatSpec .

Parameters
selfThe box that the function was invoked on.
formatSpecThe specification of the format (type specific). If empty, a default specification string might have to be chosen.
nfA copy of the number format of the formatter (allowed to be modified).
targetThe AString object receiving the formatted string.

Definition at line 42 of file lang/format/fwds.hpp.


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