<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;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.7.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacexmlpp.html">xmlpp</a> </li> <li><a class="el" href="classxmlpp_1_1Schema.html">Schema</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <h1>xmlpp::Schema Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="xmlpp::Schema" --><!-- doxytag: inherits="xmlpp::NonCopyable" --> <p>Represents an XML <a class="el" href="classxmlpp_1_1Schema.html" title="Represents an XML Schema.">Schema</a>. <a href="#_details">More...</a></p> <p><code>#include <libxml++/schema.h></code></p> <!-- startSectionHeader --><div class="dynheader"> Inheritance diagram for xmlpp::Schema:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="classxmlpp_1_1Schema__inherit__graph.png" border="0" usemap="#xmlpp_1_1Schema_inherit__map" alt="Inheritance graph"/></div> <map name="xmlpp_1_1Schema_inherit__map" id="xmlpp_1_1Schema_inherit__map"> <area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,6,147,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div> <!-- startSectionHeader --><div class="dynheader"> Collaboration diagram for xmlpp::Schema:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="classxmlpp_1_1Schema__coll__graph.png" border="0" usemap="#xmlpp_1_1Schema_coll__map" alt="Collaboration graph"/></div> <map name="xmlpp_1_1Schema_coll__map" id="xmlpp_1_1Schema_coll__map"> <area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,6,147,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div> <p><a href="classxmlpp_1_1Schema-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a772d929c2cce3943a1d605ff2069cc68">Schema</a> (_xmlSchema* schema)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a schema from the underlying libxml schema element. <a href="#a772d929c2cce3943a1d605ff2069cc68"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#aedaae0872aacd4ba046c6e7804e4d52a">Schema</a> (<a class="el" href="classxmlpp_1_1Document.html">Document</a>* document=0, bool embed=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a schema from a XML document. <a href="#aedaae0872aacd4ba046c6e7804e4d52a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#acd93d7286aabea897cf76420a33e0ef2">~Schema</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a2685225a63de28093f670f0a65020051">set_document</a> (<a class="el" href="classxmlpp_1_1Document.html">Document</a>* document=0, bool embed=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a new document to the schema. <a href="#a2685225a63de28093f670f0a65020051"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a1136d4a1c052f450e1d2153234e1ca31">get_name</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a2fd2cffa8010166516c25d957b2fbe84">get_target_namespace</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a948b90685ae8f394be195effac10f502">get_version</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Document.html">Document</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a1dea312fc3284d60de36bd099399e8bb">get_document</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#ad8504ecb8acc821fcd3113d6ccc4bdb4">get_document</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">_xmlSchema* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#ad200dae863d27fcdeccdba9653df8933">cobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#ad200dae863d27fcdeccdba9653df8933"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const _xmlSchema* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#ad2239be7d5ab5277076a07053687d903">cobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#ad2239be7d5ab5277076a07053687d903"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Schema.html#a95292e2dad9af680c7741df4194411e6">release_underlying</a> ()</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Represents an XML <a class="el" href="classxmlpp_1_1Schema.html" title="Represents an XML Schema.">Schema</a>. </p> <dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000001">Since libxml++ 2.24:</a></b></dt><dd></dd></dl> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a772d929c2cce3943a1d605ff2069cc68"></a><!-- doxytag: member="xmlpp::Schema::Schema" ref="a772d929c2cce3943a1d605ff2069cc68" 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 * </td> <td class="paramname"> <em>schema</em> )</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> <a class="anchor" id="aedaae0872aacd4ba046c6e7804e4d52a"></a><!-- doxytag: member="xmlpp::Schema::Schema" ref="aedaae0872aacd4ba046c6e7804e4d52a" args="(Document *document=0, 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>* </td> <td class="paramname"> <em>document</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>embed</em> = <code>false</code> </td> </tr> <tr> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">document</td><td>XMLSchema document, 0 to create an empty schema document. </td></tr> <tr><td class="paramname">embed</td><td>If true, the document will be deleted when the schema is deleted or another document is set. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="acd93d7286aabea897cf76420a33e0ef2"></a><!-- doxytag: member="xmlpp::Schema::~Schema" ref="acd93d7286aabea897cf76420a33e0ef2" 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></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ad200dae863d27fcdeccdba9653df8933"></a><!-- doxytag: member="xmlpp::Schema::cobj" ref="ad200dae863d27fcdeccdba9653df8933" 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></td> </tr> </table> </div> <div class="memdoc"> <p>Access the underlying libxml implementation. </p> </div> </div> <a class="anchor" id="ad2239be7d5ab5277076a07053687d903"></a><!-- doxytag: member="xmlpp::Schema::cobj" ref="ad2239be7d5ab5277076a07053687d903" 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> const</td> </tr> </table> </div> <div class="memdoc"> <p>Access the underlying libxml implementation. </p> </div> </div> <a class="anchor" id="a1dea312fc3284d60de36bd099399e8bb"></a><!-- doxytag: member="xmlpp::Schema::get_document" ref="a1dea312fc3284d60de36bd099399e8bb" 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></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad8504ecb8acc821fcd3113d6ccc4bdb4"></a><!-- doxytag: member="xmlpp::Schema::get_document" ref="ad8504ecb8acc821fcd3113d6ccc4bdb4" 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> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a1136d4a1c052f450e1d2153234e1ca31"></a><!-- doxytag: member="xmlpp::Schema::get_name" ref="a1136d4a1c052f450e1d2153234e1ca31" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Schema::get_name </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a2fd2cffa8010166516c25d957b2fbe84"></a><!-- doxytag: member="xmlpp::Schema::get_target_namespace" ref="a2fd2cffa8010166516c25d957b2fbe84" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Schema::get_target_namespace </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a948b90685ae8f394be195effac10f502"></a><!-- doxytag: member="xmlpp::Schema::get_version" ref="a948b90685ae8f394be195effac10f502" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Schema::get_version </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a95292e2dad9af680c7741df4194411e6"></a><!-- doxytag: member="xmlpp::Schema::release_underlying" ref="a95292e2dad9af680c7741df4194411e6" 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><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a2685225a63de28093f670f0a65020051"></a><!-- doxytag: member="xmlpp::Schema::set_document" ref="a2685225a63de28093f670f0a65020051" args="(Document *document=0, 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>* </td> <td class="paramname"> <em>document</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>embed</em> = <code>false</code> </td> </tr> <tr> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">document</td><td>XMLSchema document, 0 to create an empty schema document. </td></tr> <tr><td class="paramname">embed</td><td>If true, the document will be deleted when the schema is deleted or another document is set. </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>schema.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Fri Feb 11 2011 16:08:50 for libxml++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address> </body> </html>