OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
Coord3ListImpl Class Reference

A list of Coord3 where each coord has a unique id. More...

Inheritance diagram for Coord3ListImpl:
[legend]

Public Member Functions

 Coord3ListImpl ()
 
int add (const Coord3 &) override
 Return new id, or -1 if unsuccessful. More...
 
void addValue (int id, const Coord3 &) override
 Adds value to existing value at id. More...
 
Coord3 get (int id) const override
 
bool isDefined (int) const override
 
int nextID (int previd) const override
 
void remove (const TypeSet< int > &) override
 May contain duplicates. More...
 
void remove (int id) override
 
void set (int id, const Coord3 &) override
 
int size () const override
 
- Public Member Functions inherited from Coord3List
Coord3 center () const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Protected Attributes

TypeSet< Coord3coords_
 
TypeSet< int > removedids_
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Detailed Description

A list of Coord3 where each coord has a unique id.

<>

Constructor & Destructor Documentation

◆ Coord3ListImpl()

Coord3ListImpl::Coord3ListImpl ( )

Member Function Documentation

◆ add()

int Coord3ListImpl::add ( const Coord3 )
overridevirtual

Return new id, or -1 if unsuccessful.

Implements Coord3List.

◆ addValue()

void Coord3ListImpl::addValue ( int  id,
const Coord3  
)
overridevirtual

Adds value to existing value at id.

Implements Coord3List.

◆ get()

Coord3 Coord3ListImpl::get ( int  id) const
overridevirtual

Implements Coord3List.

◆ isDefined()

bool Coord3ListImpl::isDefined ( int  ) const
overridevirtual

Implements Coord3List.

◆ nextID()

int Coord3ListImpl::nextID ( int  previd) const
overridevirtual

If previd == -1, first id is returned. If -1 is returned, no more id's are available.

Implements Coord3List.

◆ remove() [1/2]

void Coord3ListImpl::remove ( const TypeSet< int > &  )
overridevirtual

May contain duplicates.

Implements Coord3List.

◆ remove() [2/2]

void Coord3ListImpl::remove ( int  id)
overridevirtual

Implements Coord3List.

◆ set()

void Coord3ListImpl::set ( int  id,
const Coord3  
)
overridevirtual

Implements Coord3List.

◆ size()

int Coord3ListImpl::size ( ) const
inlineoverridevirtual

Implements Coord3List.

Member Data Documentation

◆ coords_

TypeSet<Coord3> Coord3ListImpl::coords_
protected

◆ removedids_

TypeSet<int> Coord3ListImpl::removedids_
protected

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