Template Class KeysSet
Defined in File keys_set.hpp
Class Documentation
-
template<typename T1, typename T2 = std::false_type, typename T3 = std::false_type, typename T4 = std::false_type, typename T5 = std::false_type, typename T6 = std::false_type>
class KeysSet A set class for HashableKeys class.
- Template Parameters:
T1 – First argument type.
T2 – Second argument type.
T3 – Third argument type.
T4 – Third argument type.
T5 – Third argument type.
T6 – Third argument type.
Public Types
Public Functions
-
inline void insert(T1 key1, T2 key2, T3 key3, T4 key4, T5 key5, T6 key6)
Insert new keys.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
key5 – Fifth argument.
key6 – Fifth argument.
-
inline void insert(T1 key1, T2 key2, T3 key3, T4 key4, T5 key5)
Insert new keys.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
key5 – Fifth argument.
-
inline void insert(T1 key1, T2 key2, T3 key3, T4 key4)
Insert new keys.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
-
inline void insert(T1 key1, T2 key2, T3 key3)
Insert new keys.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
-
inline void insert(T1 key1, T2 key2)
Insert new keys.
- Parameters:
key1 – First argument.
key2 – Second argument.
-
inline void insert(HashableKeys<T1, T2, T3, T4, T5, T6> keys)
Confirm content.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
key5 – Fifth argument.
- Returns:
True if it contains, false otherwise.
-
inline void clear()
Clear set.
-
inline bool has(T1 key1, T2 key2, T3 key3, T4 key4, T5 key5, T6 key6) const
Confirm content.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
key5 – Fifth argument.
key6 – Fifth argument.
- Returns:
True if it contains, false otherwise.
-
inline bool has(T1 key1, T2 key2, T3 key3, T4 key4, T5 key5) const
Confirm content.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
key5 – Fifth argument.
- Returns:
True if it contains, false otherwise.
-
inline bool has(T1 key1, T2 key2, T3 key3, T4 key4) const
Confirm content.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
key4 – Fourth argument.
- Returns:
True if it contains, false otherwise.
-
inline bool has(T1 key1, T2 key2, T3 key3) const
Confirm content.
- Parameters:
key1 – First argument.
key2 – Second argument.
key3 – Third argument.
- Returns:
True if it contains, false otherwise.
-
inline bool has(T1 key1, T2 key2) const
Confirm content.
- Parameters:
key1 – First argument.
key2 – Second argument.
- Returns:
True if it contains, false otherwise.
-
inline bool has(T1 key1) const
Confirm content.
- Parameters:
key1 – First argument.
- Returns:
True if it contains, false otherwise.
-
inline ConstIteratorT begin() const
Get const iterator.
- Returns:
Iterator referring to the first element.
-
inline ConstIteratorT end() const
Get const iterator.
- Returns:
Iterator referring to the last element.
-
inline size_t size() const
Get size.
- Returns:
Element number.