00001 /*========================================================================== 00002 * Copyright (c) 2001 Carnegie Mellon University. All Rights Reserved. 00003 * 00004 * Use of the Lemur Toolkit for Language Modeling and Information Retrieval 00005 * is subject to the terms of the software license set forth in the LICENSE 00006 * file included with this software, and also available at 00007 * http://www.cs.cmu.edu/~lemur/license.html 00008 * 00009 *========================================================================== 00010 */ 00011 00013 00014 typedef char * xsd__string; 00015 typedef bool xsd__boolean; 00016 typedef int xsd__int; 00017 typedef double xsd__double; 00018 00019 int mindcall__getInternalStatus(xsd__string * return_); 00020 00021 class PredicateArray { 00022 int __size; 00023 xsd__string * predicate; 00024 }; 00025 00026 class mindtype__SchemaAttribute { 00027 xsd__string name; 00028 xsd__string datatype; 00029 xsd__string domain; 00030 xsd__boolean metadata; 00031 xsd__boolean sample; 00032 xsd__boolean surrogate; 00033 PredicateArray predicates; 00034 xsd__string mediatype; 00035 xsd__string description; 00036 }; 00037 00038 class SchemaAttributeArray { 00039 int __size; 00040 mindtype__SchemaAttribute ** schemaAttribute; 00041 }; 00042 00043 class mindtype__Schema { 00044 00045 xsd__string name; 00046 SchemaAttributeArray * attributes; 00047 }; 00048 00049 class mindtype__Query { 00050 }; 00051 00052 class mindtype__CostParameters { 00053 }; 00054 00055 class mindtype__Content { 00056 xsd__string type; 00057 xsd__string value; 00058 }; 00059 00060 class mindtype__PropQueryCondition { 00061 xsd__string type; 00062 xsd__double weight; 00063 xsd__string attributename; 00064 xsd__string predicate; 00065 mindtype__Content content; 00066 xsd__string mapping; 00067 }; 00068 00069 class PropQueryConditionArray { 00070 int __size; 00071 mindtype__PropQueryCondition * propCondition; 00072 }; 00073 00074 class mindtype__PropQuery { 00075 xsd__string id; 00076 mindtype__Schema * schema; 00077 mindtype__Query * userQuery; 00078 xsd__int numDocs; 00079 xsd__string resulttype; 00080 mindtype__CostParameters costParameters; 00081 PropQueryConditionArray propConditions; 00082 }; 00083 00084 class mindtype__SchemaArray { 00085 mindtype__Schema * __ptr; 00086 int __size; 00087 }; 00088 00089 class mindtype__DocumentID { 00090 xsd__string proxyID; 00091 xsd__string internalID; 00092 }; 00093 00094 class mindtype__PropDocumentAttribute { 00095 xsd__string * attributename; 00096 mindtype__SchemaAttribute * attribute; 00097 mindtype__Content content; 00098 }; 00099 00100 class mindtype__PropDocumentAttributeArray { 00101 mindtype__PropDocumentAttribute * __ptr; 00102 int __size; 00103 }; 00104 00105 class mindtype__PropDocument { 00106 mindtype__DocumentID documentID; 00107 xsd__string * schemaname; 00108 mindtype__Schema * schema; 00109 mindtype__PropDocumentAttributeArray attributes; 00110 xsd__double weight; 00111 xsd__double originalWeight; 00112 }; 00113 00114 class mindtype__PropDocumentArray { 00115 mindtype__PropDocument * __ptr; 00116 int __size; 00117 }; 00118 00119 class mindtype__PropResult { 00120 mindtype__SchemaArray schemas; 00121 xsd__string resulttype; 00122 mindtype__PropDocumentArray propDocuments; 00123 }; 00124 00125 int mindcall__retrieveURL(xsd__string service, xsd__string callerService, xsd__string * return_); 00126 00127 class mindcall__queryResponse { 00128 mindtype__PropResult * mindtype__return; 00129 }; 00130 00131 int mindcall__query(mindtype__PropQuery propQuery, xsd__int numDocs, 00132 mindcall__queryResponse * result); 00133 00134 class mindtype__FeatureList { 00135 xsd__string * __ptr; 00136 int __size; 00137 }; 00138 00139 class mindcall__extractQBSFeaturesResponse { 00140 mindtype__FeatureList * mindtype__return; 00141 }; 00142 00143 int mindcall__extractQBSFeatures(mindtype__PropDocumentAttribute propDocumentAttribute, 00144 mindcall__extractQBSFeaturesResponse * result); 00145 00146 class mindcall__getSchemaResponse { 00147 mindtype__Schema * mindtype__return; 00148 }; 00149 00150 int mindcall__getSchema(mindcall__getSchemaResponse * result); 00151 00152 class mindcall__setCollectionNumDocsResponse { 00153 }; 00154 00155 int mindcall__setCollectionNumDocs(xsd__int nums, 00156 mindcall__setCollectionNumDocsResponse * result); 00157 00158 class mindcall__clearDocumentsResponse { 00159 }; 00160 00161 int mindcall__clearDocuments(mindcall__clearDocumentsResponse * result); 00162 00163 class mindcall__addDocumentResponse { 00164 }; 00165 00166 int mindcall__addDocument(mindtype__PropDocument propDocument, 00167 mindcall__addDocumentResponse * result); 00168 00169 class mindcall__constructResourceDescriptionResponse { 00170 }; 00171 00172 int mindcall__constructResourceDescription(mindcall__constructResourceDescriptionResponse * result); 00173
1.2.4 written by Dimitri van Heesch,
© 1997-2000