![]() |
OpendTect-6_4
6.4
|
A SortedPointers keeps track of ids and their corresponding pointer. Each id can only be present once. More...
Public Types | |
| typedef int | size_type |
| typedef int | id_type |
Public Member Functions | |
| SortedPointers () | |
| ~SortedPointers () | |
| size_type | size () const |
| void | set (id_type, T *) |
| const T * | get (id_type) const |
| T * | get (id_type) |
| const T * | getByPos (size_type pos) const |
| T * | getByPos (size_type pos) |
| id_type | id (size_type pos) const |
| bool | remove (id_type id) |
| void | removePos (size_type) |
| void | erase () |
Private Attributes | |
| ObjectSet< T > | vals_ |
| SortedList< size_type > | ids_ |
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. 2019