libabigail
|
The interned string pool. More...
#include <abg-interned-str.h>
Public Member Functions | |
interned_string_pool () | |
Default constructor. More... | |
~interned_string_pool () | |
Destructor. More... | |
interned_string | create_string (const std::string &) |
Create an interned string with a given value. More... | |
const char * | get_string (const char *s) const |
Get a pointer to the interned string which has a given value. More... | |
bool | has_string (const char *s) const |
Test if the interned string pool already contains a string with a given value. More... | |
The interned string pool.
This is where all the distinct strings represented by the interned strings leave. The pool is the actor responsible for creating interned strings.
Definition at line 226 of file abg-interned-str.h.
~interned_string_pool | ( | ) |
interned_string create_string | ( | const std::string & | str_value | ) |
Create an interned string with a given value.
str_value | the value of the interned string to create. |
const char * get_string | ( | const char * | s | ) | const |
bool has_string | ( | const char * | s | ) | const |