OpendTect 8.0
Loading...
Searching...
No Matches
Repos::IOParSet Class Reference

Set of Repos::IOPar with each a unique name for user recognistion. More...

#include <repos.h>

Inheritance diagram for Repos::IOParSet:
[legend]

Public Member Functions

 IOParSet (const char *basenm)
 
BufferString fileName (Source) const
 
int find (const char *) const
 
ObjectSet< const IOPar > getEntries (Source) const
 
bool write (const Source *s=0) const
 
bool write (Source) const
 
- Public Member Functions inherited from ManagedObjectSet< IOPar >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet &)=delete
 
 ManagedObjectSet (const ObjectSet< IOPar > &)
 
void append (const ManagedObjectSet< IOPar > &)=delete
 
void append (const ObjectSet< IOPar > &os) override
 
void copy (const ObjectSet< IOPar > &os) override
 
ManagedObjectSet & operator= (const ManagedObjectSet &)=delete
 
ManagedObjectSet< IOPar > & operator= (const ObjectSet< IOPar > &os)
 
- Public Member Functions inherited from ManagedObjectSetBase< IOPar >
void erase () override
 
bool isManaged () const override
 
ManagedObjectSetBase< IOPar > & operator-= (IOPar *) override
 
IOPar * pop () override
 
virtual IOPar * removeAndTake (idx_type, bool kporder=true)
 
void removeRange (idx_type, idx_type) override
 
IOPar * removeSingle (idx_type, bool kporder=true) override
 
IOPar * replace (idx_type, IOPar *) override
 
- Public Member Functions inherited from ObjectSet< IOPar >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (IOPar *)
 
 ObjectSet (IOPar *, IOPar *)
 
 ObjectSet (IOPar *, IOPar *, IOPar *)
 
virtual ~ObjectSet ()
 
ObjectSet & add (IOPar *t)
 
bool addIfNew (IOPar *)
 
void allowNull (bool yn=true)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
ObjectSet * clone () const override
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
IOPar * first ()
 
const IOPar * first () const
 
virtual IOPar * get (const IOPar *) const
 check & unconst
 
virtual IOPar * get (idx_type)
 
virtual const IOPar * get (idx_type) const
 
virtual size_type getCapacity () const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const IOPar *) const
 
virtual void insertAfter (IOPar *newptr, idx_type)
 
virtual void insertAt (IOPar *newptr, idx_type)
 
virtual bool isPresent (const IOPar *) const
 
IOPar * last ()
 
const IOPar * last () const
 
size_type max_size () const
 
od_int64 nrItems () const override
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSet & operator+= (IOPar *t)
 
ObjectSet & operator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const IOPar * operator[] (const IOPar *t) const
 
IOPar * operator[] (idx_type i)
 
const IOPar * operator[] (idx_type i) const
 
void plainErase ()
 
void push (IOPar *t)
 
void reverse () override
 
virtual bool setCapacity (size_type, bool withmargin)
 Allocates mem only, no size() change.
 
void setNullAllowed (bool yn=true)
 
virtual bool setSize (size_type)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
void swapItems (od_int64 i1, od_int64 i2) override
 
void useIndexes (const idx_type *)
 
bool validIdx (od_int64) const override
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

IOParSet & doAdd (IOPar *) override
 
- Protected Member Functions inherited from ManagedObjectSetBase< IOPar >
 ManagedObjectSetBase (PtrFunc delfunc)
 
 ~ManagedObjectSetBase ()
 
- Protected Member Functions inherited from ObjectSet< IOPar >
virtual ObjectSet & doAdd (IOPar *)
 

Protected Attributes

const BufferString basenm_
 
- Protected Attributes inherited from ObjectSet< IOPar >
bool allow0_
 
impl_type vec_
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< IOPar >
typedef ObjectSet< IOPar >::idx_type idx_type
 
typedef ObjectSet< IOPar >::size_type size_type
 
- Public Types inherited from ManagedObjectSetBase< IOPar >
typedef ObjectSet< IOPar >::idx_type idx_type
 
typedef ObjectSet< IOPar >::size_type size_type
 
- Public Types inherited from ObjectSet< IOPar >
typedef impl_type::const_iterator const_iterator
 
typedef const value_type & const_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef IOPar object_type
 
typedef value_type & reference
 
typedef int size_type
 
typedef IOPar * value_type
 
- Static Public Member Functions inherited from OD::Set
static od_int32 maxIdx32 ()
 
static od_int64 maxIdx64 ()
 
- Protected Types inherited from ManagedObjectSetBase< IOPar >
typedef void(* PtrFunc) (IOPar *ptr)
 
- Protected Types inherited from ObjectSet< IOPar >
typedef VectorAccess< IOPar *, size_type > impl_type
 

Detailed Description

Set of Repos::IOPar with each a unique name for user recognistion.

Constructor & Destructor Documentation

◆ IOParSet()

Repos::IOParSet::IOParSet ( const char * basenm)

Member Function Documentation

◆ doAdd()

IOParSet & Repos::IOParSet::doAdd ( IOPar * )
overrideprotected

◆ fileName()

BufferString Repos::IOParSet::fileName ( Source ) const

◆ find()

int Repos::IOParSet::find ( const char * ) const

◆ getEntries()

ObjectSet< const IOPar > Repos::IOParSet::getEntries ( Source ) const

◆ write() [1/2]

bool Repos::IOParSet::write ( const Source * s = 0) const

◆ write() [2/2]

bool Repos::IOParSet::write ( Source ) const

Member Data Documentation

◆ basenm_

const BufferString Repos::IOParSet::basenm_
protected

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