PandA-2024.02
Data Structures | Macros | Typedefs
custom_set.hpp File Reference

redefinition of set to manage ordered/unordered structures More...

#include "config_HAVE_UNORDERED.hpp"
#include <set>
#include <unordered_set>
#include "absl/container/btree_set.h"
#include "absl/container/flat_hash_set.h"
#include "absl/container/node_hash_set.h"
#include "absl/hash/hash.h"
Include dependency graph for custom_set.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  CustomUnorderedSet< T, _Hash, _Eq, _Alloc >
 
class  CustomOrderedSet< Key, Compare, Alloc >
 

Macros

#define NO_ABSEIL_HASH   0
 

Typedefs

template<class _Value , class _Hash = std::hash<_Value>, class _Pred = std::equal_to<_Value>, class _Alloc = std::allocator<_Value>>
using UnorderedSetStd = std::unordered_set< _Value, _Hash, _Pred, _Alloc >
 Autoheader include. More...
 
template<typename Key , typename Compare = std::less<Key>, typename Alloc = std::allocator<Key>>
using OrderedSetStd = std::set< Key, Compare, Alloc >
 
template<class _Value , class _Hash = typename absl::node_hash_set<_Value>::hasher, class _Pred = typename absl::node_hash_set<_Value>::key_equal, class _Alloc = std::allocator<_Value>>
using UnorderedSetStdStable = absl::node_hash_set< _Value, _Hash, _Pred, _Alloc >
 
template<typename T >
using CustomSet = CustomOrderedSet< T >
 

Detailed Description

redefinition of set to manage ordered/unordered structures

Author
Marco Lattuada lattu.nosp@m.ada@.nosp@m.elet..nosp@m.poli.nosp@m.mi.it $Revision$ $Date$ Last modified by $Author$

Definition in file custom_set.hpp.

Macro Definition Documentation

◆ NO_ABSEIL_HASH

#define NO_ABSEIL_HASH   0

Definition at line 170 of file custom_set.hpp.

Typedef Documentation

◆ CustomSet

template<typename T >
using CustomSet = CustomOrderedSet<T>

Definition at line 312 of file custom_set.hpp.

◆ OrderedSetStd

template<typename Key , typename Compare = std::less<Key>, typename Alloc = std::allocator<Key>>
using OrderedSetStd = std::set<Key, Compare, Alloc>

Definition at line 59 of file custom_set.hpp.

◆ UnorderedSetStd

template<class _Value , class _Hash = std::hash<_Value>, class _Pred = std::equal_to<_Value>, class _Alloc = std::allocator<_Value>>
using UnorderedSetStd = std::unordered_set<_Value, _Hash, _Pred, _Alloc>

Autoheader include.

Definition at line 56 of file custom_set.hpp.

◆ UnorderedSetStdStable

template<class _Value , class _Hash = typename absl::node_hash_set<_Value>::hasher, class _Pred = typename absl::node_hash_set<_Value>::key_equal, class _Alloc = std::allocator<_Value>>
using UnorderedSetStdStable = absl::node_hash_set<_Value, _Hash, _Pred, _Alloc>

Definition at line 215 of file custom_set.hpp.


Generated on Mon Feb 12 2024 13:03:34 for PandA-2024.02 by doxygen 1.8.13