#include <string-formatter.h>
Public Member Functions | |
bool | generate_message (const std::string &source, size_t num_of_params, const uint32_t *params, std::string *dest) |
string_formatter (std::unordered_map< std::string, std::vector< std::pair< int, std::string >>> enums) | |
~string_formatter (void) | |
Private Member Functions | |
bool | replace_params (const std::string &source, const std::map< std::string, std::string > &exp_replace_map, const std::map< std::string, int > &enum_replace_map, std::string *dest) |
Private Attributes | |
std::unordered_map< std::string, std::vector< std::pair< int, std::string > > > | _enums |
Definition at line 12 of file string-formatter.h.
fw_logger::string_formatter::string_formatter | ( | std::unordered_map< std::string, std::vector< std::pair< int, std::string >>> | enums | ) |
Definition at line 14 of file string-formatter.cpp.
fw_logger::string_formatter::~string_formatter | ( | void | ) |
Definition at line 20 of file string-formatter.cpp.
bool fw_logger::string_formatter::generate_message | ( | const std::string & | source, |
size_t | num_of_params, | ||
const uint32_t * | params, | ||
std::string * | dest | ||
) |
Definition at line 24 of file string-formatter.cpp.
|
private |
Definition at line 71 of file string-formatter.cpp.
|
private |
Definition at line 23 of file string-formatter.h.