OpendTect  6.6
Public Member Functions | Protected Member Functions | List of all members
PropertyRefSet Class Reference
Inheritance diagram for PropertyRefSet:
[legend]

Public Member Functions

 PropertyRefSet ()
 
 PropertyRefSet (const PropertyRefSet &prs)
 
 ~PropertyRefSet ()
 
int add (PropertyRef *)
 
int ensurePresent (PropertyRef::StdType, const char *nm1, const char *nm2=0, const char *nm3=0)
 
PropertyReffind (const char *nm)
 
const PropertyReffind (const char *nm) const
 
int indexOf (const char *) const
 
int indexOf (const PropertyRef *pr) const
 
int indexOf (PropertyRef::StdType, int occ=0) const
 
bool isPresent (const char *nm) const
 
bool isPresent (const PropertyRef *pr) const
 
PropertyRefSetoperator= (const PropertyRefSet &)
 
void readFrom (ascistream &)
 
bool save (Repos::Source) const
 
bool subselect (PropertyRef::StdType, ObjectSet< const PropertyRef > &) const
 
bool writeTo (ascostream &) const
 
- Public Member Functions inherited from ObjectSet< PropertyRef >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (PropertyRef *)
 
 ObjectSet (PropertyRef *, PropertyRef *)
 
 ObjectSet (PropertyRef *, PropertyRef *, PropertyRef *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (PropertyRef *t)
 
bool addIfNew (PropertyRef *)
 
void allowNull (bool yn=true)
 
virtual void append (const ObjectSet &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual ObjectSetclone () const
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
virtual void erase ()
 
PropertyReffirst ()
 
const PropertyReffirst () const
 
virtual PropertyRefget (const PropertyRef *) const
 check & unconst More...
 
virtual PropertyRefget (idx_type)
 
virtual const PropertyRefget (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const PropertyRef *) const
 
virtual void insertAfter (PropertyRef *newptr, idx_type)
 
virtual void insertAt (PropertyRef *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const PropertyRef *) const
 
PropertyReflast ()
 
const PropertyReflast () const
 
size_type max_size () const
 
virtual int64_t nrItems () const
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (PropertyRef *t)
 
virtual ObjectSetoperator-= (PropertyRef *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const PropertyRefoperator[] (const PropertyRef *t) const
 
PropertyRefoperator[] (idx_type i)
 
const PropertyRefoperator[] (idx_type i) const
 
void plainErase ()
 
virtual PropertyRefpop ()
 
void push (PropertyRef *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual PropertyRefremoveSingle (idx_type, bool keep_order=true)
 
virtual PropertyRefreplace (idx_type, PropertyRef *)
 
virtual void reverse ()
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
virtual void swapItems (int64_t i1, int64_t i2)
 
void useIndexes (const idx_type *)
 
virtual bool validIdx (int64_t) const
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

virtual PropertyRefSetdoAdd (PropertyRef *pr)
 
PropertyReffnd (const char *) const
 
- Protected Member Functions inherited from ObjectSet< PropertyRef >
virtual ObjectSetdoAdd (PropertyRef *)
 

Additional Inherited Members

- Public Types inherited from ObjectSet< PropertyRef >
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 PropertyRef object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef PropertyRefvalue_type
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< PropertyRef >
typedef VectorAccess< PropertyRef *, size_typeimpl_type
 
- Protected Attributes inherited from ObjectSet< PropertyRef >
bool allow0_
 
impl_type vec_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ PropertyRefSet() [1/2]

PropertyRefSet::PropertyRefSet ( )

◆ PropertyRefSet() [2/2]

PropertyRefSet::PropertyRefSet ( const PropertyRefSet prs)
inline

◆ ~PropertyRefSet()

PropertyRefSet::~PropertyRefSet ( )

Member Function Documentation

◆ add()

int PropertyRefSet::add ( PropertyRef )

refuses if another one isKnownAs. If not added, clean up the mess yourself (i.e. delete it)

◆ doAdd()

virtual PropertyRefSet& PropertyRefSet::doAdd ( PropertyRef pr)
inlineprotectedvirtual

◆ ensurePresent()

int PropertyRefSet::ensurePresent ( PropertyRef::StdType  ,
const char *  nm1,
const char *  nm2 = 0,
const char *  nm3 = 0 
)

◆ find() [1/2]

PropertyRef* PropertyRefSet::find ( const char *  nm)
inline

◆ find() [2/2]

const PropertyRef* PropertyRefSet::find ( const char *  nm) const
inline

◆ fnd()

PropertyRef* PropertyRefSet::fnd ( const char *  ) const
protected

◆ indexOf() [1/3]

int PropertyRefSet::indexOf ( const char *  ) const

◆ indexOf() [2/3]

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

◆ indexOf() [3/3]

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

◆ isPresent() [1/2]

bool PropertyRefSet::isPresent ( const char *  nm) const
inline

◆ isPresent() [2/2]

bool PropertyRefSet::isPresent ( const PropertyRef pr) const
inline

◆ operator=()

PropertyRefSet& PropertyRefSet::operator= ( const PropertyRefSet )

◆ readFrom()

void PropertyRefSet::readFrom ( ascistream )

◆ save()

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

◆ subselect()

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

◆ writeTo()

bool PropertyRefSet::writeTo ( ascostream ) const

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