OpendTect
6.6
|
A SortedTable keeps track of ids and their corresponding values. Each id can only be present once. More...
Public Types | |
typedef T | object_type |
typedef int | size_type |
Public Member Functions | |
SortedTable () | |
void | erase () |
bool | get (IDT id, T &val) const |
const IDT & | id (size_type idx) const |
bool | remove (IDT id) |
void | set (IDT id, T val) |
size_type | size () const |
const T & | val (size_type idx) const |
Private Attributes | |
SortedList< IDT > | ids_ |
TypeSet< T > | vals_ |
A SortedTable keeps track of ids and their corresponding values. Each id can only be present once.
<>
typedef T SortedTable< IDT, T >::object_type |
typedef int SortedTable< IDT, T >::size_type |
|
inline |
|
inline |
|
inline |
If id is not found, val is unchanged and false is returned. If id is found, val is set and true is returned.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022