TIDE Mini Logo TIDE - Tools for an Integrative view of Distributed Environmental data

IDL Definitions in Section "format_document"



#define format_document

// ............................................................................
// exported types

module tide {
   interface Document_Format;
   interface Document;

   typedef sequence <octet> Document_Data;

  
exception Invalid_Document_Format_Exception {
     string reason;
     Document_Format document_format;};
};

// ............................................................................
// imported packages

#ifndef about
#include "about.idl"
#endif

// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

module tide {

   // MIME Types
  
interface Document_Format : Transient {

     // reader method for document MIME type
     string get_type ();

     // reader method for document MIME subtype
     string get_subtype ();};

   // ........................................................................

  
interface Document : Transient {

     // reader method for MIME encoded format of Document
     Document_Format get_format ();

     // reader method for bytestream of Document's data
     Document_Data get_data ();

     // reader method for Document's size in bytes
     unsigned long get_size ();};

};


Interface Design: Project TIDE
This Page: http://tide-www.informatik.uni-hamburg.de/tide/interfaces/idl/format_document.html
Last Update: 31.08.1999, 7:23
Contact: tide@informatik.uni-hamburg.de