CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container > Class Template Reference

#include <TrVisBimap.h>

Classes

class  const_iterator
 

Public Types

using key_type = _KeyType
 
using value_type = _ValueType
 
using rkey_type = _ValueType
 
using rvalue_type = _KeyType
 

Public Member Functions

 OdTrVisBimap ()=default
 
 OdTrVisBimap (std::initializer_list< _Tree_Node > init)
 
const_iterator begin () const
 
const_iterator end () const
 
void insert (_Tree_Node &&node)
 
void insert (const _Tree_Node &node)
 
void insert (const key_type &key, const value_type &value)
 
void erase_key (const key_type &key)
 
void erase_value (const value_type &value)
 
bool has_key (const key_type &key) const
 
bool has_value (const value_type &value) const
 
value_type get_value (const key_type &key) const
 
key_type get_key (const value_type &value) const
 
size_t size () const
 

Detailed Description

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
class OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >

Definition at line 37 of file TrVisBimap.h.

Member Typedef Documentation

◆ key_type

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
using OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::key_type = _KeyType

Definition at line 54 of file TrVisBimap.h.

◆ rkey_type

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
using OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::rkey_type = _ValueType

Definition at line 56 of file TrVisBimap.h.

◆ rvalue_type

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
using OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::rvalue_type = _KeyType

Definition at line 57 of file TrVisBimap.h.

◆ value_type

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
using OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::value_type = _ValueType

Definition at line 55 of file TrVisBimap.h.

Constructor & Destructor Documentation

◆ OdTrVisBimap() [1/2]

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::OdTrVisBimap ( )
default

◆ OdTrVisBimap() [2/2]

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::OdTrVisBimap ( std::initializer_list< _Tree_Node > init)
inline

Definition at line 108 of file TrVisBimap.h.

Member Function Documentation

◆ begin()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
const_iterator OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::begin ( ) const
inline

Definition at line 115 of file TrVisBimap.h.

◆ end()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
const_iterator OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::end ( ) const
inline

Definition at line 116 of file TrVisBimap.h.

◆ erase_key()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
void OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::erase_key ( const key_type & key)
inline

Definition at line 134 of file TrVisBimap.h.

◆ erase_value()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
void OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::erase_value ( const value_type & value)
inline

Definition at line 143 of file TrVisBimap.h.

◆ get_key()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
key_type OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::get_key ( const value_type & value) const
inline

Definition at line 169 of file TrVisBimap.h.

◆ get_value()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
value_type OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::get_value ( const key_type & key) const
inline

Definition at line 162 of file TrVisBimap.h.

◆ has_key()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
bool OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::has_key ( const key_type & key) const
inline

Definition at line 154 of file TrVisBimap.h.

◆ has_value()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
bool OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::has_value ( const value_type & value) const
inline

Definition at line 158 of file TrVisBimap.h.

◆ insert() [1/3]

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
void OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::insert ( _Tree_Node && node)
inline

Definition at line 119 of file TrVisBimap.h.

◆ insert() [2/3]

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
void OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::insert ( const _Tree_Node & node)
inline

Definition at line 124 of file TrVisBimap.h.

◆ insert() [3/3]

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
void OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::insert ( const key_type & key,
const value_type & value )
inline

Definition at line 129 of file TrVisBimap.h.

◆ size()

template<class _KeyType, class _ValueType, class _Key_Container = std::set<_KeyType>, class _Mapped_Container = std::set<_ValueType>>
size_t OdTrVisBimap< _KeyType, _ValueType, _Key_Container, _Mapped_Container >::size ( ) const
inline

Definition at line 176 of file TrVisBimap.h.


The documentation for this class was generated from the following file: