OpendTect  7.0
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SingleSelector< T > Class Template Reference

Selector selecting only a single value. More...

Inheritance diagram for SingleSelector< T >:
[legend]

Public Member Functions

 SingleSelector ()
 
 SingleSelector (const T &t)
 
virtual bool canDoRange () const
 
virtual Selector< T > * clone () const
 
virtual bool include (const T &t, const char *)
 
virtual bool includes (const T &t) const
 
virtual char includesRange (const T &start, const T &stop) const
 
virtual const char * selectorType () const
 
- Public Member Functions inherited from Selector< T >
virtual ~Selector ()
 
bool isEqual (const Selector< T > &s) const
 
virtual bool isOK () const
 

Public Attributes

val_
 

Protected Member Functions

virtual bool isEq (const Selector< T > &ss) const
 

Detailed Description

template<class T>
class SingleSelector< T >

Selector selecting only a single value.

<>

Constructor & Destructor Documentation

◆ SingleSelector() [1/2]

template<class T >
SingleSelector< T >::SingleSelector ( )
inline

◆ SingleSelector() [2/2]

template<class T >
SingleSelector< T >::SingleSelector ( const T &  t)
inline

Member Function Documentation

◆ canDoRange()

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

Reimplemented from Selector< T >.

◆ clone()

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

Implements Selector< T >.

◆ include()

template<class T >
virtual bool SingleSelector< T >::include ( const T &  t,
const char *   
)
inlinevirtual

Reimplemented from Selector< T >.

◆ includes()

template<class T >
virtual bool SingleSelector< T >::includes ( const T &  t) const
inlinevirtual

Implements Selector< T >.

◆ includesRange()

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

Reimplemented from Selector< T >.

◆ isEq()

template<class T >
virtual bool SingleSelector< T >::isEq ( const Selector< T > &  ss) const
inlineprotectedvirtual

Implements Selector< T >.

◆ selectorType()

template<class T >
virtual const char* SingleSelector< T >::selectorType ( ) const
inlinevirtual

Implements Selector< T >.

Member Data Documentation

◆ val_

template<class T >
T SingleSelector< T >::val_

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