#include <Constraint_Visitors.h>
Public Member Functions | |
int | operator() (TAO_DynSequence_i &dyn_any, CORBA::Double element) const |
Definition at line 438 of file Constraint_Visitors.h.
int TAO_Element_Equal< CORBA::Double >::operator() | ( | TAO_DynSequence_i & | dyn_any, | |
CORBA::Double | element | |||
) | const |
Calls the correct method on dyn_seq to extract the element type, then uses the appropriate form of equals comparison.
Definition at line 726 of file Constraint_Visitors.cpp.
00728 { 00729 int return_value = 0; 00730 try 00731 { 00732 CORBA::Double value = dyn_any.get_double (); 00733 return_value = (value == element); 00734 } 00735 catch (const CORBA::Exception&){} 00736 return return_value; 00737 }