<!-- ##### SECTION Title ##### -->
MateComponentStreamMem

<!-- ##### SECTION Short_Description ##### -->

In-memory implementation of MateComponent::Stream interface.

<!-- ##### SECTION Long_Description ##### -->
<para>
   The MateComponentStreamMem is an implementation of the
   IDL:MateComponent/Stream:1.0 interface.  This implementation allows an
   in-memory buffer to be exposed as a IDL:MateComponent/Stream:1.0 to
   clients.  
</para>

<para>
   Here is a sample way of exposing a C string as an
   IDL:MateComponent/Stream:1.0:

   <example>
     <title>Sample MateComponentStreamMem usage</title>

     <programlisting>
MateComponentStream *make_matecomponent_stream_on_string (char *string)
{
    return matecomponent_stream_mem_create (string, strlen (string), TRUE, FALSE);
}
     </programlisting>
   </example>

   This example will make the string argument be exposed as a CORBA
   stream.  </para>

<!-- ##### SECTION See_Also ##### -->
<para>
  <variablelist>
    <varlistentry>
      <term>#MateComponentStream</term>
      <listitem><para>An abstract class to implement
      IDL:MateComponent/Streams.</para></listitem>
    </varlistentry>
    <varlistentry>
      <term>IDL:MateComponent/Stream:1.0</term>
      <listitem><para>The CORBA interface implemented .</para></listitem>
    </varlistentry>
   </variablelist>
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### STRUCT MateComponentStreamMem ##### -->
<para>

</para>


<!-- ##### STRUCT MateComponentStreamMemClass ##### -->
<para>

</para>

@parent_class: 
@epv: 
@get_buffer: 
@get_size: 

<!-- ##### FUNCTION matecomponent_stream_mem_construct ##### -->
<para>

</para>

@stream_mem: 
@buffer: 
@size: 
@read_only: 
@resizable: 
@Returns: 


<!-- ##### FUNCTION matecomponent_stream_mem_create ##### -->
<para>

</para>

@buffer: 
@size: 
@read_only: 
@resizable: 
@Returns: 


<!-- ##### FUNCTION matecomponent_stream_mem_get_buffer ##### -->
<para>

</para>

@stream_mem: 
@Returns: 


<!-- ##### FUNCTION matecomponent_stream_mem_get_size ##### -->
<para>

</para>

@stream_mem: 
@Returns: 


