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

list of dir entries. More...

Inheritance diagram for IODirEntryList:
[legend]

Public Member Functions

 IODirEntryList (const IODir &, const IOObjContext &)
 IODir is expected to remain alive. More...
 
 IODirEntryList (const IODir &, const TranslatorGroup *, bool maychgdir, const char *translator_globexpr=0)
 IODir is expected to remain alive. More...
 
 ~IODirEntryList ()
 
const IODirEntrycurrent () const
 
void fill (const IODir &, const char *nmfiltglobexpr=0)
 IODir is expected to remain alive. More...
 
void getIOObjNames (BufferStringSet &) const
 
BufferStringSet getValuesFor (const char *key) const
 key can be either the translator group name or an omf metadata key More...
 
int indexOf (const char *) const
 
int indexOf (const IODirEntry *e) const
 
const char * name () const
 
void removeWithTranslator (const char *)
 
const IOObjselected () const
 
void setCurrent (int idx)
 
void setSelected (const MultiID &)
 
void sort ()
 
- Public Member Functions inherited from ObjectSet< IODirEntry >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (IODirEntry *)
 
 ObjectSet (IODirEntry *, IODirEntry *)
 
 ObjectSet (IODirEntry *, IODirEntry *, IODirEntry *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (IODirEntry *t)
 
bool addIfNew (IODirEntry *)
 
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 ()
 
IODirEntryfirst ()
 
const IODirEntryfirst () const
 
virtual IODirEntryget (const IODirEntry *) const
 check & unconst More...
 
virtual IODirEntryget (idx_type)
 
virtual const IODirEntryget (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const IODirEntry *) const
 
virtual void insertAfter (IODirEntry *newptr, idx_type)
 
virtual void insertAt (IODirEntry *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const IODirEntry *) const
 
IODirEntrylast ()
 
const IODirEntrylast () const
 
size_type max_size () const
 
virtual int64_t nrItems () const
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (IODirEntry *t)
 
virtual ObjectSetoperator-= (IODirEntry *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const IODirEntryoperator[] (const IODirEntry *t) const
 
IODirEntryoperator[] (idx_type i)
 
const IODirEntryoperator[] (idx_type i) const
 
void plainErase ()
 
virtual IODirEntrypop ()
 
void push (IODirEntry *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual IODirEntryremoveSingle (idx_type, bool keep_order=true)
 
virtual IODirEntryreplace (idx_type, IODirEntry *)
 
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 ()
 

Public Attributes

IOObjContextctxt
 
MultiID lastiokey
 

Protected Attributes

int cur_
 
bool maycd_
 
BufferString name_
 
- Protected Attributes inherited from ObjectSet< IODirEntry >
bool allow0_
 
impl_type vec_
 

Additional Inherited Members

- Public Types inherited from ObjectSet< IODirEntry >
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 IODirEntry object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef IODirEntryvalue_type
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< IODirEntry >
typedef VectorAccess< IODirEntry *, size_typeimpl_type
 
- Protected Member Functions inherited from ObjectSet< IODirEntry >
virtual ObjectSetdoAdd (IODirEntry *)
 

Detailed Description

list of dir entries.

<>

Constructor & Destructor Documentation

◆ IODirEntryList() [1/2]

IODirEntryList::IODirEntryList ( const IODir ,
const IOObjContext  
)

IODir is expected to remain alive.

◆ IODirEntryList() [2/2]

IODirEntryList::IODirEntryList ( const IODir ,
const TranslatorGroup ,
bool  maychgdir,
const char *  translator_globexpr = 0 
)

IODir is expected to remain alive.

◆ ~IODirEntryList()

IODirEntryList::~IODirEntryList ( )

Member Function Documentation

◆ current()

const IODirEntry* IODirEntryList::current ( ) const
inline

◆ fill()

void IODirEntryList::fill ( const IODir ,
const char *  nmfiltglobexpr = 0 
)

IODir is expected to remain alive.

◆ getIOObjNames()

void IODirEntryList::getIOObjNames ( BufferStringSet ) const

◆ getValuesFor()

BufferStringSet IODirEntryList::getValuesFor ( const char *  key) const

key can be either the translator group name or an omf metadata key

◆ indexOf() [1/2]

int IODirEntryList::indexOf ( const char *  ) const

◆ indexOf() [2/2]

int IODirEntryList::indexOf ( const IODirEntry e) const
inline

◆ name()

const char* IODirEntryList::name ( ) const
inline

◆ removeWithTranslator()

void IODirEntryList::removeWithTranslator ( const char *  )

◆ selected()

const IOObj* IODirEntryList::selected ( ) const
inline

◆ setCurrent()

void IODirEntryList::setCurrent ( int  idx)
inline

◆ setSelected()

void IODirEntryList::setSelected ( const MultiID )

◆ sort()

void IODirEntryList::sort ( )

Member Data Documentation

◆ ctxt

IOObjContext& IODirEntryList::ctxt

◆ cur_

int IODirEntryList::cur_
protected

◆ lastiokey

MultiID IODirEntryList::lastiokey

◆ maycd_

bool IODirEntryList::maycd_
protected

◆ name_

BufferString IODirEntryList::name_
protected

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