OpendTect  6.6
Public Types | Public Member Functions | Private Attributes | List of all members
WeakPtrSet< T > Class Template Reference
Inheritance diagram for WeakPtrSet< T >:
[legend]

Public Types

typedef int idx_type
 
typedef Threads::SpinLock LockType
 
typedef TypeSet< WeakPtr< T > > SetType
 
typedef int size_type
 

Public Member Functions

idx_type indexOf (T *) const
 
bool operator+= (const WeakPtr< T > &)
 
bool operator+= (RefMan< T > &)
 
RefMan< T > operator[] (idx_type)
 
ConstRefMan< T > operator[] (idx_type) const
 
size_type size () const
 

Private Attributes

LockType lock_
 
SetType ptrs_
 

Additional Inherited Members

- Protected Attributes inherited from RefCount::WeakPtrSetBase
Threads::Atomic< int > blockcleanup_ = 0
 

Detailed Description

template<class T>
class WeakPtrSet< T >

<>

Member Typedef Documentation

◆ idx_type

template<class T >
typedef int WeakPtrSet< T >::idx_type

◆ LockType

template<class T >
typedef Threads::SpinLock WeakPtrSet< T >::LockType

◆ SetType

template<class T >
typedef TypeSet<WeakPtr<T> > WeakPtrSet< T >::SetType

◆ size_type

template<class T >
typedef int WeakPtrSet< T >::size_type

Member Function Documentation

◆ indexOf()

template<class T >
idx_type WeakPtrSet< T >::indexOf ( T *  ) const

◆ operator+=() [1/2]

template<class T >
bool WeakPtrSet< T >::operator+= ( const WeakPtr< T > &  toadd)
inline

◆ operator+=() [2/2]

template<class T >
bool WeakPtrSet< T >::operator+= ( RefMan< T > &  toadd)
inline

◆ operator[]() [1/2]

template<class T >
RefMan< T > WeakPtrSet< T >::operator[] ( idx_type  idx)
inline

◆ operator[]() [2/2]

template<class T >
ConstRefMan< T > WeakPtrSet< T >::operator[] ( idx_type  idx) const
inline

◆ size()

template<class T >
int WeakPtrSet< T >::size
inline

Member Data Documentation

◆ lock_

template<class T >
LockType WeakPtrSet< T >::lock_
mutableprivate

◆ ptrs_

template<class T >
SetType WeakPtrSet< T >::ptrs_
private

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022