<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>libxml++: xmlpp::SchemaBase Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libxml++  <span id="projectnumber">2.40.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" 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 id="navrow2" 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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacexmlpp.html">xmlpp</a></li><li class="navelem"><a class="el" href="classxmlpp_1_1SchemaBase.html">SchemaBase</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classxmlpp_1_1SchemaBase-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">xmlpp::SchemaBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Base class for schemas, used for validation of XML files. <a href="classxmlpp_1_1SchemaBase.html#details">More...</a></p> <p><code>#include <libxml++/schemabase.h></code></p> <div class="dynheader"> Inheritance diagram for xmlpp::SchemaBase:</div> <div class="dyncontent"> <div class="center"><img src="classxmlpp_1_1SchemaBase__inherit__graph.png" border="0" usemap="#xmlpp_1_1SchemaBase_inherit__map" alt="Inheritance graph"/></div> <map name="xmlpp_1_1SchemaBase_inherit__map" id="xmlpp_1_1SchemaBase_inherit__map"> <area shape="rect" id="node3" href="classxmlpp_1_1RelaxNGSchema.html" title="Represents a RelaxNG schema for validating XML files. " alt="" coords="5,155,180,181"/><area shape="rect" id="node4" href="classxmlpp_1_1XsdSchema.html" title="Represents an XSD schema for validating XML files. " alt="" coords="204,155,349,181"/><area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="107,5,262,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a2ffebf4094ac35b6c3a5c85099a738fc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a2ffebf4094ac35b6c3a5c85099a738fc">SchemaBase</a> ()</td></tr> <tr class="separator:a2ffebf4094ac35b6c3a5c85099a738fc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a746df1307fcddeb3bbbf1f2ac834d79b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a746df1307fcddeb3bbbf1f2ac834d79b">~SchemaBase</a> () override</td></tr> <tr class="separator:a746df1307fcddeb3bbbf1f2ac834d79b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0591e2b2adcb6cdceeb422526c133024"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a0591e2b2adcb6cdceeb422526c133024">parse_document</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)=0</td></tr> <tr class="memdesc:a0591e2b2adcb6cdceeb422526c133024"><td class="mdescLeft"> </td><td class="mdescRight">Parse a schema definition from a document. <a href="#a0591e2b2adcb6cdceeb422526c133024">More...</a><br /></td></tr> <tr class="separator:a0591e2b2adcb6cdceeb422526c133024"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75a4aa5f3972f1dd88af46de3f3307fc"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a75a4aa5f3972f1dd88af46de3f3307fc">parse_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& filename)=0</td></tr> <tr class="memdesc:a75a4aa5f3972f1dd88af46de3f3307fc"><td class="mdescLeft"> </td><td class="mdescRight">Parse a schema definition file. <a href="#a75a4aa5f3972f1dd88af46de3f3307fc">More...</a><br /></td></tr> <tr class="separator:a75a4aa5f3972f1dd88af46de3f3307fc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8aaacd840324840bf0cee30cff1832c5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a8aaacd840324840bf0cee30cff1832c5">parse_memory</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& contents)=0</td></tr> <tr class="memdesc:a8aaacd840324840bf0cee30cff1832c5"><td class="mdescLeft"> </td><td class="mdescRight">Parse a schema definition from a string. <a href="#a8aaacd840324840bf0cee30cff1832c5">More...</a><br /></td></tr> <tr class="separator:a8aaacd840324840bf0cee30cff1832c5"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Base class for schemas, used for validation of XML files. </p> <dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000002">Since libxml++ 2.38:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a2ffebf4094ac35b6c3a5c85099a738fc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">xmlpp::SchemaBase::SchemaBase </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a746df1307fcddeb3bbbf1f2ac834d79b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">xmlpp::SchemaBase::~SchemaBase </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">override</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a0591e2b2adcb6cdceeb422526c133024"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void xmlpp::SchemaBase::parse_document </td> <td>(</td> <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* </td> <td class="paramname"><em>document</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse a schema definition from a document. </p> <p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr> </table> </dd> </dl> <p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a547d258651169796055ccc76179c129b">xmlpp::RelaxNGSchema</a>, and <a class="el" href="classxmlpp_1_1XsdSchema.html#a74f5df9da50373456ccd84eb712fb147">xmlpp::XsdSchema</a>.</p> </div> </div> <a class="anchor" id="a75a4aa5f3972f1dd88af46de3f3307fc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void xmlpp::SchemaBase::parse_file </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>filename</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse a schema definition file. </p> <p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr> </table> </dd> </dl> <p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a735972ba9f69987339980572df8f7106">xmlpp::RelaxNGSchema</a>, and <a class="el" href="classxmlpp_1_1XsdSchema.html#aaded9f92eb161efa7861c1b30b146ee3">xmlpp::XsdSchema</a>.</p> </div> </div> <a class="anchor" id="a8aaacd840324840bf0cee30cff1832c5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void xmlpp::SchemaBase::parse_memory </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>contents</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse a schema definition from a string. </p> <p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">contents</td><td>The schema definition as a string. </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr> </table> </dd> </dl> <p>Implemented in <a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a26056dc0eed317f27ae45207a957d63b">xmlpp::RelaxNGSchema</a>, and <a class="el" href="classxmlpp_1_1XsdSchema.html#a9e6903a23561467af2a2284a578f47a3">xmlpp::XsdSchema</a>.</p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Oct 28 2015 14:41:04 for libxml++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>