OpendTect
6.6
|
A SortedPointers keeps track of ids and their corresponding pointer. Each id can only be present once. More...
Public Types | |
typedef int | id_type |
typedef int | size_type |
Public Member Functions | |
SortedPointers () | |
~SortedPointers () | |
void | erase () |
T * | get (id_type) |
const T * | get (id_type) const |
T * | getByPos (size_type pos) |
const T * | getByPos (size_type pos) const |
id_type | id (size_type pos) const |
bool | remove (id_type id) |
void | removePos (size_type) |
void | set (id_type, T *) |
size_type | size () const |
Private Attributes | |
SortedList< size_type > | ids_ |
ObjectSet< T > | vals_ |
A SortedPointers keeps track of ids and their corresponding pointer. Each id can only be present once.
<>
typedef int SortedPointers< T >::id_type |
typedef int SortedPointers< T >::size_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022