OpendTect  7.0
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 override
 
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
 
ObjectSetclone () const override
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
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
 
std::int64_t nrItems () const override
 
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 *)
 
void reverse () override
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
void swapItems (std::int64_t i1, std::int64_t i2) override
 
void useIndexes (const idx_type *)
 
bool validIdx (std::int64_t) const override
 
- 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 std::int32_t maxIdx32 ()
 
static std::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
inlineoverride

◆ 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-2024