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

Public Types

typedef impl_type::const_iterator const_iterator
 
typedef impl_type::const_reference const_reference
 
typedef impl_type::difference_type difference_type
 
typedef impl_type::idx_type idx_type
 
typedef impl_type::iterator iterator
 
typedef impl_type::object_type object_type
 
typedef impl_type::reference reference
 
typedef impl_type::size_type size_type
 
typedef impl_type::value_type value_type
 

Public Member Functions

 DBKeySet ()
 
 DBKeySet (const DBKey &dbky)
 
 DBKeySet (const DBKeySet &oth)
 
 ~DBKeySet ()
 
DBKeySetadd (const DBKey &ky)
 
DBKeySetadd (DBKey *ky)
 
bool addIfNew (const DBKey &)
 
void addTo (BufferStringSet &) const
 
void append (const DBKeySet &, bool allowduplicates=true)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
DBKeySetclone () const override
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
DBKeyfirst ()
 
const DBKeyfirst () const
 
DBKeyget (idx_type idx)
 
const DBKeyget (idx_type idx) const
 
size_type getIdx (const_iterator it) const
 
size_type getIdx (iterator it) const
 
idx_type indexOf (const DBKey &) const
 
void insert (idx_type, const DBKey &)
 
bool isEmpty () const
 
bool isPresent (const DBKey &dbky)
 
DBKeylast ()
 
const DBKeylast () const
 
size_type max_size () const
 
int64_t nrItems () const override
 
bool operator!= (const DBKeySet &) const
 
DBKeySetoperator+= (const DBKey &k)
 
DBKeySetoperator+= (DBKey *k)
 
DBKeySetoperator-= (const DBKey &k)
 
DBKeySetoperator= (const DBKeySet &oth)
 
DBKeySetoperator= (const TypeSet< MultiID > &oth)
 
bool operator== (const DBKeySet &) const
 
DBKeyoperator[] (idx_type idx)
 
const DBKeyoperator[] (idx_type idx) const
 
DBKeySetremove (const DBKey &)
 
DBKeySetremoveRange (idx_type, idx_type)
 
DBKeySetremoveSingle (idx_type)
 
void reverse () override
 
void setEmpty ()
 
size_type size () const
 
void swap (DBKeySet &oth)
 
void swap (idx_type i1, idx_type i2)
 
void swapItems (int64_t i1, int64_t i2) override
 
void useIndexes (const idx_type *idxs)
 
bool validIdx (int64_t i) const override
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Types

typedef ObjectSet< DBKeyimpl_type
 

Protected Attributes

impl_type dbkys_
 

Additional Inherited Members

- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 

Detailed Description

<>

Member Typedef Documentation

◆ const_iterator

◆ const_reference

◆ difference_type

◆ idx_type

◆ impl_type

typedef ObjectSet<DBKey> DBKeySet::impl_type
protected

◆ iterator

◆ object_type

◆ reference

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ DBKeySet() [1/3]

DBKeySet::DBKeySet ( )
inline

◆ DBKeySet() [2/3]

DBKeySet::DBKeySet ( const DBKeySet oth)
inline

◆ DBKeySet() [3/3]

DBKeySet::DBKeySet ( const DBKey dbky)
inlineexplicit

◆ ~DBKeySet()

DBKeySet::~DBKeySet ( )
inline

Member Function Documentation

◆ add() [1/2]

DBKeySet& DBKeySet::add ( const DBKey ky)
inline

◆ add() [2/2]

DBKeySet& DBKeySet::add ( DBKey ky)
inline

◆ addIfNew()

bool DBKeySet::addIfNew ( const DBKey )

◆ addTo()

void DBKeySet::addTo ( BufferStringSet ) const

◆ append()

void DBKeySet::append ( const DBKeySet ,
bool  allowduplicates = true 
)

◆ begin() [1/2]

iterator DBKeySet::begin ( )
inline

◆ begin() [2/2]

const_iterator DBKeySet::begin ( ) const
inline

◆ cbegin()

const_iterator DBKeySet::cbegin ( ) const
inline

