Main Page   Groups   Namespaces  

mini3d::opEqualityIf< T > Class Template Reference
[Operation]

opEqualityIf - Check if two entities are the same More...

List of all members.

Public Member Functions

 opEqualityIf (const T& src, double epsilon=EPSILON)
 A default constructor.
virtual ~opEqualityIf ()
 A destructor.
virtual bool check (const T& other) const
 Check if two entities are the same.
virtual bool operator() (const T& other) const
 Check if two entities are the same.

Protected Attributes

opEquality _opEquality
const T& _src


Detailed Description

template <class T>
class mini3d::opEqualityIf< T >

opEqualityIf - Check if two entities are the same


Constructor & Destructor Documentation

template <class T>
mini3d::opEqualityIf<T>::opEqualityIf ( const T&  src,
double  epsilon = EPSILON
[inline]
 

A default constructor.

Parameters:
src the element to be check
epsilon the epsilon of checking

template <class T>
virtual mini3d::opEqualityIf<T>::~opEqualityIf (  )  [inline, virtual]
 

A destructor.


Member Function Documentation

template <class T>
virtual bool mini3d::opEqualityIf<T>::check ( const T&  other  )  const [inline, virtual]
 

Check if two entities are the same.

Returns:
true if they are the same, false otherwise

template <class T>
virtual bool mini3d::opEqualityIf<T>::operator() ( const T&  other  )  const [inline, virtual]
 

Check if two entities are the same.

Returns:
true if they are the same, false otherwise


Member Data Documentation

template <class T>
opEquality mini3d::opEqualityIf<T>::_opEquality [protected]
 

template <class T>
const T& mini3d::opEqualityIf<T>::_src [protected]
 


The documentation for this class was generated from the following file:
Generated for libmini3d by Doxygen 1.4.4 © 1997-2001