![]() |
OpendTect
7.0
|
Public Types | |
typedef ObjectSet< T >::idx_type | idx_type |
typedef ObjectSet< T >::size_type | size_type |
![]() | |
typedef ObjectSet< T >::idx_type | idx_type |
typedef ObjectSet< T >::size_type | size_type |
![]() | |
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 | |
RefObjectSet () | |
RefObjectSet (const ObjectSet< T > &) | |
RefObjectSet (const RefObjectSet< T > &) | |
RefObjectSet * | clone () const override |
void | insertAt (T *, idx_type) override |
RefObjectSet< T > & | operator= (const ObjectSet< T > &) |
T * | replace (idx_type, T *) override |
![]() | |
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 |
![]() | |
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 |
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 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) |
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) |
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 |
![]() | |
virtual | ~Set () |
bool | isEmpty () const |
void | setEmpty () |
Protected Member Functions | |
ObjectSet< T > & | doAdd (T *) override |
![]() | |
ManagedObjectSetBase (PtrFunc delfunc) | |
~ManagedObjectSetBase () | |
Static Protected Member Functions | |
static void | unRef (T *ptr) |
Additional Inherited Members | |
![]() | |
static std::int32_t | maxIdx32 () |
static std::int64_t | maxIdx64 () |
![]() | |
typedef void(* | PtrFunc) (T *ptr) |
![]() | |
typedef VectorAccess< T *, size_type > | impl_type |
![]() | |
bool | allow0_ = false |
impl_type | vec_ |
ObjectSet for reference counted objects. All members are referenced once when added to the set, and unreffed when removed from the set.
<>
typedef ObjectSet<T>::idx_type RefObjectSet< T >::idx_type |
typedef ObjectSet<T>::size_type RefObjectSet< T >::size_type |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from ObjectSet< T >.
|
inlineoverrideprotectedvirtual |
Reimplemented from ObjectSet< T >.
|
inlineoverridevirtual |
Reimplemented from ObjectSet< T >.
|
inline |
|
inlineoverridevirtual |
Deletes entry and returns nullptr
Reimplemented from ManagedObjectSetBase< T >.
|
inlinestaticprotected |
Generated at 02/08/2024 10:19:40 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024