FDO .NET API Reference Feature Data Objects

mgICreateDataStoreImp.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\Commands\mgICommandImp.h"
00022 #include "FDO\Commands\DataStore\mgICreateDataStore.h"
00023 
00024 class FdoICreateDataStore;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_DATASTORE
00027 public __gc __interface IDataStorePropertyDictionary;
00028 
00029 /// \ingroup (OSGeoFDOCommandsDataStore)
00030 /// \brief
00031 /// The ICreateDataStoreImp class is a concrete implementation of interface ICreateDataStore.
00032 /// ICreateDataStore defines the create datastore command, which can be used to create new 
00033 /// provider specific datastores. The input is provided through a dictionary of name value 
00034 /// pairs that is provider dependant. 
00035 private __gc class ICreateDataStoreImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, public NAMESPACE_OSGEO_FDO_COMMANDS_DATASTORE::ICreateDataStore
00036 {
00037 public:
00038     /// \brief
00039     /// Gets the IDataStorePropertyDictionary interface that    
00040     /// can be used to dynamically query and set the properties required    
00041     /// to create a new datastore.
00042     /// 
00043     /// \return
00044     /// Returns the property dictionary
00045     /// 
00046     __property NAMESPACE_OSGEO_FDO_COMMANDS_DATASTORE::IDataStorePropertyDictionary* get_DataStoreProperties();
00047 
00048     /// \brief
00049     /// Executes the ICreateDataStore command.
00050     /// 
00051     /// \return
00052     /// Returns nothing
00053     /// 
00054     System::Void Execute();
00055 
00056 public private:
00057     ICreateDataStoreImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete)
00058     {
00059 
00060     }
00061 
00062     inline FdoICreateDataStore* GetImpObj();
00063 };
00064 
00065 END_NAMESPACE_OSGEO_FDO_COMMANDS_DATASTORE
00066 
00067 

Comments or suggestions? Send us feedback.