OpendTect-6_4  6.4
Public Member Functions | Private Member Functions | List of all members
Coord2List Class Referenceabstract

Interface for a list of Coords with automatically maintained IDs. More...

Inheritance diagram for Coord2List:
[legend]

Public Member Functions

virtual int nextID (int previd) const =0
 
virtual Coord get (int id) const =0
 
virtual void set (int id, const Coord &)=0
 
virtual int add (const Coord &)=0
 Return new id, or -1 if unsuccessful. More...
 
virtual void addValue (int id, const Coord &)=0
 Adds value to existing value at id. More...
 
virtual void remove (int id)=0
 
virtual void remove (const TypeSet< int > &)=0
 
virtual int size () const =0
 
Coord center () const
 

Private Member Functions

 mRefCountImplNoDestructor (Coord2List)
 

Detailed Description

Interface for a list of Coords with automatically maintained IDs.

Member Function Documentation

virtual int Coord2List::add ( const Coord )
pure virtual

Return new id, or -1 if unsuccessful.

Implemented in Coord2ListImpl.

virtual void Coord2List::addValue ( int  id,
const Coord  
)
pure virtual

Adds value to existing value at id.

Implemented in Coord2ListImpl.

Coord Coord2List::center ( ) const
virtual Coord Coord2List::get ( int  id) const
pure virtual

Implemented in Coord2ListImpl.

Coord2List::mRefCountImplNoDestructor ( Coord2List  )
private
virtual int Coord2List::nextID ( int  previd) const
pure virtual

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

Implemented in Coord2ListImpl.

virtual void Coord2List::remove ( int  id)
pure virtual

Implemented in Coord2ListImpl.

virtual void Coord2List::remove ( const TypeSet< int > &  )
pure virtual

Implemented in Coord2ListImpl.

virtual void Coord2List::set ( int  id,
const Coord  
)
pure virtual

Implemented in Coord2ListImpl.

virtual int Coord2List::size ( ) const
pure virtual

Implemented in Coord2ListImpl.


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