![]() |
as_stringmap provides a convenience interface for populating a map with string keys.
Get the specified key's value as an as_val.
Definition at line 120 of file as_stringmap.h.
References as_string::as_string_init(), and as_util_hook.
Get the specified key's value as an as_bytes.
Definition at line 172 of file as_stringmap.h.
References as_bytes::as_bytes_fromval(), as_string::as_string_init(), and as_util_hook.
|
inline |
Get the specified key's value as an int64_t.
Definition at line 130 of file as_stringmap.h.
References as_integer::as_integer_fromval(), as_integer::as_integer_toint(), as_string::as_string_init(), and as_util_hook.
|
inline |
Get the specified key's value as an as_integer.
Definition at line 152 of file as_stringmap.h.
References as_integer::as_integer_fromval(), as_string::as_string_init(), and as_util_hook.
Get the specified key's value as an as_list.
Definition at line 182 of file as_stringmap.h.
References as_list::as_list_fromval(), as_string::as_string_init(), and as_util_hook.
Get the specified key's value as an as_map.
Definition at line 192 of file as_stringmap.h.
References as_map::as_map_fromval(), as_string::as_string_init(), and as_util_hook.
|
inline |
Get the specified key's value as a NULL terminated string.
Definition at line 141 of file as_stringmap.h.
References as_string::as_string_fromval(), as_string::as_string_init(), as_string::as_string_tostring(), and as_util_hook.
Get the specified key's value as an as_string.
Definition at line 162 of file as_stringmap.h.
References as_string::as_string_fromval(), as_string::as_string_init(), and as_util_hook.
Set the specified key's value to an as_val.
Definition at line 52 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.
Set the specified key's value to an as_bytes.
Definition at line 92 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.
|
inline |
Set the specified key's value to an int64_t.
Definition at line 60 of file as_stringmap.h.
References as_integer::as_integer_new(), as_string::as_string_new(), and as_util_hook.
|
inline |
Set the specified key's value to an as_integer.
Definition at line 76 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.
Set the specified key's value to an as_list.
Definition at line 100 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.
Set the specified key's value to an as_map.
Definition at line 108 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.
|
inline |
Set the specified key's value to a NULL terminated string.
Definition at line 68 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.
Set the specified key's value to an as_string.
Definition at line 84 of file as_stringmap.h.
References as_string::as_string_new(), and as_util_hook.