FDO .NET API Reference | Feature Data Objects |
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 00022 #include "FDO\Filter\mgSearchCondition.h" 00023 00024 class FdoInCondition; 00025 00026 BEGIN_NAMESPACE_OSGEO_FDO_EXPRESSION 00027 public __gc class Identifier; 00028 END_NAMESPACE_OSGEO_FDO_EXPRESSION 00029 00030 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS 00031 public __gc class IdentifierCollection; 00032 END_NAMESPACE_OSGEO_FDO_COMMANDS 00033 00034 BEGIN_NAMESPACE_OSGEO_FDO_FILTER 00035 public __gc __interface IFilterProcessor; 00036 public __gc class ValueExpressionCollection; 00037 00038 /// \ingroup (OSGeoFDOFilter) 00039 /// \brief 00040 /// The InCondition class derives from SearchCondition and can be used to test 00041 /// if the value of a specified data property is within a given set of literal 00042 /// values. 00043 public __gc class InCondition : public NAMESPACE_OSGEO_FDO_FILTER::SearchCondition 00044 { 00045 public: 00046 /// \brief 00047 /// Constructs a default instance of an InCondition. 00048 /// 00049 /// \return 00050 /// Returns InCondition 00051 /// 00052 InCondition(); 00053 00054 /// \brief 00055 /// Constructs an instance of an InCondition using the specified arguments. 00056 /// 00057 /// \param propertyName 00058 /// Input property name 00059 /// \param values 00060 /// Input array of values 00061 /// 00062 /// \return 00063 /// Returns InCondition 00064 /// 00065 InCondition(System::String* propertyName, System::String* values []); 00066 00067 /// \brief 00068 /// Constructs an instance of an InCondition using the specified arguments. 00069 /// 00070 /// \param propertyName 00071 /// Input property name 00072 /// \param values 00073 /// Input array of values 00074 /// 00075 /// \return 00076 /// Returns InCondition 00077 /// 00078 InCondition(NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier* propertyName, System::String* values []); 00079 00080 /// \brief 00081 /// Constructs an instance of an InCondition using the specified arguments. 00082 /// 00083 /// \param propertyName 00084 /// Input property name 00085 /// \param collection 00086 /// Input collection of values 00087 /// 00088 /// \return 00089 /// Returns InCondition 00090 /// 00091 InCondition(NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier* propertyName, NAMESPACE_OSGEO_FDO_FILTER::ValueExpressionCollection* collection); 00092 00093 /// \brief 00094 /// Gets the name of the data property. 00095 /// 00096 /// \return 00097 /// Returns the name of the data property 00098 /// 00099 __property NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier* get_PropertyName(); 00100 00101 /// \brief 00102 /// Sets the name of the data property. 00103 /// 00104 /// \param value 00105 /// Input the name of the data property 00106 /// 00107 /// \return 00108 /// Returns nothing 00109 /// 00110 __property System::Void set_PropertyName(NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier* value); 00111 00112 /// \brief 00113 /// Gets LiteralCollection that contains the literal values. 00114 /// 00115 /// \return 00116 /// Returns ValueExpressionCollection 00117 /// 00118 __property NAMESPACE_OSGEO_FDO_FILTER::ValueExpressionCollection* get_Values(); 00119 00120 /// \brief 00121 /// Overrides Filter.Process to pass InCondition to the appropriate 00122 /// filter processor operation. 00123 /// 00124 /// \param processor 00125 /// Input filter processor 00126 /// 00127 /// \return 00128 /// Returns nothing 00129 /// 00130 System::Void Process(NAMESPACE_OSGEO_FDO_FILTER::IFilterProcessor* processor); 00131 00132 /// \brief 00133 /// Converts the filter expression to its well defined text representation. 00134 /// 00135 /// \return 00136 /// Returns well defined text string 00137 /// 00138 System::String* ToStringInternal( NAMESPACE_OSGEO_FDO_COMMANDS::IdentifierCollection *idCollection ); 00139 00140 /// \brief 00141 /// Constructs a InCondition object based on an unmanaged instance of the object 00142 /// 00143 /// \param unmanaged 00144 /// Input A Pointer to the unmanaged object. 00145 /// 00146 /// \param autoDelete 00147 /// Input Indicates if the constructed object should be automatically deleted 00148 /// once it no longer referenced. 00149 /// 00150 InCondition(System::IntPtr unmanaged, System::Boolean autoDelete); 00151 00152 public private: 00153 inline FdoInCondition* GetImpObj(); 00154 }; 00155 00156 END_NAMESPACE_OSGEO_FDO_FILTER 00157 00158
Comments or suggestions? Send us feedback. |