Purpose:
This is the class that is used to represent a datastore for QBIC.
Methods:
connect(LPCTSTR datastoreName, LPCTSTR userName, LPCTSTR authentication [, VARIANT connectString]);
disconnect()
setOption(long option, VARIANT value);
getOption(long option, VARIANT* value);
BSTR datastoreName();
BSTR datastoreType();
BSTR userName();
LPDISPATCH execute(LPCTSTR command, short commandLangType [,VARIANT paramList]);
Executes a query using a command. The parameter list is in the form of an array of DXNVPairDL objects. The returned LPDISPATCH pointer contains a DXResultSetCursorDL object.
LPDISPATCH executeQuery(LPDISPATCH query);
Executes a query using a query object. The input parameter LPDISPATCH pointer contains a DXImageQueryQBIC object. The returned LPDISPATCH pointer contains a DXResultSetCursorDL object.
VARIANT evaluate(LPCTSTR command, short commandLangType [,VARIANT paramList]);
Evaluates a query using a command. The parameter list is in the form of an array of DXNVPairDL objects. The value of the returned VARIANT is a DXResultsDL object.
VARIANT evaluateQuery(LPDISPATCH query);
Evaluates a query using a query object. The value of the returned VARIANT is a DXResultsDL object. The input parameter LPDISPATCH pointer contains a DXImageQueryQBIC object.
LPDISPATCH createQuery(LPCTSTR command, short commandLangType [,VARIANT paramList]);
Creates a query object using a command. The parameter list is in the form of an array of DXNVPairDL objects. The returned LPDISPATCH pointer contains a DXImageQueryQBIC object.
BOOL isConnected();
LPDISPATCH listDataSources();
Gets a list of servers. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
VARIANT listDataSourceNames(long* arraySize);
Gets a list of server names. The output parameter arraySize is the size of the array.
LPDISPATCH listEntities();
Gets a list of entities. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
VARIANT listEntityNames(long* arraySize);
Gets a list of entity names. The output parameter arraySize is the size of the array.
LPDISPATCH datastoreDef();
Gets the datastore definition. The returned LPDISPATCH pointer contains a DXDatastoreDefQBIC object.
openCatalog(LPCTSTR databaseName, LPCTSTR catalogName);
Opens a different image search catalog. The current catalog will be closed.
closeCatalog();
processImages(VARIANT imageList, long count);
Processes a list of images for the current catalog. The count is the number of objects in this array.
queueImages(VARIANT imageList, long count);
Puts a list of images into the image queue for later processing. The count is the number of objects in this array.
processImageQueue();
Starts the process of cataloging and/or uncataloging in the image queue.
reCatalogImages(long features);
Analyzes the specific features for all the images in the current catalog.
LPDISPATCH listColorImages();
Lists all images cataloged in the QbColorFeatureClass feature of the current catalog. The collection contains DXImageInfoQBIC objects. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
class DXImageInfoQBIC { BSTR dlItemID(); BSTR dlPartNo(); BSTR dlRepType(); }
LPDISPATCH listHistogramImages();
Lists all images cataloged in the QbColorHistogramClass feature of the current catalog. The collection contains DXImageInfoQBIC objects. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
class DXImageInfoQBIC { BSTR dlItemID(); BSTR dlPartNo(); BSTR dlRepType(); }
LPDISPATCH listDrawImages();
Lists all images cataloged in the QbDrawFeatureClass feature of the current catalog. The collection contains DXImageInfoQBIC objects. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
class DXImageInfoQBIC { BSTR dlItemID(); BSTR dlPartNo(); BSTR dlRepType(); }
LPDISPATCH listTextureImages();
Lists all images cataloged in the QbTextureFeatureClass feature of the current catalog. The collection contains DXImageInfoQBIC objects. The returned LPDISPATCH pointer contains a DXSequentialCollectionDL object.
class DXImageInfoQBIC { BSTR dlItemID(); BSTR dlPartNo(); BSTR dlRepType(); }
addFeature(long feature, BOOL bReCatalog);
Adds the specified feature to the current catalog. When bReCatalog is TRUE, the image search server will analyze the new feature again for the existing images.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.