/* * This module defines standard accessors and * mutators for Cipres API2 interfaces. The idea is * that most inputs and outputs of services could be * generalized/abstracted away, so new services would be * easier to implement, reusing much of the type conversions. * * $Id: IO.IDL 1632 2006-07-11 21:59:01Z rvosa $ */ #include "api2/Types.idl" module CipresIDL_api2 { /* ITERATOR */ interface Iterator { any next(); any previous(); any first(); any last(); any getByIndex(in long i); boolean exists(in long i); }; /* STACK */ interface Stack { void push(in any obj); any pop(); void unshift(in any obj); any shift(); }; /* ATTACHMENTS */ interface AttachmentInput { void setAttachment(in Attachment att); }; interface AttachmentOutput { Attachment getAttachment(); }; interface AttachmentSeqInput { void setAttachmentSeq(in AttachmentSeq attseq); }; interface AttachmentSeqOutput { AttachmentSeq getAttachmentSeq(); }; /* TAXA */ interface TaxonInput { void setTaxon(in Taxon tax); }; interface TaxonOutput { Taxon getTaxon(); }; interface TaxaListInput { void setTaxa(in TaxaList list); }; interface TaxaListOutput { TaxaList getTaxa(); }; /* TREES */ interface TreeScoreInput { void setTreeScore(in TreeScore ts); }; interface TreeScoreOutput { TreeScore getTreeScore(); }; interface TreeInput { void setTree(in Tree tr); }; interface TreeOutput { Tree getTree(); }; interface TreeListInput { void setTrees(in TreeList trs); }; interface TreeListOutput { TreeList getTrees(); }; /* MATRICES */ interface DataMatrixInput { void setDataMatrix(in DataMatrix matrix); }; interface DataMatrixOutput { DataMatrix getDataMatrix(); }; interface DataMatrixListInput { void setDataMatrixList(in DataMatrixList list); }; interface DataMatrixListOutput { DataMatrixList getDataMatrixList(); }; };