#include <Constraint_Visitors.h>
Public Member Functions | |
int | operator() (TAO_DynSequence_i &dyn_any, CORBA::ULong element) const |
Definition at line 396 of file Constraint_Visitors.h.
int TAO_Element_Equal< CORBA::ULong >::operator() | ( | TAO_DynSequence_i & | dyn_any, | |
CORBA::ULong | 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 660 of file Constraint_Visitors.cpp.
00662 { 00663 int return_value = 0; 00664 try 00665 { 00666 CORBA::ULong value = dyn_any.get_ulong (); 00667 return_value = (value == element); 00668 } 00669 catch (const CORBA::Exception&) 00670 { 00671 } 00672 return return_value; 00673 }