FDO .NET API Reference Feature Data Objects

mgICommandCapabilitiesImp.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\Connections\Capabilities\mgICommandCapabilities.h"
00022 
00023 class FdoICommandCapabilities;
00024 
00025 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00026 
00027 /// \ingroup (OSGeoFDOConnectionsCapabilities)
00028 /// \brief
00029 /// The ICommandCapabilities interface declares the feature provider's level
00030 /// of support for Commands.
00031 public __gc class ICommandCapabilitiesImp : public NAMESPACE_OSGEO_RUNTIME::Disposable, 
00032                                             public NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES::ICommandCapabilities
00033 {
00034 public:
00035     /// \brief
00036     /// Gets an array of the CommandType values supported by the feature provider.
00037     /// 
00038     /// \return
00039     /// Returns the list of commands
00040     /// 
00041     __property System::Int32 get_Commands() [];
00042 
00043     /// \brief
00044     /// Determines if commands support parameterization.
00045     /// 
00046     /// \return
00047     /// Returns true if commands support parameterization
00048     /// 
00049     System::Boolean SupportsParameters();
00050 
00051     /// \brief
00052     /// Determines if the feature provider supports command execution timeout.
00053     /// 
00054     /// \return
00055     /// Returns true if the feature provider supports timeout.
00056     /// 
00057     System::Boolean SupportsTimeout();
00058 
00059     /// \brief
00060     /// Determines if the feature provider can use expressions for properties with Select and SelectAggregate commands.
00061     /// 
00062     /// \return
00063     /// Returns true if the feature provider supports select expressions.
00064     /// 
00065     System::Boolean SupportsSelectExpressions();
00066 
00067     /// \brief
00068     /// Determines if simple functions can be used in Select and SelectAggregates command. 
00069     /// Aggregate functions can only be used in the SelectAggregates command. Capability for using SelectAggregates is found in 
00070     /// CommandCapabilities.
00071     /// 
00072     /// \return
00073     /// Returns true if the feature provider supports select simple functions.
00074     /// 
00075     System::Boolean SupportsSelectFunctions();
00076 
00077     /// \brief
00078     /// Determines if Distinct can be used with SelectAggregates. This can be true only 
00079     /// if the SelectAggregates command is supported by the provider.
00080     /// 
00081     /// \return
00082     /// Returns true if the feature provider supports select distinct.
00083     /// 
00084     System::Boolean SupportsSelectDistinct();
00085 
00086     /// \brief
00087     /// Determines  if ordering is available in the Select and SelectAggregates command.
00088     /// 
00089     /// \return
00090     /// Returns true if the feature provider supports select ordering.
00091     /// 
00092     System::Boolean SupportsSelectOrdering();
00093 
00094     /// \brief
00095     /// Determines if a grouping criteria is available in the SelectAggregates command. 
00096     /// This can be true only if the SelectAggregates command is supported by the provider. 
00097     /// 
00098     /// \return
00099     /// Returns true if the feature provider supports select grouping.
00100     /// 
00101     /// Note: Aggregate functions can be supported without also supporting grouping criteria 
00102     /// (but not vice versa).
00103     System::Boolean SupportsSelectGrouping();
00104 
00105 /// \cond DOXYGEN-IGNORE
00106 protected:
00107     System::Void ReleaseUnmanagedObject();
00108 /// \endcond
00109 
00110 public private:
00111     ICommandCapabilitiesImp(System::IntPtr unmanaged, System::Boolean autoDelete);
00112 
00113     inline FdoICommandCapabilities* GetImpObj();
00114 };
00115 
00116 END_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00117 
00118 

Comments or suggestions? Send us feedback.