Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > da8fd34ecc606270a67eb8510b864c4e > files > 159

libxml++2.6-devel-2.26.1-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libxml++: xmlpp::Schema Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1Schema.html">Schema</a>
  </div>
</div>
<div class="contents">
<h1>xmlpp::Schema Class Reference</h1><!-- doxytag: class="xmlpp::Schema" --><!-- doxytag: inherits="xmlpp::NonCopyable" -->Represents XML <a class="el" href="classxmlpp_1_1Schema.html" title="Represents XML Schema.">Schema</a>.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for xmlpp::Schema:</div>
<div class="dynsection">
<p><center><img src="classxmlpp_1_1Schema__inherit__graph.jpg" border="0" usemap="#xmlpp_1_1Schema__inherit__map" alt="Inheritance graph"></center>
<map name="xmlpp_1_1Schema__inherit__map">
<area shape="rect" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,5,147,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classxmlpp_1_1Schema-members.html">List of all members.</a><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="classxmlpp_1_1Schema.html#772d929c2cce3943a1d605ff2069cc68">Schema</a> (_xmlSchema *schema)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a schema from the underlying libxml schema element.  <a href="#772d929c2cce3943a1d605ff2069cc68"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#b89c5a25e1515dff1e63178cf4b5910c">Schema</a> (<a class="el" href="classxmlpp_1_1Document.html">Document</a> *document=NULL, <a class="el" href="classbool.html">bool</a> embed=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a schema from a XML document.  <a href="#b89c5a25e1515dff1e63178cf4b5910c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#cd93d7286aabea897cf76420a33e0ef2">~Schema</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#ed4cb9b023ce02e3c63521040aff2d87">set_document</a> (<a class="el" href="classxmlpp_1_1Document.html">Document</a> *document=NULL, <a class="el" href="classbool.html">bool</a> embed=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a new document to the schema.  <a href="#ed4cb9b023ce02e3c63521040aff2d87"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#1136d4a1c052f450e1d2153234e1ca31">get_name</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#2fd2cffa8010166516c25d957b2fbe84">get_target_namespace</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#948b90685ae8f394be195effac10f502">get_version</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Document.html">Document</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#1dea312fc3284d60de36bd099399e8bb">get_document</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classxmlpp_1_1Document.html">Document</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#d8504ecb8acc821fcd3113d6ccc4bdb4">get_document</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">_xmlSchema *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#d200dae863d27fcdeccdba9653df8933">cobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access the underlying libxml implementation.  <a href="#d200dae863d27fcdeccdba9653df8933"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const _xmlSchema *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#d2239be7d5ab5277076a07053687d903">cobj</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access the underlying libxml implementation.  <a href="#d2239be7d5ab5277076a07053687d903"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#95292e2dad9af680c7741df4194411e6">release_underlying</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Represents XML <a class="el" href="classxmlpp_1_1Schema.html" title="Represents XML Schema.">Schema</a>. 
<p>
<dl compact><dt><b><a class="el" href="newin2p24s.html#_newin2p24s000006">Since libxml++ 2.24:</a></b></dt><dd></dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="772d929c2cce3943a1d605ff2069cc68"></a><!-- doxytag: member="xmlpp::Schema::Schema" ref="772d929c2cce3943a1d605ff2069cc68" args="(_xmlSchema *schema)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::Schema::Schema           </td>
          <td>(</td>
          <td class="paramtype">_xmlSchema *&nbsp;</td>
          <td class="paramname"> <em>schema</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a schema from the underlying libxml schema element. 
<p>

</div>
</div><p>
<a class="anchor" name="b89c5a25e1515dff1e63178cf4b5910c"></a><!-- doxytag: member="xmlpp::Schema::Schema" ref="b89c5a25e1515dff1e63178cf4b5910c" args="(Document *document=NULL, bool embed=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::Schema::Schema           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Document.html">Document</a> *&nbsp;</td>
          <td class="paramname"> <em>document</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&nbsp;</td>
          <td class="paramname"> <em>embed</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a schema from a XML document. 
<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>document</em>&nbsp;</td><td>XMLSchema document, NULL to create an empty schema document. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>embed</em>&nbsp;</td><td>If true, the document will be deleted when the schema is deleted or another document is set. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="cd93d7286aabea897cf76420a33e0ef2"></a><!-- doxytag: member="xmlpp::Schema::~Schema" ref="cd93d7286aabea897cf76420a33e0ef2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::Schema::~Schema           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d2239be7d5ab5277076a07053687d903"></a><!-- doxytag: member="xmlpp::Schema::cobj" ref="d2239be7d5ab5277076a07053687d903" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const _xmlSchema* xmlpp::Schema::cobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Access the underlying libxml implementation. 
<p>

</div>
</div><p>
<a class="anchor" name="d200dae863d27fcdeccdba9653df8933"></a><!-- doxytag: member="xmlpp::Schema::cobj" ref="d200dae863d27fcdeccdba9653df8933" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_xmlSchema* xmlpp::Schema::cobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Access the underlying libxml implementation. 
<p>

</div>
</div><p>
<a class="anchor" name="d8504ecb8acc821fcd3113d6ccc4bdb4"></a><!-- doxytag: member="xmlpp::Schema::get_document" ref="d8504ecb8acc821fcd3113d6ccc4bdb4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* xmlpp::Schema::get_document           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="1dea312fc3284d60de36bd099399e8bb"></a><!-- doxytag: member="xmlpp::Schema::get_document" ref="1dea312fc3284d60de36bd099399e8bb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Document.html">Document</a>* xmlpp::Schema::get_document           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="1136d4a1c052f450e1d2153234e1ca31"></a><!-- doxytag: member="xmlpp::Schema::get_name" ref="1136d4a1c052f450e1d2153234e1ca31" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring xmlpp::Schema::get_name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="2fd2cffa8010166516c25d957b2fbe84"></a><!-- doxytag: member="xmlpp::Schema::get_target_namespace" ref="2fd2cffa8010166516c25d957b2fbe84" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring xmlpp::Schema::get_target_namespace           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="948b90685ae8f394be195effac10f502"></a><!-- doxytag: member="xmlpp::Schema::get_version" ref="948b90685ae8f394be195effac10f502" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::ustring xmlpp::Schema::get_version           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="95292e2dad9af680c7741df4194411e6"></a><!-- doxytag: member="xmlpp::Schema::release_underlying" ref="95292e2dad9af680c7741df4194411e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Schema::release_underlying           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ed4cb9b023ce02e3c63521040aff2d87"></a><!-- doxytag: member="xmlpp::Schema::set_document" ref="ed4cb9b023ce02e3c63521040aff2d87" args="(Document *document=NULL, bool embed=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Schema::set_document           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Document.html">Document</a> *&nbsp;</td>
          <td class="paramname"> <em>document</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&nbsp;</td>
          <td class="paramname"> <em>embed</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set a new document to the schema. 
<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>document</em>&nbsp;</td><td>XMLSchema document, NULL to create an empty schema document. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>embed</em>&nbsp;</td><td>If true, the document will be deleted when the schema is deleted or another document is set. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="schema_8h.html">schema.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 27 17:07:26 2009 for libxml++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>