OpendTect  6.6
Public Member Functions | Private Member Functions | List of all members
Selector< T > Class Template Referenceabstract

Interface for classes that select on basis of a key. More...

Inheritance diagram for Selector< T >:
[legend]

Public Member Functions

virtual ~Selector ()
 
virtual bool canDoRange () const
 
virtual Selector< T > * clone () const =0
 
virtual bool include (const T &, const char *=0)
 
virtual bool includes (const T &) const =0
 
virtual char includesRange (const T &start, const T &stop) const
 
bool isEqual (const Selector< T > &s) const
 
virtual bool isOK () const
 
virtual const char * selectorType () const =0
 

Private Member Functions

virtual bool isEq (const Selector< T > &) const =0
 

Detailed Description

template<class T>
class Selector< T >

Interface for classes that select on basis of a key.

Some Selectors may be extensible: you can ask them to include a key value.

<>

Constructor & Destructor Documentation

◆ ~Selector()

template<class T >
virtual Selector< T >::~Selector ( )
inlinevirtual

Member Function Documentation

◆ canDoRange()

template<class T >
virtual bool Selector< T >::canDoRange ( ) const
inlinevirtual

◆ clone()

template<class T >
virtual Selector<T>* Selector< T >::clone ( ) const
pure virtual

◆ include()

template<class T >
virtual bool Selector< T >::include ( const T &  ,
const char *  = 0 
)
inlinevirtual

Reimplemented in RangeSelector< T >, and SingleSelector< T >.

◆ includes()

template<class T >
virtual bool Selector< T >::includes ( const T &  ) const
pure virtual

◆ includesRange()

template<class T >
virtual char Selector< T >::includesRange ( const T &  start,
const T &  stop 
) const
inlinevirtual
Return values
0not at all
1partly
2completely

Reimplemented in SingleSelector< T >, and visBase::PolygonCoord3Selector.

◆ isEq()

template<class T >
virtual bool Selector< T >::isEq ( const Selector< T > &  ) const
privatepure virtual

◆ isEqual()

template<class T >
bool Selector< T >::isEqual ( const Selector< T > &  s) const
inline

◆ isOK()

template<class T >
virtual bool Selector< T >::isOK ( ) const
inlinevirtual

Reimplemented in visBase::PolygonCoord3Selector.

◆ selectorType()

template<class T >
virtual const char* Selector< T >::selectorType ( ) const
pure virtual

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