OpendTect  7.0
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
PropertySet Class Reference
Inheritance diagram for PropertySet:
[legend]

Public Member Functions

 PropertySet ()
 
 PropertySet (const PropertyRefSelection &)
 Creates ValueProperty's. More...
 
 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 More...
 
void resetMemory ()
 
Propertyset (Property *)
 add or change into More...
 
- 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
 
void erase () override
 
Propertyfirst ()
 
const Propertyfirst () const
 
virtual Propertyget (const Property *) const
 check & unconst More...
 
virtual Propertyget (idx_type)
 
virtual const Propertyget (idx_type) 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
 
std::int64_t 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
 
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 ()
 

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 More...
 

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 std::int32_t maxIdx32 ()
 
static std::int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< Property >
typedef VectorAccess< Property *, size_typeimpl_type
 
- Protected Member Functions inherited from ObjectSet< Property >
virtual ObjectSetdoAdd (Property *)
 

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 )
overrideprivate

refuses to add with identical name

◆ erase()

void PropertySet::erase ( )
inlineoverridevirtual

Implements OD::Set.

◆ 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-2024