◆ cend()

const_iterator DBKeySet::cend ( ) const
inline

◆ clone()

DBKeySet* DBKeySet::clone ( ) const
inlineoverridevirtual

Implements OD::Set.

◆ empty()

bool DBKeySet::empty ( ) const
inline

◆ end() [1/2]

iterator DBKeySet::end ( )
inline

◆ end() [2/2]

const_iterator DBKeySet::end ( ) const
inline

◆ erase()

void DBKeySet::erase ( )
inlineoverridevirtual

Implements OD::Set.

◆ first() [1/2]

DBKey& DBKeySet::first ( )
inline

◆ first() [2/2]

const DBKey& DBKeySet::first ( ) const
inline

◆ get() [1/2]

DBKey& DBKeySet::get ( idx_type  idx)
inline

◆ get() [2/2]

const DBKey& DBKeySet::get ( idx_type  idx) const
inline

◆ getIdx() [1/2]

size_type DBKeySet::getIdx ( const_iterator  it) const
inline

◆ getIdx() [2/2]

size_type DBKeySet::getIdx ( iterator  it) const
inline

◆ indexOf()

idx_type DBKeySet::indexOf ( const DBKey ) const

◆ insert()

void DBKeySet::insert ( idx_type  ,
const DBKey  
)

◆ isEmpty()

bool DBKeySet::isEmpty ( ) const
inline

◆ isPresent()

bool DBKeySet::isPresent ( const DBKey dbky)
inline

◆ last() [1/2]

DBKey& DBKeySet::last ( )
inline

◆ last() [2/2]

const DBKey& DBKeySet::last ( ) const
inline

◆ max_size()

size_type DBKeySet::max_size ( ) const
inline

◆ nrItems()

int64_t DBKeySet::nrItems ( ) const
inlineoverridevirtual

Implements OD::Set.

◆ operator!=()

bool DBKeySet::operator!= ( const DBKeySet ) const

◆ operator+=() [1/2]

DBKeySet& DBKeySet::operator+= ( const DBKey k)
inline

◆ operator+=() [2/2]

DBKeySet& DBKeySet::operator+= ( DBKey k)
inline

◆ operator-=()

DBKeySet& DBKeySet::operator-= ( const DBKey k)
inline

◆ operator=() [1/2]

DBKeySet& DBKeySet::operator= ( const DBKeySet oth)
inline

◆ operator=() [2/2]

DBKeySet& DBKeySet::operator= ( const TypeSet< MultiID > &  oth)

◆ operator==()

bool DBKeySet::operator== ( const DBKeySet ) const

◆ operator[]() [1/2]

DBKey& DBKeySet::operator[] ( idx_type  idx)
inline

◆ operator[]() [2/2]

const DBKey& DBKeySet::operator[] ( idx_type  idx) const
inline

◆ remove()

DBKeySet& DBKeySet::remove ( const DBKey )

◆ removeRange()

DBKeySet& DBKeySet::removeRange ( idx_type  ,
idx_type   
)

◆ removeSingle()

DBKeySet& DBKeySet::removeSingle ( idx_type  )

◆ reverse()

void DBKeySet::reverse ( )
inlineoverridevirtual

Implements OD::Set.

◆ setEmpty()

void DBKeySet::setEmpty ( )
inline

◆ size()

size_type DBKeySet::size ( ) const
inline

◆ swap() [1/2]

void DBKeySet::swap ( DBKeySet oth)
inline

◆ swap() [2/2]

void DBKeySet::swap ( idx_type  i1,
idx_type  i2 
)
inline

◆ swapItems()

void DBKeySet::swapItems ( int64_t  i1,
int64_t  i2 
)
inlineoverridevirtual

Implements OD::Set.

◆ useIndexes()

void DBKeySet::useIndexes ( const idx_type idxs)
inline

◆ validIdx()

bool DBKeySet::validIdx ( int64_t  i) const
inlineoverridevirtual

Implements OD::Set.

Member Data Documentation

◆ dbkys_

impl_type DBKeySet::dbkys_
protected

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