Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 9406df6f885a8f97005c2d7e241d165f > files > 75

colorer-take5-docs-0-0.beta5.14.mga7.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Colorer-take5 Library: HTTPInputSource Class Reference</title>
<link href="../styles/styles.css" rel="stylesheet" type="text/css">
<link href="../styles/doc.css" rel="stylesheet" type="text/css">
<link rel="icon" href="../images/logo-small-api.png"/>
</head>
<body>
<div align='center'>
<a href="../index.html">Home</a> |
<a href="modules.html">Modules</a> |
<a href="hierarchy.html">Class Hierarchy</a> |
<a href="classes.html">Alphabetical List</a> |
<a href="annotated.html">Compound List</a> |
<a href="pages.html">Related Pages</a>
</div>
<!-- Generated by Doxygen 1.4.6 -->
<h1>HTTPInputSource Class Reference<br>
<small>
[<a class="el" href="group__common__io.html">IO core interfaces</a>]</small>
</h1><!-- doxytag: class="HTTPInputSource" --><!-- doxytag: inherits="InputSource" --><p>Inheritance diagram for HTTPInputSource:
<p><center><img src="classHTTPInputSource.png" usemap="#HTTPInputSource_map" border="0" alt=""></center>
<map name="HTTPInputSource_map">
<area href="classInputSource.html" alt="InputSource" shape="rect" coords="0,0,111,24">
</map>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Implements reading from HTTP URLs. 
<p>
Implemented only for win32 systems using wininet API. <dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>UNIX version...</dd></dl>

<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHTTPInputSource.html#3fcc350f7d27cf25550e00961b2ffcea">HTTPInputSource</a> (const <a class="el" href="classString.html">String</a> *basePath, <a class="el" href="classHTTPInputSource.html">HTTPInputSource</a> *base)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates stream from http protocol url.  <a href="#3fcc350f7d27cf25550e00961b2ffcea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="512f6044392c329cd44c891c6be706be"></a><!-- doxytag: member="HTTPInputSource::getLocation" ref="512f6044392c329cd44c891c6be706be" args="() const " -->
const <a class="el" href="classString.html">String</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getLocation</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8aaa6c498b7aa71aad7fecb4159c47d"></a><!-- doxytag: member="HTTPInputSource::openStream" ref="d8aaa6c498b7aa71aad7fecb4159c47d" args="()" -->
const byte *&nbsp;</td><td class="memItemRight" valign="bottom"><b>openStream</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ac33fb3a3a3dce8f043492f336dcaad0"></a><!-- doxytag: member="HTTPInputSource::closeStream" ref="ac33fb3a3a3dce8f043492f336dcaad0" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>closeStream</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9630ebf1b96100cf4674f0b0fdaff071"></a><!-- doxytag: member="HTTPInputSource::length" ref="9630ebf1b96100cf4674f0b0fdaff071" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>length</b> () const </td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c951f53f49a9b8c4feb1ae85b5259cb"></a><!-- doxytag: member="HTTPInputSource::createRelative" ref="3c951f53f49a9b8c4feb1ae85b5259cb" args="(const String *relPath)" -->
<a class="el" href="classInputSource.html">InputSource</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>createRelative</b> (const <a class="el" href="classString.html">String</a> *relPath)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3fcc350f7d27cf25550e00961b2ffcea"></a><!-- doxytag: member="HTTPInputSource::HTTPInputSource" ref="3fcc350f7d27cf25550e00961b2ffcea" args="(const String *basePath, HTTPInputSource *base)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HTTPInputSource::HTTPInputSource           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classString.html">String</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>basePath</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="classHTTPInputSource.html">HTTPInputSource</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>base</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates stream from http protocol url. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>basePath</em>&nbsp;</td><td>URL to open (can be relative). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>base</em>&nbsp;</td><td>Parent input source, to use as base url for relative URLs. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>

<br><br>
<center><small>
Colorer-take5 Library. Copyright &copy; 1999-2006 Igor Russkih.<br>
Generated at Fri Nov 24 17:13:13 2006 by doxygen 1.4.6.
</small><center>
    </BODY>
  </HTML>