![]() |
OpendTect 8.0
|
Helper class to RefObjectSet and ManagedObjectSet. More...
#include <manobjectset.h>
Inherits ObjectSet< T >.
Inherited by ManagedObjectSet< BufferString >, ManagedObjectSet< StringPair >, ManagedObjectSet< MemBlock >, ManagedObjectSet< WeakPtr< T > >, RefObjectSet< ReflectivityModelTrace >, ManagedObjectSet< T >, and RefObjectSet< T >.
Public Types | |
| typedef ObjectSet< T >::idx_type | idx_type |
| typedef ObjectSet< T >::size_type | size_type |
Public Types inherited from ObjectSet< T > | |
| 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 | |
| void | erase () override |
| bool | isManaged () const override |
| ManagedObjectSetBase< T > & | operator-= (T *) override |
| T * | pop () override |
| virtual T * | removeAndTake (idx_type, bool kporder=true) |
| void | removeRange (idx_type, idx_type) override |
| T * | removeSingle (idx_type, bool kporder=true) override |
| T * | replace (idx_type, T *) override |
Public Member Functions inherited from ObjectSet< T > | |
| 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 | |
| virtual T * | get (idx_type) |
| virtual const T * | get (idx_type) const |
| virtual size_type | getCapacity () 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 | isPresent (const T *) const |
| T * | last () |
| const T * | last () const |
| size_type | max_size () const |
| od_int64 | nrItems () const override |
| bool | nullAllowed () const |
| bool | operator!= (const ObjectSet &oth) const |
| ObjectSet & | operator+= (T *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 () |
| 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 |
| virtual bool | setCapacity (size_type, bool withmargin) |
| Allocates mem only, no size() change. | |
| void | setNullAllowed (bool yn=true) |
| virtual bool | setSize (size_type) |
| size_type | size () const |
| void | swap (idx_type, idx_type) |
| void | swap (ObjectSet &oth) |
| void | swapItems (od_int64 i1, od_int64 i2) override |
| void | useIndexes (const idx_type *) |
| bool | validIdx (od_int64) const override |
Public Member Functions inherited from OD::Set | |
| virtual | ~Set () |
| bool | isEmpty () const |
| void | setEmpty () |
Protected Types | |
| typedef void(* | PtrFunc) (T *ptr) |
Protected Types inherited from ObjectSet< T > | |
| typedef VectorAccess< T *, size_type > | impl_type |
Protected Member Functions | |
| ManagedObjectSetBase (PtrFunc delfunc) | |
| ~ManagedObjectSetBase () | |
Protected Member Functions inherited from ObjectSet< T > | |
| virtual ObjectSet & | doAdd (T *) |
Private Attributes | |
| PtrFunc | delfunc_ |
Additional Inherited Members | |
Static Public Member Functions inherited from OD::Set | |
| static od_int32 | maxIdx32 () |
| static od_int64 | maxIdx64 () |
Protected Attributes inherited from ObjectSet< T > | |
| bool | allow0_ = false |
| impl_type | vec_ |
Helper class to RefObjectSet and ManagedObjectSet.
| typedef ObjectSet<T>::idx_type ManagedObjectSetBase< T >::idx_type |
|
protected |
| typedef ObjectSet<T>::size_type ManagedObjectSetBase< T >::size_type |
|
inlineprotected |
|
inlineprotected |
|
inlineoverridevirtual |
Implements OD::Set.
Reimplemented in MnemonicSet, and PropertyRefSet.
|
inlineoverridevirtual |
Reimplemented from ObjectSet< T >.
|
inlineoverridevirtual |
Reimplemented from ObjectSet< T >.
Reimplemented in MnemonicSet, and PropertyRefSet.
|
inlineoverridevirtual |
Deletes entry and returns nullptr
Reimplemented from ObjectSet< T >.
Reimplemented in MnemonicSet, and PropertyRefSet.
|
inlinevirtual |
Does not delete the entry.
Reimplemented in MnemonicSet, and PropertyRefSet.
|
inlineoverride |
Reimplemented in MnemonicSet, and PropertyRefSet.
|
inlineoverride |
Removes entry and returns nullptr
Reimplemented in MnemonicSet, and PropertyRefSet.
|
inlineoverride |
Deletes entry and returns nullptr
Reimplemented in MnemonicSet, PropertyRefSet, RefObjectSet< Attrib::Desc >, RefObjectSet< Attrib::Output >, RefObjectSet< Attrib::Provider >, RefObjectSet< const EM::Surface >, RefObjectSet< const Pick::Set >, RefObjectSet< const ReflectivityModelBase >, RefObjectSet< const Survey::Geometry2D >, RefObjectSet< DataPointSet >, RefObjectSet< EM::EMObject >, RefObjectSet< Geometry::PrimitiveSet >, RefObjectSet< Network::HttpRequestProcess >, RefObjectSet< Pick::Set >, RefObjectSet< PreStack::EventSet >, RefObjectSet< PreStack::Gather >, RefObjectSet< RandomSeisDataPack >, RefObjectSet< RegularSeisDataPack >, RefObjectSet< Survey::Geometry >, RefObjectSet< View2D::DataObject >, RefObjectSet< visBase::DataObject >, RefObjectSet< visBase::Dragger >, RefObjectSet< visBase::GeomIndexedShape >, RefObjectSet< visBase::HorizonSection >, RefObjectSet< visBase::HorizonTextureHandler >, RefObjectSet< visBase::MarchingCubesSurface >, RefObjectSet< visBase::MarkerSet >, RefObjectSet< visBase::NodeState >, RefObjectSet< visBase::OrthogonalSlice >, RefObjectSet< visBase::PointSet >, RefObjectSet< visBase::PolyLine >, RefObjectSet< visBase::PolyLine3D >, RefObjectSet< visBase::TextureChannels >, RefObjectSet< visBase::Transformation >, RefObjectSet< visSurvey::PreStackDisplay >, RefObjectSet< visSurvey::Scene >, and RefObjectSet< Well::Data >.
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2026