BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslfmt::FormatterCharUtil< char > Struct Reference

#include <bslfmt_formattercharutil.h>

Detailed Description

This is a specialization of FormatterCharUtil template providing utility functions for outputting data to the objects specialized by char type and referred by the corresponding output iterator.

Static Public Member Functions

template<class t_ITERATOR >
static t_ITERATOR outputFromChar (const char *begin, const char *end, t_ITERATOR out)
 
template<class t_ITERATOR >
static t_ITERATOR outputFromChar (const char value, t_ITERATOR out)
 
static void toUpper (char *begin, const char *end)
 

Member Function Documentation

◆ outputFromChar() [1/2]

template<class t_ITERATOR >
t_ITERATOR bslfmt::FormatterCharUtil< char >::outputFromChar ( const char *  begin,
const char *  end,
t_ITERATOR  out 
)
static

Output to the specified output iterator out the character sequence starting at the specified begin address and ending immediately before the specified end address. Return out incremented by the number of characters written.

Precondition
The behavior is undefined unless begin <= end.

◆ outputFromChar() [2/2]

template<class t_ITERATOR >
t_ITERATOR bslfmt::FormatterCharUtil< char >::outputFromChar ( const char  value,
t_ITERATOR  out 
)
static

Output to the specified output iterator out the specified value. Return incremented out.

◆ toUpper()

void bslfmt::FormatterCharUtil< char >::toUpper ( char *  begin,
const char *  end 
)
inlinestatic

Convert all characters in the sequence starting at the specified begin address and ending immediately before the specified end address to uppercase.
Note that conversion happens in-place.

Precondition
The behavior is undefined unless begin <= end.

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