OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
PropertySet Class Reference

#include <property.h>

Inheritance diagram for PropertySet:
[legend]

Public Member Functions

 PropertySet ()
 
 PropertySet (const PropertyRefSelection &)
 Creates ValueProperty's.
 
 PropertySet (const PropertySet &)
 
virtual ~PropertySet ()
 
void erase () override
 
uiString errMsg () const
 
const PropertygetByMnemonic (const Mnemonic &, int occ=0) const
 
PropertygetByName (const char *, bool matchaliases=false)
 
const PropertygetByName (const char *, bool matchaliases=false) const
 
PropertySetoperator= (const PropertySet &)
 
bool prepareUsage () const
 init()'s all Properties
 
void resetMemory ()
 
Propertyset (Property *)
 add or change into
 
- Public Member Functions inherited from ObjectSet< Property >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (Property *)
 
 ObjectSet (Property *, Property *)
 
 ObjectSet (Property *, Property *, Property *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (Property *t)
 
bool addIfNew (Property *)
 
void allowNull (bool yn=true)
 
virtual void append (const ObjectSet &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
ObjectSetclone () const override
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
Propertyfirst ()
 
const Propertyfirst () const
 
virtual Propertyget (const Property *) const
 check & unconst
 
virtual Propertyget (idx_type)
 
virtual const Propertyget (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 Property *) const
 
virtual void insertAfter (Property *newptr, idx_type)
 
virtual void insertAt (Property *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const Property *) const
 
Propertylast ()
 
const Propertylast () const
 
size_type max_size () const
 
od_int64 nrItems () const override
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (Property *t)
 
virtual ObjectSetoperator-= (Property *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const Propertyoperator[] (const Property *t) const
 
Propertyoperator[] (idx_type i)
 
const Propertyoperator[] (idx_type i) const
 
void plainErase ()
 
virtual Propertypop ()
 
void push (Property *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual PropertyremoveSingle (idx_type, bool keep_order=true)
 
virtual Propertyreplace (idx_type, Property *)
 
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 Attributes

uiString errmsg_
 
- Protected Attributes inherited from ObjectSet< Property >
bool allow0_
 
impl_type vec_
 

Private Member Functions

PropertySetdoAdd (Property *) override
 refuses to add with identical name
 

Additional Inherited Members

- Public Types inherited from ObjectSet< Property >
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 Property object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef Propertyvalue_type
 
- Static Public Member Functions inherited from OD::Set
static od_int32 maxIdx32 ()
 
static od_int64 maxIdx64 ()
 
- Protected Types inherited from ObjectSet< Property >
typedef VectorAccess< Property *, size_typeimpl_type
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ PropertySet() [1/3]

PropertySet::PropertySet ( )

◆ PropertySet() [2/3]

PropertySet::PropertySet ( const PropertySet & )

◆ PropertySet() [3/3]

PropertySet::PropertySet ( const PropertyRefSelection & )

Creates ValueProperty's.

◆ ~PropertySet()

virtual PropertySet::~PropertySet ( )
virtual

Member Function Documentation

◆ doAdd()

PropertySet & PropertySet::doAdd ( Property * )
overrideprivatevirtual

refuses to add with identical name

Reimplemented from ObjectSet< Property >.

◆ erase()

void PropertySet::erase ( )
inlineoverridevirtual

Reimplemented from ObjectSet< Property >.

◆ errMsg()

uiString PropertySet::errMsg ( ) const
inline

◆ getByMnemonic()

const Property * PropertySet::getByMnemonic ( const Mnemonic & ,
int occ = 0 ) const

◆ getByName() [1/2]

Property * PropertySet::getByName ( const char * ,
bool matchaliases = false )

◆ getByName() [2/2]

const Property * PropertySet::getByName ( const char * ,
bool matchaliases = false ) const

◆ operator=()

PropertySet & PropertySet::operator= ( const PropertySet & )

◆ prepareUsage()

bool PropertySet::prepareUsage ( ) const

init()'s all Properties

◆ resetMemory()

void PropertySet::resetMemory ( )

◆ set()

Property * PropertySet::set ( Property * )

add or change into

Member Data Documentation

◆ errmsg_

uiString PropertySet::errmsg_
mutableprotected

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