CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdMultimap< Key, T, Pred, A > Class Template Reference

#include <OdMultimap.h>

Inheritance diagram for OdMultimap< Key, T, Pred, A >:

Public Types

typedef std::multimap< Key, T, Pred, A >::iterator iterator
 
typedef std::multimap< Key, T, Pred, A >::const_iterator const_iterator
 

Public Member Functions

 OdMultimap (const Pred &comp=Pred(), const A &al=A())
 
 OdMultimap (const typename std::multimap< Key, T, Pred, A >::value_type *first, const typename std::multimap< Key, T, Pred, A >::value_type *last, const Pred &comp=Pred(), const A &al=A())
 
iterator find_ex (const Key &key)
 
const_iterator find_ex (const Key &key) const
 
iterator find_last (const Key &key)
 

Detailed Description

template<class Key, class T, class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
class OdMultimap< Key, T, Pred, A >

This template class extends the functionality of the standard STL class std::multimap.

Remarks
The default constructor creates an empty set.

The template arguments are the same as that of the STL class std::multimap. Corresponding C++ library: TD_Db <group Other_Classes>

Definition at line 49 of file OdMultimap.h.

Member Typedef Documentation

◆ const_iterator

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
typedef std::multimap<Key,T,Pred,A>::const_iterator OdMultimap< Key, T, Pred, A >::const_iterator

Definition at line 53 of file OdMultimap.h.

◆ iterator

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
typedef std::multimap<Key,T,Pred,A>::iterator OdMultimap< Key, T, Pred, A >::iterator

Definition at line 52 of file OdMultimap.h.

Constructor & Destructor Documentation

◆ OdMultimap() [1/2]

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
OdMultimap< Key, T, Pred, A >::OdMultimap ( const Pred &  comp = Pred(),
const A &  al = A() 
)
inline

Definition at line 57 of file OdMultimap.h.

◆ OdMultimap() [2/2]

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
OdMultimap< Key, T, Pred, A >::OdMultimap ( const typename std::multimap< Key, T, Pred, A >::value_type *  first,
const typename std::multimap< Key, T, Pred, A >::value_type *  last,
const Pred &  comp = Pred(),
const A &  al = A() 
)
inline

Definition at line 60 of file OdMultimap.h.

Member Function Documentation

◆ find_ex() [1/2]

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
iterator OdMultimap< Key, T, Pred, A >::find_ex ( const Key &  key)
inline

Returns an iterator addressing the first element in the multimap that has a key equal to the specified key.

Parameters
key[in] Search key.

Definition at line 70 of file OdMultimap.h.

◆ find_ex() [2/2]

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
const_iterator OdMultimap< Key, T, Pred, A >::find_ex ( const Key &  key) const
inline

Returns an iterator addressing the first element in the multimap that has a key equal to the specified key.

Parameters
key[in] Search key.

Definition at line 87 of file OdMultimap.h.

◆ find_last()

template<class Key , class T , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<OD_TYPENAME2 std::pair<const Key, T> >>
iterator OdMultimap< Key, T, Pred, A >::find_last ( const Key &  key)
inline

Returns an iterator addressing the last element in a multimap that has a key equivalent to the specified key.

Parameters
key[in] Search key.

Definition at line 104 of file OdMultimap.h.


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