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

Public Attributes

const T * vals_
 
int sz_
 

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

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

Member Function Documentation

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

Implements Selector< T >.

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

Implements Selector< T >.

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

Implements Selector< T >.

template<class T>
void ArraySelector< T >::manageVals ( bool  yn = true)
inline
template<class T>
virtual const char* ArraySelector< T >::selectorType ( ) const
inlinevirtual

Implements Selector< T >.

Member Data Documentation

template<class T>
int ArraySelector< T >::sz_
template<class T>
const T* ArraySelector< T >::vals_
template<class T>
bool ArraySelector< T >::valsmine_
protected

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