Main Page | Class List | File List | Class Members | Examples

SynAn.idl

00001 import "oaidl.idl";
00002 import "ocidl.idl";
00003 
00004 
00033         interface IClauseVariant;
00034         interface IGroup;
00035         interface IRelationsIterator;
00036         interface IGraphmatFile;
00037 
00038         [
00039                 object,
00040                 uuid(E022CF53-037F-11D3-8C22-00105A68ADF3),
00041                 dual,
00042                 helpstring("ICOMClauseType Interface"),
00043                 pointer_default(unique)
00044         ]
00048         interface IClauseRoot : IDispatch
00049         {
00051                 [propget, id(1), helpstring("property Type")] HRESULT Type([out, retval] int *pVal);
00053                 [propget, id(2), helpstring("property RootWordNo")] HRESULT RootWordNo([out, retval] long *pVal);
00055                 [propget, id(3), helpstring("property RootHomonymNo")] HRESULT RootHomonymNo([out, retval] long *pVal);
00057                 [propget, id(4), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);             
00058         };
00059 
00060 
00061         [
00062                 object,
00063                 uuid(7794ED72-F74F-11D3-8DC5-00105A68ADF3),
00064                 dual,
00065                 helpstring("ISyntaxUnit Interface"),
00066                 pointer_default(unique)
00067         ]
00071         interface ISyntaxUnit : IDispatch
00072         {
00074                 [propget, id(1), helpstring("property Type")] HRESULT Type([out, retval] int *pVal);
00076                 [propget, id(2), helpstring("property WordNum")] HRESULT WordNum([out, retval] long *pVal);
00078                 [propget, id(3), helpstring("property ActiveHomonymNum")] HRESULT ActiveHomonymNum([out, retval] long *pVal);
00080                 [propget, id(5), helpstring("property ClauseNum")] HRESULT ClauseNum([out, retval] long *pVal);
00082                 [propget, id(4), helpstring("property ActiveClauseType")] HRESULT ActiveClauseTypeNum([out, retval] long *pVal);
00083 
00085                 [propget, id(6), helpstring("property Grammems")] HRESULT Grammems([out, retval] hyper *pVal);
00087                 [propget, id(7), helpstring("property Gramcodes")] HRESULT Gramcodes([out, retval] BSTR *pVal);
00089                 [propget, id(8), helpstring("property GrammemsStr")] HRESULT GrammemsStr([out, retval] BSTR *pVal);
00092                 [propget, id(9), helpstring("property SimplePrepsCount")] HRESULT SimplePrepsCount([out, retval] long *pVal);
00094                 [propget, id(10), helpstring("property SimplePrepId")] HRESULT SimplePrepId([in] long ii, [out, retval] long *pVal);
00096                 [propget, id(11), helpstring("property SimplePrepStr")] HRESULT SimplePrepStr([in]long ii,[out, retval] BSTR *pVal);
00097 
00098         };
00099 
00100 
00101 
00102 
00103         [
00104                 object,
00105                 uuid(CB81A1EC-F8C1-11D2-8C0E-00105A68ADF3),
00106                 dual,
00107                 helpstring("IHomonym Interface"),
00108                 pointer_default(unique)
00109         ]
00114         interface IHomonym : IDispatch
00115         {
00117                 [propget, id(2), helpstring("property Grammems")] HRESULT Grammems([out, retval] hyper *pVal);
00119                 [propget, id(3), helpstring("property Lemma")] HRESULT Lemma([out, retval] BSTR *pVal);
00121                 [propget, id(16), helpstring("property LemSign")] HRESULT LemSign([out, retval] BSTR *pVal);
00123                 [propget, id(20), helpstring("property Poses")] HRESULT Poses([out, retval] long *pVal);        
00125                 [propget, id(23), helpstring("property GramDescriptionStr")] HRESULT GramDescriptionStr([out, retval] BSTR *pVal);
00127                 [propget, id(24), helpstring("property ParadigmID")] HRESULT ParadigmID([out, retval] long *pVal);
00129                 [propget, id(25), helpstring("property GramCodes")] HRESULT GramCodes([out, retval] BSTR *pVal);
00131                 [propget, id(28), helpstring("property POSStr")] HRESULT POSStr([out, retval] BSTR *pVal);
00133                 [propget, id(29), helpstring("property IsOb1")] HRESULT IsOb1([out, retval] BOOL *pVal);
00135                 [propget, id(30), helpstring("property IsOb2")] HRESULT IsOb2([out, retval] BOOL *pVal);
00137                 [propget, id(31), helpstring("property IsInOb")] HRESULT IsInOb([out, retval] BOOL *pVal);
00139                 [propget, id(33), helpstring("property SimplePrepsCount")] HRESULT SimplePrepsCount([out, retval] long *pVal);
00141                 [id(32), helpstring("method GetOborDictIdOfSimplePrep")] HRESULT GetOborDictIdOfSimplePrep([in]long iNum,[out, retval] long *pVal);
00143                 [id(36), helpstring("method GetOborotId")] HRESULT GetOborotId([out, retval] long* OborotId);
00145                 [id(37), helpstring("method GetOborotGF")] HRESULT GetOborotGF([out, retval] BSTR* pVal);
00146                 [propget, id(38), helpstring("property CommonGrammemsStr")] HRESULT CommonGrammemsStr([out, retval] BSTR* pVal);                
00147         };
00148 
00149 
00150         [
00151                 object,
00152                 uuid(CB81A1E2-F8C1-11D2-8C0E-00105A68ADF3),
00153                 dual,
00154                 helpstring("IWord Interface"),
00155                 pointer_default(unique)
00156         ]
00163         interface IWord : IDispatch
00164         {
00166                 [propget, id(1), helpstring("property WordStr")] HRESULT WordStr([out, retval] BSTR *pVal);
00168                 [propget, id(2), helpstring("property Register")] HRESULT Register([out, retval] int *pVal);
00170                 [propget, id(14), helpstring("property HomonymsCount")] HRESULT HomonymsCount([out, retval] long *pVal);
00172                 [propget, id(15), helpstring("property Homonym")] HRESULT Homonym([in] long lHomNum, [out, retval] IHomonym* *pVal);
00174                 [propget, id(16), helpstring("property IsInThesaurusEntry")] HRESULT IsInThesaurusEntry([out, retval] BOOL *pVal);
00176                 [propget, id(23), helpstring("property ThesaurusEntryID")] HRESULT ThesaurusEntryID([out, retval] long *pVal);
00178                 [propget, id(24), helpstring("property IsLastInThesaurusEntry")] HRESULT IsLastInThesaurusEntry([out, retval] BOOL *pVal);
00180                 [propget, id(25), helpstring("property IsFirstInThesaurusEntry")] HRESULT IsFirstInThesaurusEntry([out, retval] BOOL *pVal);
00182                 [propget, id(26), helpstring("property ThesType")] HRESULT ThesType([out, retval] int *pVal);
00184                 [propget, id(28), helpstring("property ClauseNo")] HRESULT ClauseNo([out, retval] long *pVal);
00186                 [propget, id(29), helpstring("property GraphDescrs")] HRESULT GraphDescrs([out, retval] BSTR *pVal);
00188                 [propget, id(30), helpstring("property bArtificialCreated")] HRESULT bArtificialCreated([out, retval] BOOL *pVal);
00190                 [propget, id(31), helpstring("property bDeleted")] HRESULT bDeleted([out, retval] BOOL *pVal);
00192                 [propget, id(32), helpstring("property MainVerbsCount")] HRESULT MainVerbsCount([out, retval] long *pVal);
00194                 [propget, id(33), helpstring("property MainVerbs")] HRESULT MainVerbs([in] long lVerbNo, [out, retval] long *pVal);
00195                 
00196         };
00197 
00198         [
00199                 object,
00200                 uuid(CB81A1EA-F8C1-11D2-8C0E-00105A68ADF3),
00201                 dual,
00202                 helpstring("IRelation Interface"),
00203                 pointer_default(unique)
00204         ]
00210         interface IRelation : IDispatch
00211         {
00212 
00214                 [propget, id(1), helpstring("property SourceItemType")] HRESULT SourceItemType([out, retval] int* type);
00216                 [propget, id(2), helpstring("property TargetItemType")] HRESULT  TargetItemType([out, retval] int* type);
00218                 [propget, id(3), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
00220                 [propget, id(4), helpstring("property SourceClauseNo")] HRESULT SourceClauseNo([out, retval] long *pVal);
00222                 [propget, id(5), helpstring("property TargetClauseNo")] HRESULT TargetClauseNo([out, retval] long *pVal);
00224                 [propget, id(6), helpstring("property SourceWordNo")] HRESULT SourceItemNo([out, retval] long *pVal);
00226                 [propget, id(7), helpstring("property TargetWordNo")] HRESULT TargetItemNo([out, retval] long *pVal);
00228                 [propget, id(11), helpstring("property Grammems")] HRESULT Grammems([out, retval] hyper *pVal);
00230                 [propget, id(12), helpstring("property GrammemsStr")] HRESULT GrammemsStr([out, retval] BSTR *pVal);
00231         };
00232 
00233 
00234 
00235         [
00236                 object,
00237                 uuid(CB81A1E5-F8C1-11D2-8C0E-00105A68ADF3),
00238                 dual,
00239                 helpstring("IGroup Interface"),
00240                 pointer_default(unique)
00241         ]
00246         interface IGroup : IDispatch
00247         {
00249                 [propget, id(1), helpstring("property TypeStr")] HRESULT TypeStr([out, retval] BSTR* pVal);
00251                 [propget, id(2), helpstring("property FirstWord")] HRESULT FirstWord([out, retval] long *pVal);
00253                 [propget, id(3), helpstring("property LastWord")] HRESULT LastWord([out, retval] long *pVal);
00255                 [propget, id(4), helpstring("property MainGroupFirstWord")] HRESULT MainGroupFirstWord([out, retval] long *pVal);
00257                 [propget, id(5), helpstring("property MainGroupLastWord")] HRESULT MainGroupLastWord([out, retval] long *pVal);
00259                 [propget, id(6), helpstring("property Grammems")] HRESULT Grammems([out, retval] hyper *pVal);
00261                 [propget, id(11), helpstring("property MainWord")] HRESULT MainWord([out, retval] long *pVal);
00262         };
00263 
00264 
00265         [
00266                 object,
00267                 uuid(CB81A1E8-F8C1-11D2-8C0E-00105A68ADF3),
00268                 dual,
00269                 helpstring("IClauseVariant Interface"),
00270                 pointer_default(unique)
00271         ]
00277         interface IClauseVariant : IDispatch
00278         {
00280                 [propget, id(1), helpstring("property GroupsCount")] HRESULT GroupsCount([out, retval] long *pVal);
00282                 [propget, id(2), helpstring("property Group")] HRESULT Group([in] long lGroupNum, [out, retval] IGroup* *pVal);
00284                 [propget, id(3), helpstring("property UnitsCount")] HRESULT UnitsCount([out, retval] long *pVal);
00286                 [propget, id(12), helpstring("property Unit")] HRESULT Unit([in]long lUnitNum, [out, retval] ISyntaxUnit* *pVal);
00288                 [propget, id(9), helpstring("property SubjectsCount")] HRESULT SubjectsCount([out, retval] long *pVal);
00290                 [propget, id(7), helpstring("property Subjects")] HRESULT Subjects([in] long SubjectNo, [out, retval] long *pVal);
00292                 [propget, id(8), helpstring("property Predicate")] HRESULT Predicate([out, retval] long *pVal);
00295                 [propget, id(13), helpstring("property ClauseRootNo")] HRESULT ClauseRootNo([out, retval] long *pVal);
00297                 [propget, id(14), helpstring("property VariantWeight")] HRESULT VariantWeight([out, retval] int* pVal);
00298         };
00299 
00300 
00301         [
00302                 object,
00303                 uuid(CB81A1E3-F8C1-11D2-8C0E-00105A68ADF3),
00304                 dual,
00305                 helpstring("IClause Interface"),
00306                 pointer_default(unique)
00307         ]
00313         interface IClause : IDispatch
00314         {
00316                 [propget, id(1), helpstring("property FirstWord")] HRESULT FirstWord([out, retval] long *pVal);
00318                 [propget, id(2), helpstring("property LastWord")] HRESULT LastWord([out, retval] long *pVal);
00320                 [propget, id(7), helpstring("property AntecedentWord")] HRESULT AntecedentWord([out, retval] long *pVal);
00322                 [propget, id(9), helpstring("property RelativeWord")] HRESULT RelativeWord([out, retval] long *pVal);
00324                 [propget, id(3), helpstring("property VariantsCount")] HRESULT VariantsCount([out, retval] long *pVal);
00326                 [propget, id(4), helpstring("property ClauseVariant")] HRESULT ClauseVariant([in] long lVarNum, [out, retval] IClauseVariant* *pVal);
00328                 [propget, id(5), helpstring("property RootsCount")] HRESULT ClauseRootsCount([out, retval] long *pVal);
00330                 [propget, id(6), helpstring("property ClauseRoots")] HRESULT ClauseRoots([in]long lNum, [out, retval] IClauseRoot* *pVal);
00332                 [propget, id(8), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
00334                 [propget, id(14), helpstring("property ConjsCount")] HRESULT ConjsCount([out, retval] long *pVal);
00336                 [propget, id(18), helpstring("property ConjStr")] HRESULT ConjStr([in]int iNum, [out, retval] BSTR *pVal);
00337         };
00338 
00339 
00340         [
00341                 object,
00342                 uuid(CB81A1E0-F8C1-11D2-8C0E-00105A68ADF3),
00343                 dual,
00344                 helpstring("ISentence Interface"),
00345                 pointer_default(unique)
00346         ]
00358         interface ISentence : IDispatch
00359         {
00361                 [propget, id(1), helpstring("property PrimitiveClausesCount")] HRESULT PrimitiveClausesCount([out, retval] long *pVal);
00363                 [propget, id(2), helpstring("property PrimitiveClause")] HRESULT PrimitiveClause([in] long lClauseNum, [out, retval] IClause* *pVal);
00365                 [propget, id(3), helpstring("property WordsNum")] HRESULT WordsNum([out, retval] long *pVal);
00367                 [propget, id(4), helpstring("property Word")] HRESULT Word([in] long lWordNum, [out, retval] IWord* *pVal);
00369                 [propget, id(7), helpstring("property ClausesCount")] HRESULT ClausesCount([out, retval] long *pVal);
00371                 [propget, id(8), helpstring("property Clause")] HRESULT Clause([in]long lClauseNum, [out, retval] IClause* *pVal);
00373                 [id(10), helpstring("method CreateRelationsIterator")] HRESULT CreateRelationsIterator([out, retval] IRelationsIterator** piRelsIt);
00375                 [id(11), helpstring("method GetHomonymByClauseVar")] HRESULT GetHomonymByClauseVar([in]long iWord, [in]long iVar,[in]long iClause, [out, retval]IHomonym** piHom);
00377                 [id(13), helpstring("method ClauseNoByPrimitiveClauseNo")] HRESULT ClauseNoByPrimitiveClauseNo([in]long lPrClauseNo, [out, retval]long* lClauseNo);
00379                 [id(14), helpstring("method PrimitiveClauseNoByClauseNo")] HRESULT PrimitiveClauseNoByClauseNo([in]long lClauseNo, [out, retval]long* lPrClauseNo);
00381                 [id(15), helpstring("method GetOborotStrByOborotId")] HRESULT GetOborotStrByOborotId([in] long OborotId, [out, retval] BSTR* pVal);
00382         };
00383                 
00384 
00385         [
00386                 object,
00387                 uuid(7907CB45-2A26-11d3-8C52-00105A68ADF3),
00388                 dual,
00389                 helpstring("ISentencesCollection Interface"),
00390                 pointer_default(unique)
00391         ]
00397         interface ISentencesCollection : IDispatch
00398         {
00401                 [id(1), helpstring("method InitializeProcesser")] HRESULT InitializeProcesser();
00403                 [id(2), helpstring("method ProcessData")] HRESULT ProcessData([in] IUnknown* piPlmLine);
00405                 [propget, id(5), helpstring("property SentencesCount")] HRESULT SentencesCount([out, retval] long *pVal);
00407                 [propget, id(6), helpstring("property Sentence")] HRESULT Sentence([in]long i, [out, retval] ISentence* *pVal);
00409                 [id(7), helpstring("method ClearSentences")] HRESULT ClearSentences();
00411                 [propput, id(10), helpstring("property EnableThesauri")] HRESULT EnableThesauri([in] BOOL newVal);              
00412                 [propget, id(10), helpstring("property EnableThesauri")] HRESULT EnableThesauri([out, retval] BOOL* Val);               
00414                 [propput, id(11), helpstring("property SilentMode")] HRESULT SilentMode([in] BOOL newVal);
00417                 [id(18), helpstring("method SetThesaurus")] HRESULT SetThesaurus([in] UINT ThesId, [in] IUnknown* Thes);
00419                 [propget, id(19), helpstring("property KillHomonymsMode")] HRESULT KillHomonymsMode([out, retval] UINT *pVal);
00420                 [propput, id(19), helpstring("property KillHomonymsMode")] HRESULT KillHomonymsMode([in] UINT newVal);
00423                 [id(20), helpstring("method SetLemmatizer")] HRESULT SetLemmatizer([in] IUnknown* Interf);
00426                 [id(21), helpstring("method SetOborDic")] HRESULT SetOborDic([in] IUnknown* Interf);
00428                 [propget, id(22), helpstring("property DeleteEqualPrimitiveClauseVariants")] HRESULT DeleteEqualPrimitiveClauseVariants([out, retval] BOOL *pVal);
00429                 [propput, id(22), helpstring("property DeleteEqualPrimitiveClauseVariants")] HRESULT DeleteEqualPrimitiveClauseVariants([in] BOOL newVal);
00431                 [propget, id(23), helpstring("property SyntaxLanguage")] HRESULT SyntaxLanguage([out, retval] int* pVal);
00432                 [propput, id(23), helpstring("property SyntaxLanguage")] HRESULT SyntaxLanguage([in] int newVal);
00433                 [propget, id(24), helpstring("property EnableProgressBar")] HRESULT EnableProgressBar([out, retval] BOOL* pVal);
00434                 [propput, id(24), helpstring("property EnableProgressBar")] HRESULT EnableProgressBar([in] BOOL newVal);
00435 
00436         };
00437         [
00438                 object,
00439                 uuid(23D97177-087F-11D4-8DE4-00105A68ADF3),
00440                 dual,
00441                 helpstring("IRelationsIterator Interface"),
00442                 pointer_default(unique)
00443         ]
00451         interface IRelationsIterator : IDispatch
00452         {
00455                 [id(1), helpstring("method AddClauseNoAndVariantNo")] HRESULT AddClauseNoAndVariantNo([in]long iClauseNo, [in] long iVarNo);
00457                 [id(2), helpstring("method BuildRelations")] HRESULT BuildRelations();
00459                 [propget, id(3), helpstring("property RelationsCount")] HRESULT RelationsCount([out, retval] long *pVal);
00461                 [propget, id(4), helpstring("property Relation")] HRESULT Relation([in] long iRel, [out, retval] IRelation* *pVal);
00463                 [propget, id(5), helpstring("property FirmGroupsCount")] HRESULT FirmGroupsCount([out, retval] long *pVal);
00465                 [propget, id(6), helpstring("property FirmGroup")] HRESULT FirmGroup([in]long iGroup, [out, retval] IGroup* *pVal);
00467                 [id(7), helpstring("method Reset")] HRESULT Reset();
00468         };
00469 
00470 [        
00471         uuid(79995331-E12C-11D2-8BE2-00105A68ADF3),
00472         version(1.0),
00473         helpstring("ClauseBuilder 1.0 Type Library")
00474 ]
00475 library SYNANLib
00476 {
00477         importlib("stdole32.tlb");
00478         importlib("stdole2.tlb");
00479         #include "morph_dict/AgramtabLib/rus_consts.h"
00480         #include "morph_dict/AgramtabLib/ger_consts.h"
00481 
00482 
00483         [       
00484                 uuid(CF509F75-2981-11D3-8C51-00105A68ADF3),
00485                 helpstring("SentencesCollection Class")
00486         ]
00487         coclass SentencesCollection
00488         {
00489                 [default] interface ISentencesCollection;
00490         };
00491         [
00492                 uuid(CE8F3450-E101-11D2-8BE1-00105A68ADF3),
00493                 helpstring("Sentence Class")
00494         ]
00495         coclass Sentence
00496         {
00497                 [default] interface ISentence;
00498         };
00499         [
00500                 uuid(CE8F3452-E101-11D2-8BE1-00105A68ADF3),
00501                 helpstring("Word Class")
00502         ]
00503         coclass Word
00504         {
00505                 [default] interface IWord;
00506         };
00507         [
00508                 uuid(CB81A1E4-F8C1-11D2-8C0E-00105A68ADF3),
00509                 helpstring("Clause Class")
00510         ]
00511         coclass Clause
00512         {
00513                 [default] interface IClause;
00514         };
00515         [
00516                 uuid(CB81A1E6-F8C1-11D2-8C0E-00105A68ADF3),
00517                 helpstring("Group Class")
00518         ]
00519         coclass Group
00520         {
00521                 [default] interface IGroup;
00522         };
00523         [
00524                 uuid(CB81A1E9-F8C1-11D2-8C0E-00105A68ADF3),
00525                 helpstring("ClauseVariant Class")
00526         ]
00527         coclass ClauseVariant
00528         {
00529                 [default] interface IClauseVariant;
00530         };
00531         [
00532                 uuid(CB81A1EB-F8C1-11D2-8C0E-00105A68ADF3),
00533                 helpstring("Relation Class")
00534         ]
00535         coclass Relation
00536         {
00537                 [default] interface IRelation;
00538         };
00539         [
00540                 uuid(CB81A1ED-F8C1-11D2-8C0E-00105A68ADF3),
00541                 helpstring("Homonym Class")
00542         ]
00543         coclass Homonym
00544         {
00545                 [default] interface IHomonym;
00546         };
00547         [
00548                 uuid(E022CF54-037F-11D3-8C22-00105A68ADF3),
00549                 helpstring("ClauseType Class")
00550         ]
00551         coclass ClauseRoot
00552         {
00553                 [default] interface IClauseRoot;
00554         };
00555         [
00556                 uuid(7794ED73-F74F-11D3-8DC5-00105A68ADF3),
00557                 helpstring("SyntaxUnit Class")
00558         ]
00559         coclass SyntaxUnit
00560         {
00561                 [default] interface ISyntaxUnit;
00562         };
00563         [
00564                 uuid(23D97178-087F-11D4-8DE4-00105A68ADF3),
00565                 helpstring("RelationsIterator Class")
00566         ]
00567         coclass RelationsIterator
00568         {
00569                 [default] interface IRelationsIterator;
00570         };
00571 };
00572 

Generated on Tue Feb 7 15:38:48 2006 for Synan by  doxygen 1.4.4