#include <Constraint_Visitors.h>
Public Member Functions | |
int | operator() (TAO_DynSequence_i &dyn_any, CORBA::LongLong element) const |
Definition at line 407 of file Constraint_Visitors.h.
int TAO_Element_Equal< CORBA::LongLong >::operator() | ( | TAO_DynSequence_i & | dyn_any, | |
CORBA::LongLong | 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 677 of file Constraint_Visitors.cpp.
00679 { 00680 int return_value = 0; 00681 try 00682 { 00683 CORBA::LongLong value = dyn_any.get_longlong (); 00684 return_value = (value == element); 00685 } 00686 catch (const CORBA::Exception&) 00687 { 00688 } 00689 return return_value; 00690 }