Dev Essential
Loading...
Searching...
No Matches
strings_format.h
Go to the documentation of this file.
1
14
15#ifndef A_UTIL_UTIL_STRINGS_STRINGS_FORMAT_HEADER_INCLUDED
16#define A_UTIL_UTIL_STRINGS_STRINGS_FORMAT_HEADER_INCLUDED
17
18#include <string> //std::string
19#include <cstdint>
20
21namespace a_util {
22namespace strings {
29std::string format(const char* str_format, ...);
30
39std::string format(std::size_t initial_buffer_size, const char* str_format, ...);
40
51std::string& format(std::string& buffer, std::size_t& pos, const char* str_format, ...);
52
58std::string toString(bool from);
59
65std::string toString(std::int8_t from);
67std::string toString(std::int16_t from);
69std::string toString(std::int32_t from);
71std::string toString(std::int64_t from);
73std::string toString(std::uint8_t from);
75std::string toString(std::uint16_t from);
77std::string toString(std::uint32_t from);
79std::string toString(std::uint64_t from);
81std::string toString(float from);
83std::string toString(double from);
84
85} // namespace strings
86} // namespace a_util
87
88#endif // A_UTIL_UTIL_STRINGS_STRINGS_FORMAT_HEADER_INCLUDED
Serves as component for string handling and conversion functionality.
Definition strings.h:20
std::string format(const char *str_format,...)
std::string toString(bool from)
Serves as the root component, with common functionality documented in core functionality.
Definition base.h:24