OpendTect  6.6
Public Member Functions | Static Public Member Functions | List of all members
MnemonicSelection Class Reference
Inheritance diagram for MnemonicSelection:
[legend]

Public Member Functions

 MnemonicSelection ()
 
int find (const char *) const
 
const MnemonicgetSingle (const char *nm) const
 
int indexOf (const char *) const
 
int indexOf (const Mnemonic *mn) const
 
bool isPresent (const char *mnnm) const
 
bool isPresent (const Mnemonic *mn) const
 
bool operator== (const MnemonicSelection &) const
 
- Public Member Functions inherited from ObjectSet< const Mnemonic >
 ObjectSet ()
 
 ObjectSet (const Mnemonic *)
 
 ObjectSet (const Mnemonic *, const Mnemonic *)
 
 ObjectSet (const Mnemonic *, const Mnemonic *, const Mnemonic *)
 
 ObjectSet (const ObjectSet &)
 
virtual ~ObjectSet ()
 
ObjectSetadd (const Mnemonic *t)
 
bool addIfNew (const Mnemonic *)
 
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 ()
 
const Mnemonicfirst ()
 
const const Mnemonicfirst () const
 
virtual const Mnemonicget (const const Mnemonic *) const
 check & unconst More...
 
virtual const Mnemonicget (idx_type)
 
virtual const const Mnemonicget (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const const Mnemonic *) const
 
virtual void insertAfter (const Mnemonic *newptr, idx_type)
 
virtual void insertAt (const Mnemonic *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const const Mnemonic *) const
 
const Mnemoniclast ()
 
const const Mnemoniclast () const
 
size_type max_size () const
 
virtual int64_t nrItems () const
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (const Mnemonic *t)
 
virtual ObjectSetoperator-= (const Mnemonic *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const const Mnemonicoperator[] (const const Mnemonic *t) const
 
const Mnemonicoperator[] (idx_type i)
 
const const Mnemonicoperator[] (idx_type i) const
 
void plainErase ()
 
virtual const Mnemonicpop ()
 
void push (const Mnemonic *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual const MnemonicremoveSingle (idx_type, bool keep_order=true)
 
virtual const Mnemonicreplace (idx_type, const Mnemonic *)
 
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 ()
 

Static Public Member Functions

static MnemonicSelection getAll (const Mnemonic *exclude=nullptr)
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 

Additional Inherited Members

- Public Types inherited from ObjectSet< const Mnemonic >
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 const Mnemonic object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef const Mnemonicvalue_type
 
- Protected Types inherited from ObjectSet< const Mnemonic >
typedef VectorAccess< const Mnemonic *, size_typeimpl_type
 
- Protected Member Functions inherited from ObjectSet< const Mnemonic >
virtual ObjectSetdoAdd (const Mnemonic *)
 
- Protected Attributes inherited from ObjectSet< const Mnemonic >
bool allow0_
 
impl_type vec_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ MnemonicSelection()

MnemonicSelection::MnemonicSelection ( )
inline

Member Function Documentation

◆ find()

int MnemonicSelection::find ( const char *  ) const

◆ getAll()

static MnemonicSelection MnemonicSelection::getAll ( const Mnemonic exclude = nullptr)
static

◆ getSingle()

const Mnemonic* MnemonicSelection::getSingle ( const char *  nm) const
inline

◆ indexOf() [1/2]

int MnemonicSelection::indexOf ( const char *  ) const

◆ indexOf() [2/2]

int MnemonicSelection::indexOf ( const Mnemonic mn) const
inline

◆ isPresent() [1/2]

bool MnemonicSelection::isPresent ( const char *  mnnm) const
inline

◆ isPresent() [2/2]

bool MnemonicSelection::isPresent ( const Mnemonic mn) const
inline

◆ operator==()

bool MnemonicSelection::operator== ( const MnemonicSelection ) const

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