CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | List of all members
OdMultiset< Key, Pred, A > Class Template Reference

#include <OdMultiset.h>

Inheritance diagram for OdMultiset< Key, Pred, A >:

Public Types

typedef std::multiset< Key, Pred, A >::iterator iterator
 
typedef std::multiset< Key, Pred, A >::const_iterator const_iterator
 

Public Member Functions

 OdMultiset (const Pred &comp=Pred(), const A &al=A())
 
 OdMultiset (const typename std::multiset< Key, Pred, A >::value_type *first, const typename std::multiset< Key, 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 Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<Key>>
class OdMultiset< Key, Pred, A >

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

Remarks
The default constructor creates an empty set.

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

Definition at line 48 of file OdMultiset.h.

Member Typedef Documentation

◆ const_iterator

template<class Key , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<Key>>
typedef std::multiset<Key, Pred, A>::const_iterator OdMultiset< Key, Pred, A >::const_iterator

Definition at line 52 of file OdMultiset.h.

◆ iterator

template<class Key , class Pred = OD_TYPENAME std::less<Key>, class A = OD_TYPENAME2 std::allocator<Key>>
typedef std::multiset<Key, Pred, A>::iterator OdMultiset< Key, Pred, A >::iterator

Definition at line 51 of file OdMultiset.h.

Constructor & Destructor Documentation

◆ OdMultiset() [1/2]

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

Definition at line 56 of file OdMultiset.h.

◆ OdMultiset() [2/2]

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

Definition at line 59 of file OdMultiset.h.

Member Function Documentation

◆ find_ex() [1/2]

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

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

Parameters
key[in] Search key.

Definition at line 69 of file OdMultiset.h.

◆ find_ex() [2/2]

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

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

Parameters
key[in] Search key.
\remarks
The former is used for constant objects.

Definition at line 90 of file OdMultiset.h.

◆ find_last()

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

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

Parameters
key[in] Search key.

Definition at line 107 of file OdMultiset.h.


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