FDO .NET API Reference Feature Data Objects

mgGeometricCondition.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 
00023 class FdoGeometricCondition;
00024 
00025 BEGIN_NAMESPACE_OSGEO_FDO_EXPRESSION
00026 public __gc class Identifier;
00027 END_NAMESPACE_OSGEO_FDO_EXPRESSION
00028 
00029 using namespace NAMESPACE_OSGEO_FDO_EXPRESSION;
00030 
00031 BEGIN_NAMESPACE_OSGEO_FDO_FILTER
00032 
00033 /// \ingroup (OSGeoFDOFilter)
00034 /// \brief
00035 /// GeometricCondition is an abstract class that derives from SearchCondition and can
00036 /// be used to test whether the value of a geometric property meets a particular
00037 /// spatial criteria. GeometricCondition is the base class for DistanceCondition
00038 /// and SpatialCondition.
00039 public __gc class GeometricCondition : public NAMESPACE_OSGEO_FDO_FILTER::SearchCondition
00040 {
00041 public:
00042     /// \brief
00043     /// Gets the name of the geometric property.
00044     /// 
00045     /// \return
00046     /// Returns the name of the geometric property
00047     /// 
00048     __property NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier* get_PropertyName();
00049 
00050     /// \brief
00051     /// Sets the name of the geometric property.
00052     /// 
00053     /// \param value 
00054     /// Input the name of the geometric property
00055     /// 
00056     /// \return
00057     /// Returns nothing
00058     /// 
00059     __property System::Void set_PropertyName(NAMESPACE_OSGEO_FDO_EXPRESSION::Identifier* value);
00060 
00061     /// \brief
00062     /// Constructs a GeometricCondition object based on an unmanaged instance of the object
00063     /// 
00064     /// \param unmanaged 
00065     /// Input A Pointer to the unmanaged object.
00066     /// 
00067     /// \param autoDelete 
00068     /// Input Indicates if the constructed object should be automatically deleted 
00069     /// once it no longer referenced.
00070     /// 
00071     GeometricCondition(System::IntPtr unmanaged, System::Boolean autoDelete);
00072 
00073 public private:
00074     inline FdoGeometricCondition* GetImpObj();
00075 };
00076 
00077 END_NAMESPACE_OSGEO_FDO_FILTER
00078 
00079 

Comments or suggestions? Send us feedback.