TAO_Element_Equal< CORBA::Float > Class Template Reference

#include <Constraint_Visitors.h>

List of all members.

Public Member Functions

int operator() (TAO_DynSequence_i &dyn_any, CORBA::Float element) const


Detailed Description

template<>
class TAO_Element_Equal< CORBA::Float >

Definition at line 428 of file Constraint_Visitors.h.


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:49:32 2010 for TAO_CosTrader by  doxygen 1.4.7