 |
OpendTect
6.6
|
Go to the documentation of this file.
18 template<
class OD,
class QT>
24 int size()
const {
return odobjs_.size(); }
29 OD* getODObject(
const QT&);
30 QT* getQtObject(
const OD&);
32 OD* getODObject(
int idx);
33 QT* getQtObject(
int idx);
42 template<
class OD,
class QT>
50 template<
class OD,
class QT>
53 const int idx = odobjs_.indexOf( &obj );
56 odobjs_.removeSingle( idx );
57 qtobjs_.removeSingle( idx );
61 template<
class OD,
class QT>
64 const int idx = qtobjs_.indexOf( &qtobj );
65 return idx<0 ? 0 : odobjs_[idx];
69 template<
class OD,
class QT>
72 const int idx = odobjs_.indexOf( &obj );
73 return idx<0 ? 0 : qtobjs_[idx];
77 template<
class OD,
class QT>
80 return odobjs_.validIdx(idx) ? odobjs_[idx] : 0;
84 template<
class OD,
class QT>
87 return qtobjs_.validIdx(idx) ? qtobjs_[idx] : 0;
ObjectSet< QT > qtobjs_
Definition: odqtobjset.h:38
Definition: odqtobjset.h:20
OpendTect.
Definition: commontypes.h:28
void remove(const OD &)
Definition: odqtobjset.h:51
ODQtObjectSet()
Definition: odqtobjset.h:22
OD * getODObject(const QT &)
Definition: odqtobjset.h:62
bool remove(const char *)
ObjectSet< OD > odobjs_
Definition: odqtobjset.h:37
#define mClass(module)
Definition: commondefs.h:181
QT * getQtObject(const OD &)
Definition: odqtobjset.h:70
void add(OD *, QT *)
Definition: odqtobjset.h:43
int size() const
Definition: odqtobjset.h:24
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021