OpendTect  7.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Friends | List of all members
PropertyRefSet Class Reference
Inheritance diagram for PropertyRefSet:
[legend]

Public Member Functions

bool ensureHasElasticProps (bool withswave=true, bool withai=false)
 
PropertyRefensurePresent (const Mnemonic &, const char *nm1, const char *nm2=nullptr, const char *nm3=nullptr)
 
const PropertyRefgetByMnemonic (const Mnemonic &, int occ=0) const
 
const PropertyRefgetByName (const char *, bool matchaliases=true) const
 
const PropertyRefgetByType (PropertyRef::StdType, int occ=0) const
 
void removeSingleWithCache (int)
 
bool subselect (PropertyRef::StdType, ObjectSet< const PropertyRef > &) const
 
- Public Member Functions inherited from ManagedObjectSet< PropertyRef >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< PropertyRef > &)
 
 ManagedObjectSet (const ObjectSet< PropertyRef > &)
 
void append (const ObjectSet< PropertyRef > &) override
 
ManagedObjectSetclone () const override
 
ManagedObjectSet< PropertyRef > & operator= (const ObjectSet< PropertyRef > &)
 
- Public Member Functions inherited from ManagedObjectSetBase< T >
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 ()
 
ObjectSetadd (T *t)
 
bool addIfNew (T *)
 
void allowNull (bool yn=true)
 
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 void insertAt (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
 
ObjectSetoperator+= (T *t)
 
ObjectSetoperator= (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
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Static Public Member Functions

static const PropertyRefgetByName (const char *, const ObjectSet< const PropertyRef > &, bool matchaliases)
 
- Static Public Member Functions inherited from OD::Set
static std::int32_t maxIdx32 ()
 
static std::int64_t maxIdx64 ()
 

Private Member Functions

 PropertyRefSet ()
 
PropertyRefSetdoAdd (PropertyRef *) override
 
PropertyRefgetByName (const char *, bool matchaliases=true)
 
PropertyRefgetByType (PropertyRef::StdType, int occ=0)
 
 mOD_DisableCopy (PropertyRefSet)
 
void readFrom (ascistream &, Repos::Source)
 
bool save (Repos::Source) const
 
bool writeTo (ascostream &) const
 

Static Private Member Functions

static void removeCache (const PropertyRef *)
 

Friends

class PropertyRefSetMgr
 
class uiManPROPS
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< PropertyRef >
typedef ObjectSet< PropertyRef >::idx_type idx_type
 
typedef ObjectSet< PropertyRef >::size_type size_type
 
- Public Types inherited from ManagedObjectSetBase< T >
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_typeconst_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef T object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef T * value_type
 
- Protected Types inherited from ManagedObjectSetBase< T >
typedef void(* PtrFunc) (T *ptr)
 
- Protected Types inherited from ObjectSet< T >
typedef VectorAccess< T *, size_typeimpl_type
 
- Protected Member Functions inherited from ManagedObjectSetBase< T >
 ManagedObjectSetBase (PtrFunc delfunc)
 
 ~ManagedObjectSetBase ()
 
- Protected Member Functions inherited from ObjectSet< T >
virtual ObjectSetdoAdd (T *)
 
- Protected Attributes inherited from ObjectSet< T >
bool allow0_ = false
 
impl_type vec_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ PropertyRefSet()

PropertyRefSet::PropertyRefSet ( )
private

Member Function Documentation

◆ doAdd()

PropertyRefSet& PropertyRefSet::doAdd ( PropertyRef )
overrideprivate

◆ ensureHasElasticProps()

bool PropertyRefSet::ensureHasElasticProps ( bool  withswave = true,
bool  withai = false 
)

◆ ensurePresent()

PropertyRef* PropertyRefSet::ensurePresent ( const Mnemonic ,
const char *  nm1,
const char *  nm2 = nullptr,
const char *  nm3 = nullptr 
)

◆ getByMnemonic()

const PropertyRef* PropertyRefSet::getByMnemonic ( const Mnemonic ,
int  occ = 0 
) const

◆ getByName() [1/3]

PropertyRef* PropertyRefSet::getByName ( const char *  ,
bool  matchaliases = true 
)
private

◆ getByName() [2/3]

const PropertyRef* PropertyRefSet::getByName ( const char *  ,
bool  matchaliases = true 
) const

◆ getByName() [3/3]

static const PropertyRef* PropertyRefSet::getByName ( const char *  ,
const ObjectSet< const PropertyRef > &  ,
bool  matchaliases 
)
static

◆ getByType() [1/2]

PropertyRef* PropertyRefSet::getByType ( PropertyRef::StdType  ,
int  occ = 0 
)
private

◆ getByType() [2/2]

const PropertyRef* PropertyRefSet::getByType ( PropertyRef::StdType  ,
int  occ = 0 
) const

◆ mOD_DisableCopy()

PropertyRefSet::mOD_DisableCopy ( PropertyRefSet  )
private

◆ readFrom()

void PropertyRefSet::readFrom ( ascistream ,
Repos::Source   
)
private

◆ removeCache()

static void PropertyRefSet::removeCache ( const PropertyRef )
staticprivate

◆ removeSingleWithCache()

void PropertyRefSet::removeSingleWithCache ( int  )

◆ save()

bool PropertyRefSet::save ( Repos::Source  ) const
private

◆ subselect()

bool PropertyRefSet::subselect ( PropertyRef::StdType  ,
ObjectSet< const PropertyRef > &   
) const

◆ writeTo()

bool PropertyRefSet::writeTo ( ascostream ) const
private

Friends And Related Function Documentation

◆ PropertyRefSetMgr

friend class PropertyRefSetMgr
friend

◆ uiManPROPS

friend class uiManPROPS
friend

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