FDO .NET API Reference Feature Data Objects

mgComparisonCondition.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2004-2006  Autodesk, Inc.
00003 * 
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 * 
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 * Lesser General Public License for more details.
00012 * 
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016 *
00017 */
00018 
00019 #pragma once
00020 
00021 #include "FDO\Filter\mgSearchCondition.h"
00022 #include "FDO\Filter\mgComparisonOperations.h"
00023 
00024 class FdoComparisonCondition;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_EXPRESSION
00027 public __gc class Expression;
00028 END_NAMESPACE_OSGEO_FDO_EXPRESSION
00029 
00030 using namespace NAMESPACE_OSGEO_FDO_EXPRESSION;
00031 
00032 BEGIN_NAMESPACE_OSGEO_FDO_FILTER
00033 public __gc __interface IFilterProcessor;
00034 
00035 /// \ingroup (OSGeoFDOFilter)
00036 /// \brief
00037 /// The ComparisonCondition class derives SearchCondition and can be used
00038 /// to test the equality of two expressions.
00039 public __gc class ComparisonCondition : public NAMESPACE_OSGEO_FDO_FILTER::SearchCondition
00040 {
00041 public:
00042 
00043     /// \brief
00044     /// Constructs a default instance of an ComparisonCondition.
00045     /// 
00046     /// \return
00047     /// Returns ComparisonCondition
00048     /// 
00049     ComparisonCondition();
00050 
00051     /// \brief
00052     /// Constructs an instance of a ComparisonCondition using the specified arguments.
00053     /// 
00054     /// \param leftExpression 
00055     /// Input the expression that defines the left side of the comparison
00056     /// \param operation 
00057     /// Input the operation to be used to compare the two expressions
00058     /// \param rightExpression 
00059     /// Input the expression that defines the right side of the comparison
00060     /// 
00061     /// \return
00062     /// Returns ComparisonCondition
00063     /// 
00064     ComparisonCondition( NAMESPACE_OSGEO_FDO_EXPRESSION::Expression* leftExpression, NAMESPACE_OSGEO_FDO_FILTER::ComparisonOperations operation, NAMESPACE_OSGEO_FDO_EXPRESSION::Expression* rightExpression);
00065 
00066     /// \brief
00067     /// Gets the operation to be used to compare the two expressions.
00068     /// 
00069     /// \return
00070     /// Returns the operation to be used to compare the two expressions
00071     /// 
00072     __property NAMESPACE_OSGEO_FDO_FILTER::ComparisonOperations get_Operation();
00073 
00074     /// \brief
00075     /// Sets the operation to be used to compare the two expressions.
00076     /// 
00077     /// \param operation 
00078     /// Input the operation to be used to compare the two expressions
00079     /// 
00080     /// \return
00081     /// Returns nothing
00082     /// 
00083     __property System::Void set_Operation(NAMESPACE_OSGEO_FDO_FILTER::ComparisonOperations operation);
00084 
00085     /// \brief
00086     /// Gets the expression that defines the left side of the comparison.
00087     /// 
00088     /// \return
00089     /// Returns the expression that defines the left side of the comparison
00090     /// 
00091     __property NAMESPACE_OSGEO_FDO_EXPRESSION::Expression* get_LeftExpression();
00092 
00093     /// \brief
00094     /// Sets the expression that defines the left side of the comparison.
00095     /// 
00096     /// \param value 
00097     /// Input the expression that defines the left side of the comparison
00098     /// 
00099     /// \return
00100     /// Returns nothing
00101     /// 
00102     __property System::Void set_LeftExpression(NAMESPACE_OSGEO_FDO_EXPRESSION::Expression* value);
00103 
00104     /// \brief
00105     /// Gets the expression that defines the right side of the comparison.
00106     /// 
00107     /// \return
00108     /// Returns the expression that defines the right side of the comparison
00109     /// 
00110     __property NAMESPACE_OSGEO_FDO_EXPRESSION::Expression* get_RightExpression();
00111 
00112     /// \brief
00113     /// Sets the expression that defines the right side of the comparison.
00114     /// 
00115     /// \param value 
00116     /// Input the expression that defines the right side of the comparison
00117     /// 
00118     /// \return
00119     /// Returns nothing
00120     /// 
00121     __property System::Void set_RightExpression( NAMESPACE_OSGEO_FDO_EXPRESSION::Expression* value);
00122 
00123     /// \brief
00124     /// Overrides Filter.Process to pass ComparisonCondition to the
00125     /// appropriate filter processor operation.
00126     /// 
00127     /// \param processor 
00128     /// Input filter processor
00129     /// 
00130     /// \return
00131     /// Returns nothing
00132     /// 
00133     System::Void Process(NAMESPACE_OSGEO_FDO_FILTER::IFilterProcessor* processor);
00134 
00135     /// \brief
00136     /// Constructs a ComparisonCondition object based on an unmanaged instance of the object
00137     /// 
00138     /// \param unmanaged 
00139     /// Input A Pointer to the unmanaged object.
00140     /// 
00141     /// \param autoDelete 
00142     /// Input Indicates if the constructed object should be automatically deleted 
00143     /// once it no longer referenced.
00144     /// 
00145     ComparisonCondition(System::IntPtr unmanaged, System::Boolean autoDelete);
00146 
00147 public private:
00148     inline FdoComparisonCondition* GetImpObj();
00149 };
00150 
00151 END_NAMESPACE_OSGEO_FDO_FILTER
00152 
00153 

Comments or suggestions? Send us feedback.