#include <Constraint_Visitors.h>
Public Member Functions | |
int | operator() (TAO_DynSequence_i &dyn_any, CORBA::ULongLong element) const |
Definition at line 417 of file Constraint_Visitors.h.
int TAO_Element_Equal< CORBA::ULongLong >::operator() | ( | TAO_DynSequence_i & | dyn_any, | |
CORBA::ULongLong | 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 694 of file Constraint_Visitors.cpp.
00696 { 00697 int return_value = 0; 00698 try 00699 { 00700 CORBA::ULongLong value = dyn_any.get_ulonglong (); 00701 return_value = (value == element); 00702 } 00703 catch (const CORBA::Exception&) 00704 { 00705 } 00706 return return_value; 00707 }