OpendTect-6_4  6.4
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 char * name () const
 
void fill (const IODir &, const char *nmfiltglobexpr=0)
 IODir is expected to remain alive. More...
 
void setSelected (const MultiID &)
 
void sort ()
 
void setCurrent (int idx)
 
const IODirEntrycurrent () const
 
const IOObjselected () const
 
void removeWithTranslator (const char *)
 
int indexOf (const char *) const
 
int indexOf (const IODirEntry *e) const
 
void getIOObjNames (BufferStringSet &) const
 
- Public Member Functions inherited from ObjectSet< IODirEntry >
 ObjectSet ()
 
 ObjectSet (const ObjectSet< IODirEntry > &)
 
virtual ~ObjectSet ()
 
ObjectSet< IODirEntry > & operator= (const ObjectSet< IODirEntry > &)
 
virtual bool isManaged () const
 
bool nullAllowed () const
 
void allowNull (bool yn=true)
 
size_type size () const
 
virtual int64_t nrItems () const
 
virtual IODirEntryoperator[] (size_type)
 
virtual const IODirEntryoperator[] (size_type) const
 
virtual IODirEntryoperator[] (const IODirEntry *) const
 check & unconst More...
 
virtual bool validIdx (int64_t) const
 
virtual bool isPresent (const IODirEntry *) const
 
IODirEntryfirst ()
 
const IODirEntryfirst () const
 
IODirEntrylast ()
 
const IODirEntrylast () const
 
ObjectSet< IODirEntry > & add (IODirEntry *t)
 
ObjectSet< IODirEntry > & operator+= (IODirEntry *t)
 
void push (IODirEntry *t)
 
bool addIfNew (IODirEntry *)
 
virtual IODirEntryreplace (size_type idx, IODirEntry *)
 
virtual void insertAt (IODirEntry *newptr, size_type)
 
virtual void insertAfter (IODirEntry *newptr, size_type)
 
virtual void copy (const ObjectSet< IODirEntry > &)
 
virtual void append (const ObjectSet< IODirEntry > &)
 
virtual void swap (int64_t, int64_t)
 
virtual void reverse ()
 
virtual void erase ()
 
virtual IODirEntrypop ()
 
virtual IODirEntryremoveSingle (size_type, bool keep_order=true)
 
virtual void removeRange (size_type from, size_type to)
 
virtual ObjectSet< IODirEntry > & operator-= (IODirEntry *)
 
void plainErase ()
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Public Attributes

MultiID lastiokey
 
IOObjContextctxt
 

Protected Attributes

int cur_
 
bool maycd_
 
BufferString name_
 
- Protected Attributes inherited from ObjectSet< IODirEntry >
VectorAccess< void *, size_typevec_
 
bool allow0_
 

Additional Inherited Members

- Public Types inherited from ObjectSet< IODirEntry >
typedef int size_type
 
typedef IODirEntry object_type
 
- Protected Member Functions inherited from ObjectSet< IODirEntry >
virtual ObjectSet< IODirEntry > & doAdd (IODirEntry *)
 

Detailed Description

list of dir entries.

Constructor & Destructor Documentation

IODirEntryList::IODirEntryList ( const IODir ,
const IOObjContext  
)

IODir is expected to remain alive.

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

IODir is expected to remain alive.

IODirEntryList::~IODirEntryList ( )

Member Function Documentation

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

IODir is expected to remain alive.

void IODirEntryList::getIOObjNames ( BufferStringSet ) const
int IODirEntryList::indexOf ( const char *  ) const
int IODirEntryList::indexOf ( const IODirEntry e) const
inlinevirtual

Reimplemented from ObjectSet< IODirEntry >.

const char* IODirEntryList::name ( ) const
inline
void IODirEntryList::removeWithTranslator ( const char *  )
const IOObj* IODirEntryList::selected ( ) const
inline
void IODirEntryList::setCurrent ( int  idx)
inline
void IODirEntryList::setSelected ( const MultiID )
void IODirEntryList::sort ( )

Member Data Documentation

IOObjContext& IODirEntryList::ctxt
int IODirEntryList::cur_
protected
MultiID IODirEntryList::lastiokey
bool IODirEntryList::maycd_
protected
BufferString IODirEntryList::name_
protected

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