Constraint_Visitors.cpp File Reference

#include "orbsvcs/Trader/Constraint_Visitors.h"
#include "orbsvcs/Trader/Constraint_Nodes.h"
#include "orbsvcs/Trader/Interpreter_Utils_T.h"
#include "orbsvcs/Trader/Constraint_Tokens.h"
#include "tao/DynamicAny/DynSequence_i.h"
#include "ace/OS_NS_string.h"

Include dependency graph for Constraint_Visitors.cpp:

Include dependency graph

Go to the source code of this file.

Functions

int TAO_Element_Equal< CORBA::Short >::operator() (TAO_DynSequence_i &dyn_any, CORBA::Short element) const
int TAO_Element_Equal< CORBA::UShort >::operator() (TAO_DynSequence_i &dyn_any, CORBA::UShort element) const
int TAO_Element_Equal< CORBA::Long >::operator() (TAO_DynSequence_i &dyn_any, CORBA::Long element) const
int TAO_Element_Equal< CORBA::ULong >::operator() (TAO_DynSequence_i &dyn_any, CORBA::ULong element) const
int TAO_Element_Equal< CORBA::LongLong >::operator() (TAO_DynSequence_i &dyn_any, CORBA::LongLong element) const
int TAO_Element_Equal< CORBA::ULongLong >::operator() (TAO_DynSequence_i &dyn_any, CORBA::ULongLong element) const
int TAO_Element_Equal< CORBA::Float >::operator() (TAO_DynSequence_i &dyn_any, CORBA::Float element) const
int TAO_Element_Equal< CORBA::Double >::operator() (TAO_DynSequence_i &dyn_any, CORBA::Double element) const
int TAO_Element_Equal< CORBA::Boolean >::operator() (TAO_DynSequence_i &dyn_any, CORBA::Boolean element) const


Function Documentation

int TAO_Element_Equal< CORBA::Boolean >::operator() TAO_DynSequence_i dyn_any,
CORBA::Boolean  element
const
 

Definition at line 741 of file Constraint_Visitors.cpp.

00743 {
00744   int return_value = 0;
00745   try
00746     {
00747     CORBA::Boolean value = (CORBA::Boolean) dyn_any.get_short ();
00748       return_value = (value == element);
00749     }
00750   catch (const CORBA::Exception&){}
00751   return return_value;
00752 }

int TAO_Element_Equal< CORBA::Double >::operator() TAO_DynSequence_i dyn_any,
CORBA::Double  element
const
 

Definition at line 726 of file Constraint_Visitors.cpp.

00728 {
00729   int return_value = 0;
00730   try
00731     {
00732       CORBA::Double value = dyn_any.get_double ();
00733       return_value = (value == element);
00734     }
00735   catch (const CORBA::Exception&){}
00736   return return_value;
00737 }

int TAO_Element_Equal< CORBA::Float >::operator() TAO_DynSequence_i dyn_any,
CORBA::Float  element
const
 

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 }

int TAO_Element_Equal< CORBA::Long >::operator() TAO_DynSequence_i dyn_any,
CORBA::Long  element
const
 

Definition at line 643 of file Constraint_Visitors.cpp.

00645 {
00646   int return_value = 0;
00647   try
00648     {
00649       CORBA::Long value = dyn_any.get_long ();
00650       return_value = (value == element);
00651     }
00652   catch (const CORBA::Exception&)
00653     {
00654     }
00655   return return_value;
00656 }

int TAO_Element_Equal< CORBA::LongLong >::operator() TAO_DynSequence_i dyn_any,
CORBA::LongLong  element
const
 

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 }

int TAO_Element_Equal< CORBA::Short >::operator() TAO_DynSequence_i dyn_any,
CORBA::Short  element
const
 

Definition at line 609 of file Constraint_Visitors.cpp.

00611 {
00612   int return_value = 0;
00613   try
00614     {
00615       CORBA::Short value = dyn_any.get_short ();
00616       return_value = (value == element);
00617     }
00618   catch (const CORBA::Exception&)
00619     {
00620     }
00621   return return_value;
00622 }

int TAO_Element_Equal< CORBA::ULong >::operator() TAO_DynSequence_i dyn_any,
CORBA::ULong  element
const
 

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 }

int TAO_Element_Equal< CORBA::ULongLong >::operator() TAO_DynSequence_i dyn_any,
CORBA::ULongLong  element
const
 

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 }

int TAO_Element_Equal< CORBA::UShort >::operator() TAO_DynSequence_i dyn_any,
CORBA::UShort  element
const
 

Definition at line 626 of file Constraint_Visitors.cpp.

00628 {
00629   int return_value = 0;
00630   try
00631     {
00632       CORBA::UShort value = dyn_any.get_ushort ();
00633       return_value = (value == element);
00634     }
00635   catch (const CORBA::Exception&)
00636     {
00637     }
00638   return return_value;
00639 }


Generated on Sun Jan 27 16:18:42 2008 for TAO_CosTrader by doxygen 1.3.6