libabigail
Classes | Namespaces | Typedefs | Functions
abg-interned-str.h File Reference

Declaration of types pertaining to the interned string pool used throughout Libabigail, for performance reasons. More...

#include <functional>
#include <memory>
#include <ostream>
#include <string>
#include <unordered_set>
Include dependency graph for abg-interned-str.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hash_interned_string
 A functor to hash instances of interned_string. More...
 
class  interned_string
 The abstraction of an interned string. More...
 
class  interned_string_pool
 The interned string pool. More...
 

Namespaces

namespace  abigail
 Toplevel namespace for libabigail.
 

Typedefs

typedef unordered_set< interned_string, hash_interned_string > interned_string_set_type
 Convenience typedef for a set of interned_string. More...
 

Functions

bool operator!= (const string &l, const interned_string &r)
 
string operator+ (const interned_string &s1, const string &s2)
 
string operator+ (const string &s1, const interned_string &s2)
 
ostream & operator<< (ostream &o, const interned_string &s)
 
bool operator== (const string &l, const interned_string &r)
 

Detailed Description

Declaration of types pertaining to the interned string pool used throughout Libabigail, for performance reasons.

For the record, the concept of the String Interning method is explained at https://en.wikipedia.org/wiki/String_interning.

Definition in file abg-interned-str.h.