| CHAR_TYPE* Chusov::String::AllocateAndFormatStringByTags | ( | const CHAR_TYPE *restrict | lpszTagFormatString, |
| unsigned int | cNumberOfTagsPresent, | ||
| ... | |||
| ) |
Allocates and initializes a multibyte string defined by format specified using PrintfA_s control sequences and user-defined tags.
| CHAR_TYPE | is a type of the allocated string. Currently the template is defined only for CHAR_TYPE=char and CHAR_TYPE=wchar_t resolving to AllocateAndFormatStringByTagsA and AllocateAndFormatStringByTagsW respectively. |
| [in] | lpszTagFormatString | is a zero-terminated string specifying format using PrintfA_s (if CHAR_TYPE=char) or PrintfW_s (if CHAR_TYPE=wchar_t) control sequences and tag words. |
| cNumberOfTagsPresent | is a number of different tags specified in the format string and, therefore, a number of groups of entities of the variable parameters list. See AllocateAndFormatStringByTagsA and AllocateAndFormatStringByTagsW for further explanation. | |
| ... | is a set of parameters for formatting the output. See See AllocateAndFormatStringByTagsA and AllocateAndFormatStringByTagsW for further explanation. |