![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Provides access to members that create and open workspaces and supply workspace factory information. More...
#include <gdb_workspace.h>
Public Member Functions | |
| virtual GDBResult SDK_CALLTYPE | Open (IWorkspaceConfiguration *configuration, IWorkspace **workspace)=0 throw () |
| Opens the workspace specified by the properties. More... | |
| virtual GDBResult SDK_CALLTYPE | OpenRootCatalog (const SDKString &root_catalog_path_name, IRootCatalog **root_catalog)=0 throw () |
| Opens the geodatabase root catalog. More... | |
| virtual GDBResult SDK_CALLTYPE | OpenFromFile (const SDKString &file_name, IWorkspaceConfiguration *configuration, IWorkspace **workspace)=0 throw () |
| Opens the workspace specified by the given file name. More... | |
| virtual GDBResult SDK_CALLTYPE | Create (IWorkspaceConfiguration *config, IWorkspace **workspace)=0 throw () |
| Creates an empty workspace. More... | |
| virtual GDBResult SDK_CALLTYPE | CreateWorkspaceConfiguration (IWorkspaceConfiguration **config)=0 throw () |
| Creates an empty workspace configuration. More... | |
| virtual GDBResult SDK_CALLTYPE | GetWorkspaces (IWorkspaceCollection **workspaces)=0 throw () |
| The GetWorkspaces method returns the pointer to the IWorkspaceCollection interface associated with the collection of workspaces created or opened by the workspace factory. | |
| virtual GDBResult SDK_CALLTYPE | GetGeodatabasesNamesFromWKNLocation (IEnumSDKString **names, SDKString *geodatabase_wkn_location) const =0 throw () |
| Returns names of the geodatabases located in the directory specified in the SDK configuration as a known location for the geodatabases. More... | |
| virtual GDBResult SDK_CALLTYPE | ChangeGeodatabasesWKNLocation (const SDKString &new_location)=0 throw () |
| Changes the geodatabase WKN location in the SDK configuration. More... | |
| virtual GDBResult SDK_CALLTYPE | OpenFeatureCatalog (const SDKAny &pathname_or_prsp, IClassCatalog **class_catalog)=0 throw () |
| Opens a feature catalog specified by pathname. More... | |
| virtual GDBResult SDK_CALLTYPE | OpenUpdateHistory (IRootCatalog *root_catalog, IWorkspaceUpdateHistory **update_history)=0 throw () |
| Returns the IWorkspaceUpdateHistory interface associated with the workspace update history. More... | |
| virtual GDBResult SDK_CALLTYPE | OpenRootCatalogEx (IWorkspaceConfiguration *configuration, IRootCatalog **root_catalog)=0 throw () |
| Opens the geodatabase root catalog. More... | |
Public Member Functions inherited from ISDKComponent | |
| virtual SDKAtomicRefCount SDK_CALLTYPE | AddRef () const =0 throw () |
| Increments the reference count for an interface on a component. | |
| virtual SDKAtomicRefCount SDK_CALLTYPE | Release () const =0 throw () |
| Decrements the reference count for an interface on a component. | |
| virtual SDKResult SDK_CALLTYPE | GetInterface (const InterfaceId &id, void **obj_ptr)=0 throw () |
| Returns pointers to the supported interfaces on a component. | |
| template<typename _Itf > | |
| SDKResult | GetInterface (_Itf **obj_ptr) throw () |
| Returns pointers to the supported interfaces on a component. | |
Provides access to members that create and open workspaces and supply workspace factory information.
|
pure virtual | ||||||||||||||||||||
Opens the workspace specified by the properties.
| [in] | configuration | Pointer to the IWorkspaceConfiguration interface associated with a workspace configuration. |
| [out] | workspace | Address of a variable that receives the pointer to the IWorkspace interface associated with a workspace. If this parameter is NULL, the method returns kSDKResult_Succeeded if a SENC was found on specified path. |
|
pure virtual | ||||||||||||||||||||
Opens the geodatabase root catalog.
| [in] | root_catalog_path_name | Path to the root catalog. |
| [out] | root_catalog | Address of a variable that receives the pointer to the IRootCatalog interface associated with the root catalog object. |
|
pure virtual | ||||||||||||||||||||||||
Opens the workspace specified by the given file name.
| file_name | [in] File name of a geodatabase. The file name specifies either a root catalog or a single dataset. | |
| [in] | configuration | Pointer to the IWorkspaceConfiguration interface associated with a workspace configuration. |
| workspace | [out] Address of a variable that receives the pointer to the IWorkspace interface associated with a workspace. If this parameter is NULL, the method returns kSDKResult_Succeeded if a SENC was found on specified path. |
|
pure virtual | ||||||||||||||||||||
Creates an empty workspace.
| [in] | config | Pointer to the IWorkspaceConfiguration interface associated with a workspace configuration. |
| [out] | workspace | Address of a variable that receives the pointer to the IWorkspace interface associated with a workspace. |
|
pure virtual | ||||||||||||||
Creates an empty workspace configuration.
| [out] | config | Address of a variable that receives the pointer to the IWorkspaceConfiguration interface associated with a workspace configuration. |
|
pure virtual | ||||||||||||||||||||
Returns names of the geodatabases located in the directory specified in the SDK configuration as a known location for the geodatabases.
| [out] | names | (optional) Address of a variable that receives the pointer to the IEnumSDKString interface associated with the geodatabase name enumerator. |
| [out] | geodatabase_wkn_location | (optional) Address of a variable that receives path to the WKN location. |
|
pure virtual | ||||||||||||||
Changes the geodatabase WKN location in the SDK configuration.
| [in] | new_location | Path for the new WKN location. |
|
pure virtual | ||||||||||||||||||||
Opens a feature catalog specified by pathname.
| [in] | pathname_or_prsp | A feature catalog pathname or PRSP. |
| [out] | class_catalog | Address of a variable that receives the pointer to the IClassCatalog interface associated with a feature catalog. |
|
pure virtual | ||||||||||||||||||||
Returns the IWorkspaceUpdateHistory interface associated with the workspace update history.
| [in] | root_catalog | Route catalog. |
| [out] | update_history | Address of a variable that receives the pointer to the IWorkspaceUpdateHistory interface associated with the workspace history. |
|
pure virtual | ||||||||||||||||||||
Opens the geodatabase root catalog.
| [in] | configuration | Pointer to the IWorkspaceConfiguration interface associated with a workspace configuration. |
| [out] | root_catalog | Address of a variable that receives the pointer to the IRootCatalog interface associated with the root catalog object. |