BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslfmt::FormatterBool_Imp< t_CHAR > Struct Template Reference

#include <bslfmt_formatterbool.h>

Inheritance diagram for bslfmt::FormatterBool_Imp< t_CHAR >:
bslfmt::FormatterIntegralBase< bool, t_CHAR >

Detailed Description

template<class t_CHAR>
struct bslfmt::FormatterBool_Imp< t_CHAR >

This type implements the formatter logic specific to the boolean type.

See bslfmt_formatterbool

Public Member Functions

template<class t_FORMAT_CONTEXT >
t_FORMAT_CONTEXT::iterator format (bool value, t_FORMAT_CONTEXT &formatContext) const
 
- Public Member Functions inherited from bslfmt::FormatterIntegralBase< bool, t_CHAR >
BSLS_KEYWORD_CONSTEXPR_CPP20 t_PARSE_CONTEXT::iterator parse (t_PARSE_CONTEXT &parseContext)
 
char * formatPrefix (char *prefixStorage, int storageSize, t_ACTUAL_VALUE_TYPE value) const
 
t_CHAR * formatValue (t_CHAR *valueStorage, int storageSize, t_ACTUAL_VALUE_TYPE value) const
 
t_FORMAT_CONTEXT::iterator outputValue (const char *prefixBegin, const char *prefixEnd, const t_CHAR *valueBegin, const t_CHAR *valueEnd, t_FORMAT_CONTEXT &formatContext) const
 
const StandardFormatSpecification< t_CHAR > & specification () const
 

Member Function Documentation

◆ format()

template<class t_CHAR >
template<class t_FORMAT_CONTEXT >
t_FORMAT_CONTEXT::iterator bslfmt::FormatterBool_Imp< t_CHAR >::format ( bool  value,
t_FORMAT_CONTEXT &  formatContext 
) const
inline

Create string representation of the specified value, customized in accordance with the requested format and the specified formatContext, and copy it to the output that the output iterator of the formatContext points to.


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