OpendTect
7.0
|
Set of pointers to objects. More...
Inherits OD::Set.
Inherited by ManagedObjectSetBase< T >.
Public Types | |
typedef impl_type::const_iterator | const_iterator |
typedef const value_type & | const_reference |
typedef size_type | difference_type |
typedef size_type | idx_type |
typedef impl_type::iterator | iterator |
typedef T | object_type |
typedef value_type & | reference |
typedef int | size_type |
typedef T * | value_type |
Public Member Functions | |
ObjectSet () | |
ObjectSet (const ObjectSet &) | |
ObjectSet (T *) | |
ObjectSet (T *, T *) | |
ObjectSet (T *, T *, T *) | |
virtual | ~ObjectSet () |
ObjectSet & | add (T *t) |
bool | addIfNew (T *) |
void | allowNull (bool yn=true) |
virtual void | append (const ObjectSet &) |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
ObjectSet * | clone () const override |
virtual void | copy (const ObjectSet &) |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
void | erase () override |
T * | first () |
const T * | first () const |
virtual T * | get (const T *) const |
check & unconst More... | |
virtual T * | get (idx_type) |
virtual const T * | get (idx_type) const |
idx_type | getIdx (const_iterator it) const |
idx_type | getIdx (iterator it) const |
virtual idx_type | indexOf (const T *) const |
virtual void | insertAfter (T *newptr, idx_type) |
virtual void | insertAt (T *newptr, idx_type) |
virtual bool | isManaged () const |
virtual bool | isPresent (const T *) const |
T * | last () |
const T * | last () const |
size_type | max_size () const |
std::int64_t | nrItems () const override |
bool | nullAllowed () const |
bool | operator!= (const ObjectSet &oth) const |
ObjectSet & | operator+= (T *t) |
virtual ObjectSet & | operator-= (T *) |
ObjectSet & | operator= (const ObjectSet &) |
bool | operator== (const ObjectSet &) const |
const T * | operator[] (const T *t) const |
T * | operator[] (idx_type i) |
const T * | operator[] (idx_type i) const |
void | plainErase () |
virtual T * | pop () |
void | push (T *t) |
virtual void | removeRange (idx_type from, idx_type to) |
virtual T * | removeSingle (idx_type, bool keep_order=true) |
virtual T * | replace (idx_type, T *) |
void | reverse () override |
void | setNullAllowed (bool yn=true) |
size_type | size () const |
void | swap (idx_type, idx_type) |
void | swap (ObjectSet &oth) |
void | swapItems (std::int64_t i1, std::int64_t i2) override |
void | useIndexes (const idx_type *) |
bool | validIdx (std::int64_t) const override |
Public Member Functions inherited from OD::Set | |
virtual | ~Set () |
bool | isEmpty () const |
void | setEmpty () |
Protected Types | |
typedef VectorAccess< T *, size_type > | impl_type |
Protected Member Functions | |
virtual ObjectSet & | doAdd (T *) |
Protected Attributes | |
bool | allow0_ = false |
impl_type | vec_ |
Additional Inherited Members | |
Static Public Member Functions inherited from OD::Set | |
static std::int32_t | maxIdx32 () |
static std::int64_t | maxIdx64 () |
Set of pointers to objects.
The ObjectSet does not manage the objects, it is just a collection of pointers to the objects. If you want management, use ManagedObjectSet.
Note: you can use indexOf(ptr) to see whether the object is in the set. If you know that the object is in the set, and you need the index of it, then you can use getIdx(ptr) to obtain its index.
<>
typedef impl_type::const_iterator ObjectSet< T >::const_iterator |
typedef const value_type& ObjectSet< T >::const_reference |
typedef size_type ObjectSet< T >::difference_type |
|
protected |
typedef impl_type::iterator ObjectSet< T >::iterator |
typedef T ObjectSet< T >::object_type |
typedef value_type& ObjectSet< T >::reference |
typedef T* ObjectSet< T >::value_type |
|
inline |
|
inline |
Reimplemented in ManagedObjectSet< WellDataIOProvider >, ManagedObjectSet< WeakPtr< T > >, ManagedObjectSet< visSurvey::HorizonDisplay::IntersectionData >, ManagedObjectSet< visBase::Text >, ManagedObjectSet< uiToolButtonSetup >, ManagedObjectSet< uiGraphicsItem >, ManagedObjectSet< uiGMTOverlayGrpFactory::Entry >, ManagedObjectSet< T >, ManagedObjectSet< StringPair >, ManagedObjectSet< Strat::Lithology >, ManagedObjectSet< Strat::LevelSet >, ManagedObjectSet< SeisTrcReader >, ManagedObjectSet< SeisPSIOProvider >, ManagedObjectSet< Seis::PreLoadDataEntry >, ManagedObjectSet< SectorData >, ManagedObjectSet< PropertyRef >, ManagedObjectSet< OD::PythonAccess::ModuleInfo >, ManagedObjectSet< OD::ModDep >, ManagedObjectSet< Mnemonic >, ManagedObjectSet< Marker >, ManagedObjectSet< LineData >, ManagedObjectSet< LaySeqAttrib >, ManagedObjectSet< IOPar >, ManagedObjectSet< HostData >, ManagedObjectSet< GMTParFactory::Entry >, ManagedObjectSet< EntryData >, ManagedObjectSet< ElasticModel >, ManagedObjectSet< DataPackMgr >, ManagedObjectSet< DataEntry >, ManagedObjectSet< const UnitOfMeasure >, and ManagedObjectSet< BufferString >.
|
inline |
|
inline |
|
inline |
Implements OD::Set.
Reimplemented in RefObjectSet< T >, RefObjectSet< visBase::DataObject >, RefObjectSet< const ReflectivityModelBase >, RefObjectSet< EM::EMObject >, RefObjectSet< RandomSeisDataPack >, RefObjectSet< Pick::Set >, RefObjectSet< ReflectivityModelTrace >, RefObjectSet< const EM::Surface >, RefObjectSet< PreStack::Gather >, RefObjectSet< Well::Data >, RefObjectSet< RegularSeisDataPack >, RefObjectSet< const Pick::Set >, RefObjectSet< Network::HttpRequestProcess >, ManagedObjectSet< uiGMTOverlayGrpFactory::Entry >, ManagedObjectSet< WellDataIOProvider >, ManagedObjectSet< OD::PythonAccess::ModuleInfo >, ManagedObjectSet< visBase::Text >, ManagedObjectSet< DataPackMgr >, ManagedObjectSet< visSurvey::HorizonDisplay::IntersectionData >, ManagedObjectSet< WeakPtr< T > >, ManagedObjectSet< LineData >, ManagedObjectSet< uiToolButtonSetup >, ManagedObjectSet< Seis::PreLoadDataEntry >, ManagedObjectSet< IOPar >, ManagedObjectSet< uiGraphicsItem >, ManagedObjectSet< HostData >, ManagedObjectSet< SeisTrcReader >, ManagedObjectSet< EntryData >, ManagedObjectSet< GMTParFactory::Entry >, ManagedObjectSet< Strat::Lithology >, ManagedObjectSet< SeisPSIOProvider >, ManagedObjectSet< const UnitOfMeasure >, ManagedObjectSet< Strat::LevelSet >, ManagedObjectSet< LaySeqAttrib >, ManagedObjectSet< Mnemonic >, ManagedObjectSet< OD::ModDep >, ManagedObjectSet< Marker >, ManagedObjectSet< PropertyRef >, ManagedObjectSet< BufferString >, ManagedObjectSet< SectorData >, ManagedObjectSet< DataEntry >, ManagedObjectSet< ElasticModel >, and ManagedObjectSet< StringPair >.
Reimplemented in RefObjectSet< Well::Data >, RefObjectSet< visBase::DataObject >, RefObjectSet< T >, RefObjectSet< RegularSeisDataPack >, RefObjectSet< ReflectivityModelTrace >, RefObjectSet< RandomSeisDataPack >, RefObjectSet< PreStack::Gather >, RefObjectSet< Pick::Set >, RefObjectSet< Network::HttpRequestProcess >, RefObjectSet< EM::EMObject >, RefObjectSet< const ReflectivityModelBase >, RefObjectSet< const Pick::Set >, and RefObjectSet< const EM::Surface >.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements OD::Set.
Reimplemented in EntryDataSet.
|
inline |
|
inline |
|
inlinevirtual |
check & unconst
|
inline |
|
inlinevirtual |
Reimplemented in RefObjectSet< Well::Data >, RefObjectSet< visBase::DataObject >, RefObjectSet< T >, RefObjectSet< RegularSeisDataPack >, RefObjectSet< ReflectivityModelTrace >, RefObjectSet< RandomSeisDataPack >, RefObjectSet< PreStack::Gather >, RefObjectSet< Pick::Set >, RefObjectSet< Network::HttpRequestProcess >, RefObjectSet< EM::EMObject >, RefObjectSet< const ReflectivityModelBase >, RefObjectSet< const Pick::Set >, and RefObjectSet< const EM::Surface >.
|
inlinevirtual |
Reimplemented in ManagedObjectSetBase< T >, and ElasticModel.
|
inlinevirtual |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements OD::Set.
|
inline |
Reimplemented in ManagedObjectSetBase< T >.
|
inline |
|
inline |
Not virtual. Don't use casually.
|
inlinevirtual |
Reimplemented in ManagedObjectSetBase< T >, and ElasticModel.
|
inline |
Reimplemented in ElasticModel, and ManagedObjectSetBase< T >.
|
inlinevirtual |
Reimplemented in ElasticModel, and ManagedObjectSetBase< T >.
Reimplemented in RefObjectSet< Well::Data >, RefObjectSet< visBase::DataObject >, RefObjectSet< T >, ManagedObjectSetBase< T >, RefObjectSet< RegularSeisDataPack >, RefObjectSet< ReflectivityModelTrace >, RefObjectSet< RandomSeisDataPack >, RefObjectSet< PreStack::Gather >, RefObjectSet< Pick::Set >, RefObjectSet< Network::HttpRequestProcess >, RefObjectSet< EM::EMObject >, RefObjectSet< const ReflectivityModelBase >, RefObjectSet< const Pick::Set >, and RefObjectSet< const EM::Surface >.
|
inline |
|
inlineoverridevirtual |
Implements OD::Set.
|
inlineoverridevirtual |
Implements OD::Set.
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024