<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="CamomileLibrary.DefaultConfig.html"> <link rel="next" href="CamomileLibrary.UChar.html"> <link rel="Up" href="CamomileLibrary.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="CamomileLibrary" rel="Chapter" href="CamomileLibrary.html"> <link title="CamomileLibraryDefault" rel="Chapter" href="CamomileLibraryDefault.html"> <link title="CamomileLibraryDyn" rel="Chapter" href="CamomileLibraryDyn.html"><title>CamomileLibrary.OOChannel</title> </head> <body> <div class="navbar"><a class="pre" href="CamomileLibrary.DefaultConfig.html" title="CamomileLibrary.DefaultConfig">Previous</a> <a class="up" href="CamomileLibrary.html" title="CamomileLibrary">Up</a> <a class="post" href="CamomileLibrary.UChar.html" title="CamomileLibrary.UChar">Next</a> </div> <h1>Module <a href="type_CamomileLibrary.OOChannel.html">CamomileLibrary.OOChannel</a></h1> <pre><span class="keyword">module</span> OOChannel: <code class="code">sig</code> <a href="CamomileLibrary.OOChannel.html">..</a> <code class="code">end</code></pre><hr width="100%"> <br> Object Oriented Channel<br> <pre><span id="TYPEobj_input_channel"><span class="keyword">class type</span> <code class="type">['a]</code> <a href="CamomileLibrary.OOChannel.obj_input_channel-c.html">obj_input_channel</a></span> = <code class="code">object</code> <a href="CamomileLibrary.OOChannel.obj_input_channel-c.html">..</a> <code class="code">end</code></pre><div class="info"> Generic input channel Have the same interface of Polymorphic input channel of http://www.ocaml-programming.de/rec/IO-Classes.html All channels of Camomile having this interface must confirm the behaviour defined in the recommendation above. </div> <pre><span id="TYPEobj_output_channel"><span class="keyword">class type</span> <code class="type">['a]</code> <a href="CamomileLibrary.OOChannel.obj_output_channel-c.html">obj_output_channel</a></span> = <code class="code">object</code> <a href="CamomileLibrary.OOChannel.obj_output_channel-c.html">..</a> <code class="code">end</code></pre><div class="info"> Generic output channel Have the same interface of Polymorphic output channel of http://www.ocaml-programming.de/rec/IO-Classes.html All channels of Camomile having this interface must confirm the behaviour defined in the recommendation above. </div> <pre><span name="TYPEchannel_of_stream"><span class="keyword">class</span> <code class="type">['a]</code> <a href="CamomileLibrary.OOChannel.channel_of_stream-c.html">channel_of_stream</a></span> : <code class="type">'a Stream.t -> </code><code class="type">['a]</code> <code class="type"><a href="CamomileLibrary.OOChannel.obj_input_channel-c.html">obj_input_channel</a></code></pre><div class="info"> Convert stream to obj_input_channel </div> <pre><span id="VALstream_of_channel"><span class="keyword">val</span> stream_of_channel</span> : <code class="type">'a #<a href="CamomileLibrary.OOChannel.obj_input_channel-c.html">obj_input_channel</a> -> 'a Stream.t</code></pre><div class="info "> Convert obj_input_channel to stream<br> </div> <pre><span id="TYPEchar_input_channel"><span class="keyword">class type</span> <a href="CamomileLibrary.OOChannel.char_input_channel-c.html">char_input_channel</a></span> = <code class="code">object</code> <a href="CamomileLibrary.OOChannel.char_input_channel-c.html">..</a> <code class="code">end</code></pre><div class="info"> Character(byte) input channel. </div> <pre><span id="TYPEchar_output_channel"><span class="keyword">class type</span> <a href="CamomileLibrary.OOChannel.char_output_channel-c.html">char_output_channel</a></span> = <code class="code">object</code> <a href="CamomileLibrary.OOChannel.char_output_channel-c.html">..</a> <code class="code">end</code></pre><div class="info"> Character(byte) output channel. </div> <pre><span name="TYPEchar_input_channel_of"><span class="keyword">class</span> <a href="CamomileLibrary.OOChannel.char_input_channel_of-c.html">char_input_channel_of</a></span> : <code class="type">char #<a href="CamomileLibrary.OOChannel.obj_input_channel-c.html">obj_input_channel</a> -> </code><code class="type"><a href="CamomileLibrary.OOChannel.char_input_channel-c.html">char_input_channel</a></code></pre><div class="info"> Convert a polymorphic input channel to a character input channel </div> <pre><span name="TYPEchar_obj_input_channel_of"><span class="keyword">class</span> <a href="CamomileLibrary.OOChannel.char_obj_input_channel_of-c.html">char_obj_input_channel_of</a></span> : <code class="type"><a href="CamomileLibrary.OOChannel.char_input_channel-c.html">char_input_channel</a> -> </code><code class="type">[char]</code> <code class="type"><a href="CamomileLibrary.OOChannel.obj_input_channel-c.html">obj_input_channel</a></code></pre><div class="info"> Convert a character input channel to a polymorphic input channel </div> <pre><span name="TYPEchar_output_channel_of"><span class="keyword">class</span> <a href="CamomileLibrary.OOChannel.char_output_channel_of-c.html">char_output_channel_of</a></span> : <code class="type">char #<a href="CamomileLibrary.OOChannel.obj_output_channel-c.html">obj_output_channel</a> -> </code><code class="type"><a href="CamomileLibrary.OOChannel.char_output_channel-c.html">char_output_channel</a></code></pre><div class="info"> Convert a polymorphic output channel to a character output channel </div> <pre><span name="TYPEchar_obj_output_channel_of"><span class="keyword">class</span> <a href="CamomileLibrary.OOChannel.char_obj_output_channel_of-c.html">char_obj_output_channel_of</a></span> : <code class="type"><a href="CamomileLibrary.OOChannel.char_output_channel-c.html">char_output_channel</a> -> </code><code class="type">[char]</code> <code class="type"><a href="CamomileLibrary.OOChannel.obj_output_channel-c.html">obj_output_channel</a></code></pre><div class="info"> Convert a character output channel to a polymorphic output channel </div> <pre><span name="TYPEof_in_channel"><span class="keyword">class</span> <a href="CamomileLibrary.OOChannel.of_in_channel-c.html">of_in_channel</a></span> : <code class="type">Pervasives.in_channel -> </code><code class="type"><a href="CamomileLibrary.OOChannel.char_input_channel-c.html">char_input_channel</a></code></pre><div class="info"> Convert an OCaml input channel to an OO-based character input channel </div> <pre><span name="TYPEof_out_channel"><span class="keyword">class</span> <a href="CamomileLibrary.OOChannel.of_out_channel-c.html">of_out_channel</a></span> : <code class="type">Pervasives.out_channel -> </code><code class="type"><a href="CamomileLibrary.OOChannel.char_output_channel-c.html">char_output_channel</a></code></pre><div class="info"> Convert an OCaml output channel to an OO-based character output channel </div> </body></html>