OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PropertySet Class Reference

Public Member Functions

 PropertySet ()
 
 PropertySet (const PropertyRefSelection &)
 Creates ValueProperty's. More...
 
 PropertySet (const PropertySet &ps)
 
virtual ~PropertySet ()
 
bool add (Property *)
 refuses to add with identical name More...
 
void erase ()
 
uiString errMsg () const
 
Propertyfind (const char *nm, bool ma=false)
 
const Propertyfind (const char *nm, bool ma=false) const
 
Propertyget (int idx)
 
const Propertyget (int idx) const
 
void getPropertiesOfRefType (PropertyRef::StdType, ObjectSet< Property > &) const
 
int indexOf (const char *, bool matchaliases=false) const
 
int indexOf (const Property &p) const
 
int indexOf (const PropertyRef &pr) const
 
int indexOf (PropertyRef::StdType, int occ=0) const
 
bool isEmpty () const
 
bool isPresent (const char *nm, bool ma=false) const
 
PropertySetoperator= (const PropertySet &)
 
bool prepareUsage () const
 init()'s all Properties More...
 
void remove (int)
 
void replace (int, Property *)
 
void resetMemory ()
 
int set (Property *)
 add or change into. returns index. More...
 
int size () const
 

Protected Member Functions

Propertyfnd (const char *, bool) const
 

Protected Attributes

uiString errmsg_
 
ObjectSet< Propertyprops_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ PropertySet() [1/3]

PropertySet::PropertySet ( )
inline

◆ PropertySet() [2/3]

PropertySet::PropertySet ( const PropertyRefSelection )

Creates ValueProperty's.

◆ PropertySet() [3/3]

PropertySet::PropertySet ( const PropertySet ps)
inline

◆ ~PropertySet()

virtual PropertySet::~PropertySet ( )
inlinevirtual

Member Function Documentation

◆ add()

bool PropertySet::add ( Property )

refuses to add with identical name

◆ erase()

void PropertySet::erase ( )
inline

◆ errMsg()

uiString PropertySet::errMsg ( ) const
inline

◆ find() [1/2]

Property* PropertySet::find ( const char *  nm,
bool  ma = false 
)
inline

◆ find() [2/2]

const Property* PropertySet::find ( const char *  nm,
bool  ma = false 
) const
inline

◆ fnd()

Property* PropertySet::fnd ( const char *  ,
bool   
) const
protected

◆ get() [1/2]

Property& PropertySet::get ( int  idx)
inline

◆ get() [2/2]

const Property& PropertySet::get ( int  idx) const
inline

◆ getPropertiesOfRefType()

void PropertySet::getPropertiesOfRefType ( PropertyRef::StdType  ,
ObjectSet< Property > &   
) const

◆ indexOf() [1/4]

int PropertySet::indexOf ( const char *  ,
bool  matchaliases = false 
) const

◆ indexOf() [2/4]

int PropertySet::indexOf ( const Property p) const
inline

◆ indexOf() [3/4]

int PropertySet::indexOf ( const PropertyRef pr) const
inline

◆ indexOf() [4/4]

int PropertySet::indexOf ( PropertyRef::StdType  ,
int  occ = 0 
) const

◆ isEmpty()

bool PropertySet::isEmpty ( ) const
inline

◆ isPresent()

bool PropertySet::isPresent ( const char *  nm,
bool  ma = false 
) const
inline

◆ operator=()

PropertySet& PropertySet::operator= ( const PropertySet )

◆ prepareUsage()

bool PropertySet::prepareUsage ( ) const

init()'s all Properties

◆ remove()

void PropertySet::remove ( int  )

◆ replace()

void PropertySet::replace ( int  ,
Property  
)

◆ resetMemory()

void PropertySet::resetMemory ( )

◆ set()

int PropertySet::set ( Property )

add or change into. returns index.

◆ size()

int PropertySet::size ( ) const
inline

Member Data Documentation

◆ errmsg_

uiString PropertySet::errmsg_
mutableprotected

◆ props_

ObjectSet<Property> PropertySet::props_
protected

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