#include <Constraint_Visitors.h>
Public Member Functions | |
int | operator() (TAO_DynSequence_i &dyn_any, CORBA::Float element) const |
Definition at line 428 of file Constraint_Visitors.h.
int TAO_Element_Equal< CORBA::Float >::operator() | ( | TAO_DynSequence_i & | dyn_any, | |
CORBA::Float | 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 711 of file Constraint_Visitors.cpp.
00713 { 00714 int return_value = 0; 00715 try 00716 { 00717 CORBA::Float value = dyn_any.get_float (); 00718 return_value = (value == element); 00719 } 00720 catch (const CORBA::Exception&){} 00721 return return_value; 00722 }