OpendTect-6_4  6.4
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 ()
 
PropertyRefSetoperator= (const PropertyRefSet &)
 
bool isPresent (const char *nm) const
 
int indexOf (const char *) const
 
int indexOf (PropertyRef::StdType, int occ=0) const
 
PropertyReffind (const char *nm)
 
const PropertyReffind (const char *nm) const
 
int add (PropertyRef *)
 
int ensurePresent (PropertyRef::StdType, const char *nm1, const char *nm2=0, const char *nm3=0)
 
bool save (Repos::Source) const
 
bool isPresent (const PropertyRef *pr) const
 
int indexOf (const PropertyRef *pr) const
 
bool subselect (PropertyRef::StdType, ObjectSet< const PropertyRef > &) const
 
void readFrom (ascistream &)
 
bool writeTo (ascostream &) const
 
- Public Member Functions inherited from ObjectSet< PropertyRef >
 ObjectSet ()
 
 ObjectSet (const ObjectSet< PropertyRef > &)
 
virtual ~ObjectSet ()
 
ObjectSet< PropertyRef > & operator= (const ObjectSet< PropertyRef > &)
 
virtual bool isManaged () const
 
bool nullAllowed () const
 
void allowNull (bool yn=true)
 
size_type size () const
 
virtual int64_t nrItems () const
 
virtual PropertyRefoperator[] (size_type)
 
virtual const PropertyRefoperator[] (size_type) const
 
virtual PropertyRefoperator[] (const PropertyRef *) const
 check & unconst More...
 
virtual bool validIdx (int64_t) const
 
PropertyReffirst ()
 
const PropertyReffirst () const
 
PropertyReflast ()
 
const PropertyReflast () const
 
ObjectSet< PropertyRef > & add (PropertyRef *t)
 
ObjectSet< PropertyRef > & operator+= (PropertyRef *t)
 
void push (PropertyRef *t)
 
bool addIfNew (PropertyRef *)
 
virtual PropertyRefreplace (size_type idx, PropertyRef *)
 
virtual void insertAt (PropertyRef *newptr, size_type)
 
virtual void insertAfter (PropertyRef *newptr, size_type)
 
virtual void copy (const ObjectSet< PropertyRef > &)
 
virtual void append (const ObjectSet< PropertyRef > &)
 
virtual void swap (int64_t, int64_t)
 
virtual void reverse ()
 
virtual void erase ()
 
virtual PropertyRefpop ()
 
virtual PropertyRefremoveSingle (size_type, bool keep_order=true)
 
virtual void removeRange (size_type from, size_type to)
 
virtual ObjectSet< PropertyRef > & operator-= (PropertyRef *)
 
void plainErase ()
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

PropertyReffnd (const char *) const
 
virtual PropertyRefSetdoAdd (PropertyRef *pr)
 

Additional Inherited Members

- Public Types inherited from ObjectSet< PropertyRef >
typedef int size_type
 
typedef PropertyRef object_type
 
- Protected Attributes inherited from ObjectSet< PropertyRef >
VectorAccess< void *, size_typevec_
 
bool allow0_
 

Detailed Description

Constructor & Destructor Documentation

PropertyRefSet::PropertyRefSet ( )
PropertyRefSet::PropertyRefSet ( const PropertyRefSet prs)
inline
PropertyRefSet::~PropertyRefSet ( )

Member Function Documentation

int PropertyRefSet::add ( PropertyRef )

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

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

Reimplemented from ObjectSet< PropertyRef >.

int PropertyRefSet::ensurePresent ( PropertyRef::StdType  ,
const char *  nm1,
const char *  nm2 = 0,
const char *  nm3 = 0 
)
PropertyRef* PropertyRefSet::find ( const char *  nm)
inline
const PropertyRef* PropertyRefSet::find ( const char *  nm) const
inline
PropertyRef* PropertyRefSet::fnd ( const char *  ) const
protected
int PropertyRefSet::indexOf ( const char *  ) const
int PropertyRefSet::indexOf ( PropertyRef::StdType  ,
int  occ = 0 
) const
int PropertyRefSet::indexOf ( const PropertyRef pr) const
inlinevirtual

Reimplemented from ObjectSet< PropertyRef >.

bool PropertyRefSet::isPresent ( const char *  nm) const
inline
bool PropertyRefSet::isPresent ( const PropertyRef pr) const
inlinevirtual

Reimplemented from ObjectSet< PropertyRef >.

PropertyRefSet& PropertyRefSet::operator= ( const PropertyRefSet )
void PropertyRefSet::readFrom ( ascistream )
bool PropertyRefSet::save ( Repos::Source  ) const
bool PropertyRefSet::subselect ( PropertyRef::StdType  ,
ObjectSet< const PropertyRef > &   
) const
bool PropertyRefSet::writeTo ( ascostream ) const

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