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

Selector based on array. More...

Inheritance diagram for ArraySelector< T >:
[legend]

Public Member Functions

 ArraySelector ()
 
 ArraySelector (const ArraySelector &x)
 
 ArraySelector (const T *v, int s)
 
 ~ArraySelector ()
 
virtual Selector< T > * clone () const
 
virtual bool includes (const T &t) const
 
void manageVals (bool yn=true)
 
virtual const char * selectorType () const
 
- Public Member Functions inherited from Selector< T >
virtual ~Selector ()
 
virtual bool canDoRange () const
 
virtual bool include (const T &, const char *=0)
 
virtual char includesRange (const T &start, const T &stop) const
 
bool isEqual (const Selector< T > &s) const
 
virtual bool isOK () const
 

Public Attributes

int sz_
 
const T * vals_
 

Protected Member Functions

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

Protected Attributes

bool valsmine_
 

Detailed Description

template<class T>
class ArraySelector< T >

Selector based on array.

<>

Constructor & Destructor Documentation

◆ ArraySelector() [1/3]

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

◆ ArraySelector() [2/3]

template<class T >
ArraySelector< T >::ArraySelector ( const T *  v,
int  s 
)
inline

◆ ArraySelector() [3/3]

template<class T >
ArraySelector< T >::ArraySelector ( const ArraySelector< T > &  x)
inline

◆ ~ArraySelector()

template<class T >
ArraySelector< T >::~ArraySelector ( )
inline

Member Function Documentation

◆ clone()

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

Implements Selector< T >.

◆ includes()

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

Implements Selector< T >.

◆ isEq()

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

Implements Selector< T >.

◆ manageVals()

template<class T >
void ArraySelector< T >::manageVals ( bool  yn = true)
inline

◆ selectorType()

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

Implements Selector< T >.

Member Data Documentation

◆ sz_

template<class T >
int ArraySelector< T >::sz_

◆ vals_

template<class T >
const T* ArraySelector< T >::vals_

◆ valsmine_

template<class T >
bool ArraySelector< T >::valsmine_
protected

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