FDO .NET API Reference Feature Data Objects

mgIFilterCapabilities.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\mgConditionType.h"
00022 #include "FDO\Filter\mgSpatialOperations.h"
00023 #include "FDO\Filter\mgDistanceOperations.h"
00024 
00025 BEGIN_NAMESPACE_OSGEO_FDO_FILTER
00026 public __value enum ConditionType;
00027 public __value enum SpatialOperations;
00028 public __value enum DistanceOperations;
00029 END_NAMESPACE_OSGEO_FDO_FILTER
00030 
00031 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00032 
00033 /// \ingroup (OSGeoFDOConnectionsCapabilities)
00034 /// \interface OSGeo::FDO::Connections::Capabilities::IFilterCapabilities
00035 /// \brief
00036 /// The IFilterCapabilities interface declares the feature provider's level of support for Filter classes.
00037 public __gc __interface IFilterCapabilities : public System::IDisposable
00038 {
00039 public:
00040     /// \brief
00041     /// Returns an array of ConditionType objects the feature provider supports.
00042     /// 
00043     /// \return
00044     /// Returns the list of condition types
00045     /// 
00046     __property NAMESPACE_OSGEO_FDO_FILTER::ConditionType get_ConditionTypes() [];
00047 
00048     /// \brief
00049     /// Returns an array of SpatialOperation objects the feature provider supports.
00050     /// 
00051     /// \return
00052     /// Returns the list of spartial operations
00053     /// 
00054     __property NAMESPACE_OSGEO_FDO_FILTER::SpatialOperations get_SpatialOperations() [];
00055 
00056     /// \brief
00057     /// Returns an array of DistanceOperation objects the feature provider supports.
00058     /// 
00059     /// \return
00060     /// Returns the list of distance operations
00061     /// 
00062     __property NAMESPACE_OSGEO_FDO_FILTER::DistanceOperations get_DistanceOperations() [];
00063 
00064     /// \brief
00065     /// Determines if the feature provider supports geodesic distance measurement. Returns false if the feature provider supports only linear distance measurement.
00066     /// 
00067     /// \return
00068     /// Returns true if the feature provider supports geodesic distance measurement
00069     /// 
00070     System::Boolean SupportsGeodesicDistance();
00071 
00072     /// \brief
00073     /// Determines if spatial and distance operations can be applied between two 
00074     /// geometric properties. Returns false if spatial and distance operations can be applied only between 
00075     /// a geometric property and a literal geometry.
00076     /// 
00077     /// \return
00078     /// Returns true if spatial and distance operations can be applied
00079     /// 
00080     System::Boolean SupportsNonLiteralGeometricOperations();
00081 
00082 };
00083 
00084 END_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00085 
00086 

Comments or suggestions? Send us feedback.