FDO .NET API Reference Feature Data Objects

mgIConnectionCapabilitiesImp.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\mgIConnectionCapabilities.h"
00022 
00023 class FdoIConnectionCapabilities;
00024 
00025 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00026 
00027 public __value enum ThreadCapability;
00028 
00029 /// \ingroup (OSGeoFDOConnectionsCapabilities)
00030 /// \brief
00031 /// The IConnectionCapabilities interface declares the feature provider's capabilities.
00032 private __gc class IConnectionCapabilitiesImp : public NAMESPACE_OSGEO_RUNTIME::Disposable, 
00033                                                 public NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES::IConnectionCapabilities
00034 {
00035 public:
00036     /// \brief
00037     /// Gets an ThreadCapability value that declares the feature provider's level of thread safety.
00038     /// 
00039     /// \return
00040     /// Returns the connection thread capability.
00041     /// 
00042     __property NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES::ThreadCapability get_ThreadCapability();
00043 
00044     /// \brief
00045     /// Gets the spatial context extent types supported by the feature provider.
00046     /// 
00047     /// \return
00048     /// Returns the list of spatial context extent types.
00049     /// 
00050     __property NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT::SpatialContextExtentType get_SpatialContextTypes() [];
00051 
00052     /// \brief
00053     /// Determines if the feature provider supports persistent locking.
00054     /// 
00055     /// \return
00056     /// Returns true if the feature provider supports persistent locking.
00057     /// 
00058     System::Boolean SupportsLocking();
00059 
00060     /// \brief
00061     /// Gets an array of the LockType values supported by the feature provider.
00062     /// 
00063     /// \return
00064     /// Returns the list of lock types
00065     /// 
00066     __property NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING::LockType get_LockTypes() [];
00067 
00068     /// \brief
00069     /// Determines if the feature provider supports connection timeout.
00070     /// 
00071     /// \return
00072     /// Returns true if the feature provider supports connection timeout.
00073     /// 
00074     System::Boolean SupportsTimeout();
00075 
00076     /// \brief
00077     /// Determines if the feature provider supports transactions.
00078     /// 
00079     /// \return
00080     /// Returns true if the feature provider supports transactions.
00081     /// 
00082     System::Boolean SupportsTransactions();
00083 
00084     /// \brief
00085     /// Determines true if the feature provider supports long transactions.
00086     /// 
00087     /// \return
00088     /// Returns true if the feature provider supports long transactions.
00089     /// 
00090     System::Boolean SupportsLongTransactions();
00091 
00092     /// \brief
00093     /// Determines if the feature provider supports SQL commands.
00094     /// 
00095     /// \return
00096     /// Returns true if the feature provider supports SQL commands.
00097     /// 
00098     System::Boolean SupportsSQL();
00099 
00100     /// \brief
00101     /// Determines if the feature provider supports XML configuration.
00102     /// 
00103     /// \return
00104     /// Returns true if the feature provider supports the setting of a configuration.
00105     /// 
00106     System::Boolean SupportsConfiguration();
00107 
00108     /// \brief
00109     /// Determines if the provider supports multiple spatial contexts.
00110     /// 
00111     /// \return
00112     /// Returns true if the provider supports multiple spatial contexts.
00113     /// 
00114     System::Boolean SupportsMultipleSpatialContexts();
00115 
00116     /// \brief
00117     /// Determines if the provider supports specifying the coordinate system by name or ID without specifying the WKT
00118     /// when creating a new spatial context.
00119     /// 
00120     /// \return
00121     /// Returns true if the provider supports specifying the coordinate system by name or ID without specifying the WKT
00122     /// when creating a new spatial context.
00123     /// 
00124     System::Boolean SupportsCSysWKTFromCSysName();
00125 
00126     /// \brief
00127     /// Determines if the provider can support the flush function. Flush is used to write any outstanding data
00128     /// to the datastore. This is mainly used by the file based providers to ensure that any cached data is writen to the file.
00129     ///
00130     /// \return
00131     /// Returns true if the provider or datastore can support the flush function.
00132     ///
00133     System::Boolean SupportsFlush();
00134 
00135 public private:
00136     IConnectionCapabilitiesImp(System::IntPtr unmanaged, System::Boolean autoDelete);
00137 
00138     inline FdoIConnectionCapabilities* GetImpObj();
00139 
00140 /// \cond DOXYGEN-IGNORE
00141 protected:
00142     System::Void ReleaseUnmanagedObject();
00143 /// \endcond
00144 };
00145 
00146 END_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00147 
00148 

Comments or suggestions? Send us feedback.