104 for (
size_t i = 0; i < size; i++) {
110 std::string str = cstr;
113 stringSet->insert(str);
132 uint64_t size = stringSet.size();
140 for (
auto s = stringSet.begin(); s != stringSet.end(); s++) {
158 std::cerr <<
"StringSet (" <<
this <<
")" << std::endl;
159 for (
auto s = begin(); s != end(); s++) {
160 std::cerr <<
"\t" << *s << std::endl;
void MONITOR_EXT_WRAP_NAME() free(void *ptr)
static int fmt_fread(StringSet *&stringSet, FILE *infs)
static int fmt_fwrite(const StringSet &stringSet, FILE *outfs)
int hpcfmt_str_fwrite(const char *str, FILE *outfs)
static int hpcfmt_int8_fread(uint64_t *val, FILE *infs)
static int hpcfmt_int8_fwrite(uint64_t val, FILE *outfs)
void *MONITOR_EXT_WRAP_NAME() malloc(size_t bytes)
int hpcfmt_str_fread(char **str, FILE *infs, hpcfmt_alloc_fn alloc)