OpendTect-6_4  6.4
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 ()
 
PropertySetoperator= (const PropertySet &)
 
int size () const
 
bool isEmpty () const
 
int indexOf (const char *, bool matchaliases=false) const
 
bool isPresent (const char *nm, bool ma=false) const
 
Propertyget (int idx)
 
const Propertyget (int idx) const
 
const Propertyfind (const char *nm, bool ma=false) const
 
Propertyfind (const char *nm, bool ma=false)
 
int indexOf (const Property &p) const
 
int indexOf (const PropertyRef &pr) const
 
int indexOf (PropertyRef::StdType, int occ=0) const
 
void getPropertiesOfRefType (PropertyRef::StdType, ObjectSet< Property > &) const
 
bool add (Property *)
 refuses to add with identical name More...
 
int set (Property *)
 add or change into. returns index. More...
 
void remove (int)
 
void replace (int, Property *)
 
void erase ()
 
bool prepareUsage () const
 init()'s all Properties More...
 
void resetMemory ()
 
uiString errMsg () const
 

Protected Member Functions

Propertyfnd (const char *, bool) const
 

Protected Attributes

ObjectSet< Propertyprops_
 
uiString errmsg_
 

Detailed Description

Constructor & Destructor Documentation

PropertySet::PropertySet ( )
inline
PropertySet::PropertySet ( const PropertyRefSelection )

Creates ValueProperty's.

PropertySet::PropertySet ( const PropertySet ps)
inline
virtual PropertySet::~PropertySet ( )
inlinevirtual

Member Function Documentation

bool PropertySet::add ( Property )

refuses to add with identical name

void PropertySet::erase ( )
inline
uiString PropertySet::errMsg ( ) const
inline
const Property* PropertySet::find ( const char *  nm,
bool  ma = false 
) const
inline
Property* PropertySet::find ( const char *  nm,
bool  ma = false 
)
inline
Property* PropertySet::fnd ( const char *  ,
bool   
) const
protected
Property& PropertySet::get ( int  idx)
inline
const Property& PropertySet::get ( int  idx) const
inline
void PropertySet::getPropertiesOfRefType ( PropertyRef::StdType  ,
ObjectSet< Property > &   
) const
int PropertySet::indexOf ( const char *  ,
bool  matchaliases = false 
) const
int PropertySet::indexOf ( const Property p) const
inline
int PropertySet::indexOf ( const PropertyRef pr) const
inline
int PropertySet::indexOf ( PropertyRef::StdType  ,
int  occ = 0 
) const
bool PropertySet::isEmpty ( ) const
inline
bool PropertySet::isPresent ( const char *  nm,
bool  ma = false 
) const
inline
PropertySet& PropertySet::operator= ( const PropertySet )
bool PropertySet::prepareUsage ( ) const

init()'s all Properties

void PropertySet::remove ( int  )
void PropertySet::replace ( int  ,
Property  
)
void PropertySet::resetMemory ( )
int PropertySet::set ( Property )

add or change into. returns index.

int PropertySet::size ( ) const
inline

Member Data Documentation

uiString PropertySet::errmsg_
mutableprotected
ObjectSet<Property> PropertySet::props_
protected

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