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

Public Member Functions

 MnemonicSet ()
 
 MnemonicSet (const MnemonicSet &mns)
 
 ~MnemonicSet ()
 
int add (Mnemonic *)
 
Mnemonicfind (const char *nm)
 
const Mnemonicfind (const char *nm) const
 
MnemonicgetGuessed (const UnitOfMeasure *)
 
const MnemonicgetGuessed (const UnitOfMeasure *) const
 
MnemonicgetGuessed (PropertyRef::StdType)
 
const MnemonicgetGuessed (PropertyRef::StdType) const
 
void getNames (BufferStringSet &) const
 
MnemonicSetgetSet (const PropertyRef *)
 
int indexOf (const char *) const
 
int indexOf (const Mnemonic *mn) const
 
bool isPresent (const char *nm) const
 
bool isPresent (const Mnemonic *mn) const
 
MnemonicSetoperator= (const MnemonicSet &)
 
void readFrom (ascistream &)
 
bool save () const
 
bool writeTo (ascostream &) const
 
- Public Member Functions inherited from ObjectSet< Mnemonic >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (Mnemonic *)
 
 ObjectSet (Mnemonic *, Mnemonic *)
 
 ObjectSet (Mnemonic *, Mnemonic *, Mnemonic *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (Mnemonic *t)
 
bool addIfNew (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 ()
 
Mnemonicfirst ()
 
const Mnemonicfirst () const
 
virtual Mnemonicget (const Mnemonic *) const
 check & unconst More...
 
virtual Mnemonicget (idx_type)
 
virtual const Mnemonicget (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const Mnemonic *) const
 
virtual void insertAfter (Mnemonic *newptr, idx_type)
 
virtual void insertAt (Mnemonic *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const Mnemonic *) const
 
Mnemoniclast ()
 
const Mnemoniclast () const
 
size_type max_size () const
 
virtual int64_t nrItems () const
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (Mnemonic *t)
 
virtual ObjectSetoperator-= (Mnemonic *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const Mnemonicoperator[] (const Mnemonic *t) const
 
Mnemonicoperator[] (idx_type i)
 
const Mnemonicoperator[] (idx_type i) const
 
void plainErase ()
 
virtual Mnemonicpop ()
 
void push (Mnemonic *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual MnemonicremoveSingle (idx_type, bool keep_order=true)
 
virtual Mnemonicreplace (idx_type, 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 ()
 

Protected Member Functions

virtual MnemonicSetdoAdd (Mnemonic *mn)
 
Mnemonicfnd (const char *) const
 
- Protected Member Functions inherited from ObjectSet< Mnemonic >
virtual ObjectSetdoAdd (Mnemonic *)
 

Additional Inherited Members

- Public Types inherited from ObjectSet< 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 Mnemonic object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef Mnemonicvalue_type
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< Mnemonic >
typedef VectorAccess< Mnemonic *, size_typeimpl_type
 
- Protected Attributes inherited from ObjectSet< Mnemonic >
bool allow0_
 
impl_type vec_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ MnemonicSet() [1/2]

MnemonicSet::MnemonicSet ( )
inline

◆ MnemonicSet() [2/2]

MnemonicSet::MnemonicSet ( const MnemonicSet mns)
inline

◆ ~MnemonicSet()

MnemonicSet::~MnemonicSet ( )

Member Function Documentation

◆ add()

int MnemonicSet::add ( Mnemonic )

◆ doAdd()

virtual MnemonicSet& MnemonicSet::doAdd ( Mnemonic mn)
inlineprotectedvirtual

◆ find() [1/2]

Mnemonic* MnemonicSet::find ( const char *  nm)
inline

◆ find() [2/2]

const Mnemonic* MnemonicSet::find ( const char *  nm) const
inline

◆ fnd()

Mnemonic* MnemonicSet::fnd ( const char *  ) const
protected

◆ getGuessed() [1/4]

Mnemonic* MnemonicSet::getGuessed ( const UnitOfMeasure )

◆ getGuessed() [2/4]

const Mnemonic* MnemonicSet::getGuessed ( const UnitOfMeasure ) const

◆ getGuessed() [3/4]

Mnemonic* MnemonicSet::getGuessed ( PropertyRef::StdType  )

◆ getGuessed() [4/4]

const Mnemonic* MnemonicSet::getGuessed ( PropertyRef::StdType  ) const

◆ getNames()

void MnemonicSet::getNames ( BufferStringSet ) const

◆ getSet()

MnemonicSet* MnemonicSet::getSet ( const PropertyRef )

◆ indexOf() [1/2]

int MnemonicSet::indexOf ( const char *  ) const

◆ indexOf() [2/2]

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

◆ isPresent() [1/2]

bool MnemonicSet::isPresent ( const char *  nm) const
inline

◆ isPresent() [2/2]

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

◆ operator=()

MnemonicSet& MnemonicSet::operator= ( const MnemonicSet )

◆ readFrom()

void MnemonicSet::readFrom ( ascistream )

◆ save()

bool MnemonicSet::save ( ) const

◆ writeTo()

bool MnemonicSet::writeTo ( ascostream ) const

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