Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

ArraySelector< T > Class Template Reference

Selector based on array. More...

Inheritance diagram for ArraySelector< T >:
Selector< T >

List of all members.

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 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 [inline, virtual]

Implements Selector< T >.

template<class T>
virtual bool ArraySelector< T >::includes ( const T &  t  )  const [inline, virtual]

Implements Selector< T >.

template<class T>
virtual bool ArraySelector< T >::isEq ( const Selector< T > &  ss  )  const [inline, protected, virtual]

Implements Selector< T >.

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

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]