ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Types | List of all members
FFormat Struct Reference

#include <fwds.hpp>

Class 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 3. Formatting Custom Types of the Programmer's Manual of module ALib Text.

Definition at line 31 of file text/fwds.hpp.

Public Types

using Signature = void(*)(const Box &self, const String &formatSpec, AString &target)
 

Member Typedef Documentation

◆ Signature

using Signature = void (*) ( const Box& self, const String& formatSpec, AString& target )

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.
targetThe AString object receiving the formatted string.

Definition at line 43 of file text/fwds.hpp.


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