#include <Constraint_Visitors.h>
Public Member Functions | |
int | operator() (TAO_DynSequence_i &dyn_any, const char *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 756 of file Constraint_Visitors.cpp. References ACE_OS::strcmp().
00758 { 00759 int return_value = 0; 00760 try 00761 { 00762 const char* value = dyn_any.get_string (); 00763 return_value = (ACE_OS::strcmp (value, element) == 0); 00764 } 00765 catch (const CORBA::Exception&){} 00766 return return_value; 00767 } |