<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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>wsdlpull: Schema::SchemaParser Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javaScript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.6.2-20100208 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <img id="MSearchSelect" src="search/search.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </div> </li> </ul> </div> <div class="tabs"> <ul> <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"><a class="el" href="namespaceSchema.html">Schema</a>::<a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> </div> </div> <div class="contents"> <h1>Schema::SchemaParser Class Reference</h1><!-- doxytag: class="Schema::SchemaParser" --> <p><code>#include <<a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>></code></p> <p><a href="classSchema_1_1SchemaParser-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structSchema_1_1SchemaParser_1_1ImportedSchema.html">ImportedSchema</a></td></tr> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpd41d8cd98f00b204e9800998ecf8427e"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list< <a class="el" href="classSchema_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#aa0507b6296ea5ee7b6db52fc2f18fdfb">ElementList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list< <a class="el" href="classSchema_1_1Attribute.html">Attribute</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ab9d30d5bb84c5ecfd85d74a1004f40af">AttributeList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list< <a class="el" href="classSchema_1_1Group.html">Group</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a978682184fe54dc2259e4f2077d6277f">GroupList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list<br class="typebreak"/> < <a class="el" href="classSchema_1_1AttributeGroup.html">AttributeGroup</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ac60d413c1563aa04ad89c47b9ff1ce4a">AttributeGroupList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list< <a class="el" href="classSchema_1_1Constraint.html">Constraint</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#af3d52b77a5c66faf810852b3f18b373b">ConstraintList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list< <a class="el" href="classQname.html">Qname</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#af92a6d8f83dac20b51d119c616a0ca46">QNameList</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef std::list< const <br class="typebreak"/> <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#aa9cfc4267725f56a45a283e1fa5968dc">ConstTypeList</a></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Constructors and Destructors</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp64fb2b8a2107864a2f56d3f7cc47f3aa"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a1c3f89d88098fdaee9705dd2b599819e">SchemaParser</a> (const std::string &Uri, std::string tns="", std::ostream &log=std::cout, const std::string &confPath="")</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ac0e2c65eebd75fb3a5f36dc884fa6083">SchemaParser</a> (<a class="el" href="classXmlPullParser.html">XmlPullParser</a> *parser, std::string tns="", std::ostream &log=std::cout, const std::string &confPath="")</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ab7300dc7ba47dfdab07cd7fccad384e9">~SchemaParser</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader">methods used for parsing</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpf44e7b2e94c4c79eebd6362375267fd0"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a6f1dddf50bcb4dec24df5334971400c0">parseSchemaTag</a> ()</td></tr> <tr><td colspan="2"><div class="groupHeader">Various Getter methods</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp5704fcb1a8d1f598d5c1ad4d2b545942"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a8f4e9997d8d4d84f37e33e425e3185c1">getType</a> (const <a class="el" href="classQname.html">Qname</a> &type, bool checkImports=true)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ae544d4d2df1ca02efc42dfa9d5630d6c">getType</a> (int id) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a64b8d5b094b9387840cd1cbea3f03f46">getType</a> (int id, std::string &nameSpace)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSchema_1_1SchemaParser.html#aa9cfc4267725f56a45a283e1fa5968dc">ConstTypeList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a8504fe37fc887f27480dd36e8deeef99">getAllTypes</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1Element.html">Element</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#aa11d8f9bf85870304ab35e387fd486b1">getElement</a> (const <a class="el" href="classQname.html">Qname</a> &element, bool checkImports=true) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1SchemaParser.html#aa0507b6296ea5ee7b6db52fc2f18fdfb">ElementList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ad10c155ac19fb7bb0e0317514ab6ce39">getElements</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#aad15ce5731f98126124b35ee2b982d40">getNumElements</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSchema_1_1Attribute.html">Attribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a47bd98ca4024da64894ed46ade0f9554">getAttribute</a> (const <a class="el" href="classQname.html">Qname</a> &attribute)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1SchemaParser.html#ab9d30d5bb84c5ecfd85d74a1004f40af">AttributeList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a8baebb1b8c5eccea424e41f5a0e9c4b6">getAttributes</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a03737b95f34a4b8a48fbb4f55ed7cfd2">getNumAttributes</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a64e1a1534e45266a717fd1c52cbb337c">getNamespace</a> (void) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a648f733fd3b058ffb82b8d25359abae6">getNumTypes</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ad8f407de76f38f1fa24c844faf9ca611">getTypeId</a> (const <a class="el" href="classQname.html">Qname</a> &, bool create=false)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#adea72dec2bf6296659459642d4291b86">isBasicType</a> (int sType) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a9ae0bb284b527910e9c5a7373ebb2b24">getBasicContentType</a> (int typeId) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSchema_1_1Group.html">Group</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a0ebc5538bb373dd99c04b3485462acfa">getGroup</a> (const <a class="el" href="classQname.html">Qname</a> &name)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSchema_1_1AttributeGroup.html">AttributeGroup</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#af7b03dfae9c493636019f1851a57e6f5">getAttributeGroup</a> (const <a class="el" href="classQname.html">Qname</a> &name)</td></tr> <tr><td colspan="2"><div class="groupHeader">Methods for handling Imports</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp2d97fd79e584c57d16985704ea1431a7"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a17245eefe108e357a5ded372a5edcb07">isImported</a> (const std::string &ns) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a07fe7c99618de89ad703a9a7872f68e6">getImportedSchemaParser</a> (const std::string &ns) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#af01538823b660050028b2b52071f031f">addImport</a> (std::string ns, std::string location="")</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a845bb71f97cba857e34d0c69d696ca02">addImport</a> (<a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> *sp)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a3c1cd49cbd366366b4127a7d64252a2d">addImports</a> (const std::vector< <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * > &schemaParsers)</td></tr> <tr><td colspan="2"><div class="groupHeader">Miscellaneous Methods</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp5b1d384948c6fa2f87a0690f03ca71bd"></a> </p> </div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a14b7afa532833ecace14459384ec6a74">finalize</a> (void)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a1531ba77bcf32659cd36e684d59b595e">setWarningLevel</a> (int l)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a5d4c050e16d32aa7a8e87cdb9c27cec2">setSchemaPath</a> (const std::string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a3b34d1a790d25778b56df0bf07a01a30">setUri</a> (const std::string &u)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#aa92a73e7ae4a81583348e682e7f54f96">getTypeName</a> (<a class="el" href="namespaceSchema.html#acbe1398d097409fb3c2f948fa876711d">Schema::Type</a> t) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSchema_1_1TypesTable.html">TypesTable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a0f0b628df4b57ea70aca855667721728">getTypesTable</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a7075e1bb5d4454c04fbdd0fadcc5f828">getImportedSchema</a> (std::string &nameSpace)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="structSchema_1_1SchemaParser_1_1ImportedSchema.html">ImportedSchema</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a81e5d138a603a6615d1d286d0250133a">getImportedSchemas</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#ab901517ca3153da17e9035f7a5cfc03f">getVersion</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#accc806bd739b3ec9633987d4f745d894">getElementQualified</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSchema_1_1SchemaParser.html#a260a1b30b14d47228a6d809c83876390">getTnsPrefix</a> (void) const </td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00042">42</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="aa0507b6296ea5ee7b6db52fc2f18fdfb"></a><!-- doxytag: member="Schema::SchemaParser::ElementList" ref="aa0507b6296ea5ee7b6db52fc2f18fdfb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list<<a class="el" href="classSchema_1_1Element.html">Element</a>> <a class="el" href="classSchema_1_1SchemaParser.html#aa0507b6296ea5ee7b6db52fc2f18fdfb">Schema::SchemaParser::ElementList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00050">50</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="ab9d30d5bb84c5ecfd85d74a1004f40af"></a><!-- doxytag: member="Schema::SchemaParser::AttributeList" ref="ab9d30d5bb84c5ecfd85d74a1004f40af" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list<<a class="el" href="classSchema_1_1Attribute.html">Attribute</a>> <a class="el" href="classSchema_1_1SchemaParser.html#ab9d30d5bb84c5ecfd85d74a1004f40af">Schema::SchemaParser::AttributeList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00051">51</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="a978682184fe54dc2259e4f2077d6277f"></a><!-- doxytag: member="Schema::SchemaParser::GroupList" ref="a978682184fe54dc2259e4f2077d6277f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list<<a class="el" href="classSchema_1_1Group.html">Group</a>> <a class="el" href="classSchema_1_1SchemaParser.html#a978682184fe54dc2259e4f2077d6277f">Schema::SchemaParser::GroupList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00052">52</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="ac60d413c1563aa04ad89c47b9ff1ce4a"></a><!-- doxytag: member="Schema::SchemaParser::AttributeGroupList" ref="ac60d413c1563aa04ad89c47b9ff1ce4a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list<<a class="el" href="classSchema_1_1AttributeGroup.html">AttributeGroup</a>*> <a class="el" href="classSchema_1_1SchemaParser.html#ac60d413c1563aa04ad89c47b9ff1ce4a">Schema::SchemaParser::AttributeGroupList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00053">53</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="af3d52b77a5c66faf810852b3f18b373b"></a><!-- doxytag: member="Schema::SchemaParser::ConstraintList" ref="af3d52b77a5c66faf810852b3f18b373b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list<<a class="el" href="classSchema_1_1Constraint.html">Constraint</a>*> <a class="el" href="classSchema_1_1SchemaParser.html#af3d52b77a5c66faf810852b3f18b373b">Schema::SchemaParser::ConstraintList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00054">54</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="af92a6d8f83dac20b51d119c616a0ca46"></a><!-- doxytag: member="Schema::SchemaParser::QNameList" ref="af92a6d8f83dac20b51d119c616a0ca46" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list<<a class="el" href="classQname.html">Qname</a>> <a class="el" href="classSchema_1_1SchemaParser.html#af92a6d8f83dac20b51d119c616a0ca46">Schema::SchemaParser::QNameList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00055">55</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="aa9cfc4267725f56a45a283e1fa5968dc"></a><!-- doxytag: member="Schema::SchemaParser::ConstTypeList" ref="aa9cfc4267725f56a45a283e1fa5968dc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::list< const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> *> <a class="el" href="classSchema_1_1SchemaParser.html#aa9cfc4267725f56a45a283e1fa5968dc">Schema::SchemaParser::ConstTypeList</a></td> </tr> </table> </div> <div class="memdoc"> <p>typedefs </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00056">56</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a1c3f89d88098fdaee9705dd2b599819e"></a><!-- doxytag: member="Schema::SchemaParser::SchemaParser" ref="a1c3f89d88098fdaee9705dd2b599819e" args="(const std::string &Uri, std::string tns="", std::ostream &log=std::cout, const std::string &confPath="")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Schema::SchemaParser::SchemaParser </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>Uri</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::string </td> <td class="paramname"> <em>tns</em> = <code>""</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>log</em> = <code>std::cout</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>confPath</em> = <code>""</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>The constructor for <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>the</em> </td><td>URI schema definition file. </td></tr> <tr><td valign="top"></td><td valign="top"><em>target</em> </td><td>namespace </td></tr> <tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>stream for any error outputs </td></tr> <tr><td valign="top"></td><td valign="top"><em>confPath</em> </td><td>The path where schema files for soap and other namespaces are located. This is required only if you have stored them other than src/schemas on windows. On *nix it is almost never required if you install using the make install </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l00049">49</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="XmlPullParser_8h_source.html#l00128">XmlPullParser::END_DOCUMENT</a>, <a class="el" href="XmlPullParser_8h_source.html#l00040">FEATURE_PROCESS_NAMESPACES</a>, <a class="el" href="XmlUtils_8cpp_source.html#l00108">XmlUtils::fetchUri()</a>, <a class="el" href="XmlPullParser_8h_source.html#l00105">XmlPullParser::getEventType()</a>, <a class="el" href="XmlPullParser_8h_source.html#l00079">XmlPullParser::getName()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01191">XmlPullParser::nextTag()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01207">XmlPullParser::require()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01238">XmlPullParser::setFeature()</a>, <a class="el" href="XmlPullParser_8h_source.html#l00127">XmlPullParser::START_DOCUMENT</a>, and <a class="el" href="XmlPullParser_8h_source.html#l00129">XmlPullParser::START_TAG</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l02044">addImport()</a>.</p> </div> </div> <a class="anchor" id="ac0e2c65eebd75fb3a5f36dc884fa6083"></a><!-- doxytag: member="Schema::SchemaParser::SchemaParser" ref="ac0e2c65eebd75fb3a5f36dc884fa6083" args="(XmlPullParser *parser, std::string tns="", std::ostream &log=std::cout, const std::string &confPath="")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Schema::SchemaParser::SchemaParser </td> <td>(</td> <td class="paramtype"><a class="el" href="classXmlPullParser.html">XmlPullParser</a> * </td> <td class="paramname"> <em>parser</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::string </td> <td class="paramname"> <em>tns</em> = <code>""</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>log</em> = <code>std::cout</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>confPath</em> = <code>""</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>The constructor for <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classXmlPullParser.html">XmlPullParser</a></em> </td><td>instance for the schema definition file. </td></tr> <tr><td valign="top"></td><td valign="top"><em>target</em> </td><td>namespace </td></tr> <tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>stream for any error outputs </td></tr> <tr><td valign="top"></td><td valign="top"><em>confPath</em> </td><td>The path where schema files for soap and other namespaces are located. This is required only if you have stored them other than src/schemas on windows. On *nix it is almost never required if you install using the make install </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l00032">32</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> </div> </div> <a class="anchor" id="ab7300dc7ba47dfdab07cd7fccad384e9"></a><!-- doxytag: member="Schema::SchemaParser::~SchemaParser" ref="ab7300dc7ba47dfdab07cd7fccad384e9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Schema::SchemaParser::~SchemaParser </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The constructor for <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>the</em> </td><td>URI schema definition file. </td></tr> <tr><td valign="top"></td><td valign="top"><em>target</em> </td><td>namespace </td></tr> <tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>stream for any error outputs </td></tr> <tr><td valign="top"></td><td valign="top"><em>confPath</em> </td><td>The path where schema files for soap and other namespaces are located. This is required only if you have stored them other than src/schemas on windows. On *nix it is almost never required if you install using the make install </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l00122">122</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="TypesTable_8cpp_source.html#l00089">Schema::TypesTable::clean()</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a6f1dddf50bcb4dec24df5334971400c0"></a><!-- doxytag: member="Schema::SchemaParser::parseSchemaTag" ref="a6f1dddf50bcb4dec24df5334971400c0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::parseSchemaTag </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>parseSchemaTag </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if parsing was successful ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l00148">148</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="SchemaParserException_8h_source.html#l00034">Schema::SchemaParserException::col</a>, <a class="el" href="XmlPullParserException_8h_source.html#l00047">XmlPullParserException::col</a>, <a class="el" href="SchemaParserException_8h_source.html#l00033">Schema::SchemaParserException::description</a>, <a class="el" href="XmlPullParserException_8h_source.html#l00045">XmlPullParserException::description</a>, <a class="el" href="XmlPullParser_8h_source.html#l00088">XmlPullParser::getAttributeCount()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01110">XmlPullParser::getAttributeName()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01126">XmlPullParser::getAttributeValue()</a>, <a class="el" href="XmlPullParser_8h_source.html#l00068">XmlPullParser::getColumnNumber()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l00998">XmlPullParser::getDepth()</a>, <a class="el" href="XmlPullParser_8h_source.html#l00105">XmlPullParser::getEventType()</a>, <a class="el" href="XmlPullParser_8h_source.html#l00064">XmlPullParser::getLineNumber()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l00952">XmlPullParser::getNamespaceCount()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l00960">XmlPullParser::getNamespacePrefix()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l00966">XmlPullParser::getNamespaceUri()</a>, <a class="el" href="SchemaParserException_8h_source.html#l00034">Schema::SchemaParserException::line</a>, <a class="el" href="XmlPullParserException_8h_source.html#l00047">XmlPullParserException::line</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01147">XmlPullParser::next()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01191">XmlPullParser::nextTag()</a>, <a class="el" href="XmlPullParser_8cpp_source.html#l01207">XmlPullParser::require()</a>, <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>, <a class="el" href="TypesTable_8h_source.html#l00082">Schema::TypesTable::setTargetNamespace()</a>, and <a class="el" href="XmlPullParser_8h_source.html#l00129">XmlPullParser::START_TAG</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l02044">addImport()</a>, <a class="el" href="schema_8cpp_source.html#l00049">main()</a>, and <a class="el" href="SchemaValidator_8cpp_source.html#l00055">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="a8f4e9997d8d4d84f37e33e425e3185c1"></a><!-- doxytag: member="Schema::SchemaParser::getType" ref="a8f4e9997d8d4d84f37e33e425e3185c1" args="(const Qname &type, bool checkImports=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * Schema::SchemaParser::getType </td> <td>(</td> <td class="paramtype">const <a class="el" href="classQname.html">Qname</a> & </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>checkImports</em> = <code>true</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>getType </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classQname.html">Qname</a></em> </td><td>refering to the type </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the type set this to false to search for types defined in this schema </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01902">1902</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="XSDType_8h_source.html#l00236">Schema::XSDType::getNamespace()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l01613">getTypeId()</a>, and <a class="el" href="TypesTable_8cpp_source.html#l00350">Schema::TypesTable::getTypePtr()</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l01955">getAllTypes()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00094">Schema::TypeContainer::getAttributeContainer()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00202">Schema::TypeContainer::getBaseTypeContainer()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l02110">getBasicContentType()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l01923">getType()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00566">Schema::TypeContainer::getValue()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00506">Schema::TypeContainer::rewind()</a>, <a class="el" href="WsdlInvoker_8cpp_source.html#l00850">WsdlPull::WsdlInvoker::setInputValue()</a>, and <a class="el" href="SchemaValidator_8cpp_source.html#l00055">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="ae544d4d2df1ca02efc42dfa9d5630d6c"></a><!-- doxytag: member="Schema::SchemaParser::getType" ref="ae544d4d2df1ca02efc42dfa9d5630d6c" args="(int id) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * Schema::SchemaParser::getType </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>id</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>the</em> </td><td>types unique id </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the type </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01895">1895</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="TypesTable_8cpp_source.html#l00350">Schema::TypesTable::getTypePtr()</a>.</p> </div> </div> <a class="anchor" id="a64b8d5b094b9387840cd1cbea3f03f46"></a><!-- doxytag: member="Schema::SchemaParser::getType" ref="a64b8d5b094b9387840cd1cbea3f03f46" args="(int id, std::string &nameSpace)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * Schema::SchemaParser::getType </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::string & </td> <td class="paramname"> <em>nameSpace</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>the</em> </td><td>types unique id </td></tr> <tr><td valign="top"></td><td valign="top"><em>the</em> </td><td>namespace of the type </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the type </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01923">1923</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="SchemaParser_8cpp_source.html#l01937">getImportedSchema()</a>, and <a class="el" href="SchemaParser_8cpp_source.html#l01902">getType()</a>.</p> </div> </div> <a class="anchor" id="a8504fe37fc887f27480dd36e8deeef99"></a><!-- doxytag: member="Schema::SchemaParser::getAllTypes" ref="a8504fe37fc887f27480dd36e8deeef99" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">list< const <a class="el" href="classSchema_1_1XSDType.html">XSDType</a> * > * Schema::SchemaParser::getAllTypes </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>a std::list of all types defined in the schema including anonymous types caller *MUST* free the std::list but not the std::list members </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01955">1955</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="SchemaParser_8cpp_source.html#l01968">getNumTypes()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l01902">getType()</a>, and <a class="el" href="Schema_8h_source.html#l00089">Schema::XSD_ANYURI</a>.</p> </div> </div> <a class="anchor" id="aa11d8f9bf85870304ab35e387fd486b1"></a><!-- doxytag: member="Schema::SchemaParser::getElement" ref="aa11d8f9bf85870304ab35e387fd486b1" args="(const Qname &element, bool checkImports=true) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1Element.html">Element</a> * Schema::SchemaParser::getElement </td> <td>(</td> <td class="paramtype">const <a class="el" href="classQname.html">Qname</a> & </td> <td class="paramname"> <em>element</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>checkImports</em> = <code>true</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classQname.html">Qname</a></em> </td><td>of the element </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to a globally defined element in the schema set this to false to search for elements defined in this schema </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01757">1757</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="Qname_8h_source.html#l00076">Qname::getLocalName()</a>, <a class="el" href="Qname_8h_source.html#l00090">Qname::getNamespace()</a>, and <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>.</p> <p>Referenced by <a class="el" href="Soap_8cpp_source.html#l00147">WsdlPull::Soap::handleElement()</a>, <a class="el" href="Soap_8cpp_source.html#l00464">WsdlPull::Soap::isSoapBody()</a>, <a class="el" href="Soap_8cpp_source.html#l00481">WsdlPull::Soap::isSoapHeader()</a>, and <a class="el" href="schema_8cpp_source.html#l00049">main()</a>.</p> </div> </div> <a class="anchor" id="ad10c155ac19fb7bb0e0317514ab6ce39"></a><!-- doxytag: member="Schema::SchemaParser::getElements" ref="ad10c155ac19fb7bb0e0317514ab6ce39" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1SchemaParser.html#aa0507b6296ea5ee7b6db52fc2f18fdfb">SchemaParser::ElementList</a> & Schema::SchemaParser::getElements </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>returns the std::list of all the global elements in the schema </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>void</em> </td><td></td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>std::list<Element> </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00403">403</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> <p>Referenced by <a class="el" href="schema_8cpp_source.html#l00049">main()</a>.</p> </div> </div> <a class="anchor" id="aad15ce5731f98126124b35ee2b982d40"></a><!-- doxytag: member="Schema::SchemaParser::getNumElements" ref="aad15ce5731f98126124b35ee2b982d40" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Schema::SchemaParser::getNumElements </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>number of globally defined elements in the schema </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01975">1975</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> </div> </div> <a class="anchor" id="a47bd98ca4024da64894ed46ade0f9554"></a><!-- doxytag: member="Schema::SchemaParser::getAttribute" ref="a47bd98ca4024da64894ed46ade0f9554" args="(const Qname &attribute)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSchema_1_1Attribute.html">Attribute</a> * Schema::SchemaParser::getAttribute </td> <td>(</td> <td class="paramtype">const <a class="el" href="classQname.html">Qname</a> & </td> <td class="paramname"> <em>attribute</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>getAttribute </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classQname.html">Qname</a></em> </td><td>of the attribute </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to a globally defined attribute in the schema </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01791">1791</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="Qname_8h_source.html#l00076">Qname::getLocalName()</a>, <a class="el" href="Qname_8h_source.html#l00090">Qname::getNamespace()</a>, and <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>.</p> </div> </div> <a class="anchor" id="a8baebb1b8c5eccea424e41f5a0e9c4b6"></a><!-- doxytag: member="Schema::SchemaParser::getAttributes" ref="a8baebb1b8c5eccea424e41f5a0e9c4b6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1SchemaParser.html#ab9d30d5bb84c5ecfd85d74a1004f40af">SchemaParser::AttributeList</a> & Schema::SchemaParser::getAttributes </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>returns a std::list of global attributes in the schema </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>void</em> </td><td></td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>std::list<Attribute> </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00410">410</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="a03737b95f34a4b8a48fbb4f55ed7cfd2"></a><!-- doxytag: member="Schema::SchemaParser::getNumAttributes" ref="a03737b95f34a4b8a48fbb4f55ed7cfd2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Schema::SchemaParser::getNumAttributes </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>number of globally defined attributes in the schema </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01982">1982</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> </div> </div> <a class="anchor" id="a64e1a1534e45266a717fd1c52cbb337c"></a><!-- doxytag: member="Schema::SchemaParser::getNamespace" ref="a64e1a1534e45266a717fd1c52cbb337c" args="(void) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Schema::SchemaParser::getNamespace </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>target namespace of the schema document </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01888">1888</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l02002">addImport()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l01989">addImports()</a>, <a class="el" href="SchemaValidator_8cpp_source.html#l00894">Schema::SchemaValidator::instance()</a>, <a class="el" href="schema_8cpp_source.html#l00049">main()</a>, and <a class="el" href="SchemaValidator_8cpp_source.html#l00055">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="a648f733fd3b058ffb82b8d25359abae6"></a><!-- doxytag: member="Schema::SchemaParser::getNumTypes" ref="a648f733fd3b058ffb82b8d25359abae6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Schema::SchemaParser::getNumTypes </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>number of types defined in the schema (includes anonymous types) </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01968">1968</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="TypesTable_8h_source.html#l00077">Schema::TypesTable::getNumTypes()</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l01955">getAllTypes()</a>.</p> </div> </div> <a class="anchor" id="ad8f407de76f38f1fa24c844faf9ca611"></a><!-- doxytag: member="Schema::SchemaParser::getTypeId" ref="ad8f407de76f38f1fa24c844faf9ca611" args="(const Qname &, bool create=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Schema::SchemaParser::getTypeId </td> <td>(</td> <td class="paramtype">const <a class="el" href="classQname.html">Qname</a> & </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>create</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>getTypeId :Search for a type ,if not present create one,checks in imported types as well </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classQname.html">Qname</a></em> </td><td>of the type </td></tr> <tr><td valign="top"></td><td valign="top"><em>bool:create</em> </td><td></td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>type id </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01613">1613</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="TypesTable_8cpp_source.html#l00196">Schema::TypesTable::addExternalTypeId()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l02044">addImport()</a>, <a class="el" href="Qname_8h_source.html#l00090">Qname::getNamespace()</a>, <a class="el" href="TypesTable_8cpp_source.html#l00151">Schema::TypesTable::getTypeId()</a>, <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>, and <a class="el" href="Schema_8h_source.html#l00061">Schema::XSD_INVALID</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l01902">getType()</a>, and <a class="el" href="schema_8cpp_source.html#l00049">main()</a>.</p> </div> </div> <a class="anchor" id="adea72dec2bf6296659459642d4291b86"></a><!-- doxytag: member="Schema::SchemaParser::isBasicType" ref="adea72dec2bf6296659459642d4291b86" args="(int sType) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::isBasicType </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>sType</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>isBasicType </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>unique</em> </td><td>type identifier </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if its a basic schema type false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01595">1595</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="Schema_8h_source.html#l00089">Schema::XSD_ANYURI</a>, and <a class="el" href="Schema_8h_source.html#l00061">Schema::XSD_INVALID</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l02143">getTypeName()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00566">Schema::TypeContainer::getValue()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00506">Schema::TypeContainer::rewind()</a>, and <a class="el" href="SchemaValidator_8cpp_source.html#l00055">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="a9ae0bb284b527910e9c5a7373ebb2b24"></a><!-- doxytag: member="Schema::SchemaParser::getBasicContentType" ref="a9ae0bb284b527910e9c5a7373ebb2b24" args="(int typeId) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Schema::SchemaParser::getBasicContentType </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>typeId</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>getBasicContentType</p> <p>If the type has a simple content model then this method returns the basic schema type which defines its contents For example calling on a type like below would return Schema::STRING</p> <p><xsd:complexType> <xsd:simpleContent> <xsd:extension base = "xsd:std::string"> <xsd:attribute name = "lang" type = "xsd:std::string"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType></p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>unique</em> </td><td>type identifier </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>type id of the basic type from which this type is derived or if the typeId is one of the atomic types,the same value is returned If the typeId is a complex type <a class="el" href="namespaceSchema.html#acbe1398d097409fb3c2f948fa876711da0c01ff4fc47f2f6e148f3bc01aee7caf">Schema::XSD_INVALID</a> is returned </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l02110">2110</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="XSDType_8h_source.html#l00164">Schema::XSDType::getContentModel()</a>, <a class="el" href="ComplexType_8h_source.html#l00104">Schema::ComplexType::getContentType()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l01902">getType()</a>, <a class="el" href="classSchema_1_1XSDType.html#a6f87708ce2ba5f5ec7a7b3f5e7e0007b">Schema::XSDType::isSimple()</a>, <a class="el" href="Schema_8h_source.html#l00046">Schema::Simple</a>, and <a class="el" href="Schema_8h_source.html#l00061">Schema::XSD_INVALID</a>.</p> <p>Referenced by <a class="el" href="TypeContainer_8cpp_source.html#l00255">Schema::TypeContainer::getValue()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00340">Schema::TypeContainer::print()</a>, <a class="el" href="TypeContainer_8cpp_source.html#l00506">Schema::TypeContainer::rewind()</a>, and <a class="el" href="SchemaValidator_8cpp_source.html#l00491">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="a0ebc5538bb373dd99c04b3485462acfa"></a><!-- doxytag: member="Schema::SchemaParser::getGroup" ref="a0ebc5538bb373dd99c04b3485462acfa" args="(const Qname &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSchema_1_1Group.html">Group</a> * Schema::SchemaParser::getGroup </td> <td>(</td> <td class="paramtype">const <a class="el" href="classQname.html">Qname</a> & </td> <td class="paramname"> <em>name</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>getGroup </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>unique</em> </td><td>type identifier </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Group* </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01822">1822</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="Qname_8h_source.html#l00076">Qname::getLocalName()</a>, <a class="el" href="Qname_8h_source.html#l00090">Qname::getNamespace()</a>, and <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>.</p> </div> </div> <a class="anchor" id="af7b03dfae9c493636019f1851a57e6f5"></a><!-- doxytag: member="Schema::SchemaParser::getAttributeGroup" ref="af7b03dfae9c493636019f1851a57e6f5" args="(const Qname &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSchema_1_1AttributeGroup.html">AttributeGroup</a> * Schema::SchemaParser::getAttributeGroup </td> <td>(</td> <td class="paramtype">const <a class="el" href="classQname.html">Qname</a> & </td> <td class="paramname"> <em>name</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>getAttributeGroup </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>unique</em> </td><td>type identifier </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>AttributeGroup* </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01855">1855</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="Qname_8h_source.html#l00076">Qname::getLocalName()</a>, <a class="el" href="Qname_8h_source.html#l00090">Qname::getNamespace()</a>, and <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>.</p> </div> </div> <a class="anchor" id="a17245eefe108e357a5ded372a5edcb07"></a><!-- doxytag: member="Schema::SchemaParser::isImported" ref="a17245eefe108e357a5ded372a5edcb07" args="(const std::string &ns) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::isImported </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>ns</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>isImported true if the schema parser imports a namespace </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00423">423</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> <p>Referenced by <a class="el" href="SchemaValidator_8cpp_source.html#l00055">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="a07fe7c99618de89ad703a9a7872f68e6"></a><!-- doxytag: member="Schema::SchemaParser::getImportedSchemaParser" ref="a07fe7c99618de89ad703a9a7872f68e6" args="(const std::string &ns) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * Schema::SchemaParser::getImportedSchemaParser </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>ns</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>isImported true if the schema parser imports a namespace </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00429">429</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> <p>Referenced by <a class="el" href="SchemaValidator_8cpp_source.html#l00055">Schema::SchemaValidator::validate()</a>.</p> </div> </div> <a class="anchor" id="af01538823b660050028b2b52071f031f"></a><!-- doxytag: member="Schema::SchemaParser::addImport" ref="af01538823b660050028b2b52071f031f" args="(std::string ns, std::string location="")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::addImport </td> <td>(</td> <td class="paramtype">std::string </td> <td class="paramname"> <em>ns</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::string </td> <td class="paramname"> <em>location</em> = <code>""</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>addImport .Instructs the schema parser to import a namespace </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>namespace</em> </td><td>of the schema </td></tr> <tr><td valign="top"></td><td valign="top"><em>(optional)schemaLocation</em> </td><td>.If this is not passed ,schema file is not processed but any refernces to the namespace are not flagged as errors </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the schema was succesfully imported.If location is not passed always returns true </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l02044">2044</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="XmlUtils_8cpp_source.html#l00108">XmlUtils::fetchUri()</a>, <a class="el" href="SchemaParser_8h_source.html#l00061">Schema::SchemaParser::ImportedSchema::ns</a>, <a class="el" href="SchemaParser_8cpp_source.html#l00148">parseSchemaTag()</a>, <a class="el" href="SchemaParser_8cpp_source.html#l00049">SchemaParser()</a>, <a class="el" href="SchemaParser_8h_source.html#l00447">setUri()</a>, and <a class="el" href="SchemaParser_8h_source.html#l00060">Schema::SchemaParser::ImportedSchema::sParser</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l01989">addImports()</a>, and <a class="el" href="SchemaParser_8cpp_source.html#l01613">getTypeId()</a>.</p> </div> </div> <a class="anchor" id="a845bb71f97cba857e34d0c69d696ca02"></a><!-- doxytag: member="Schema::SchemaParser::addImport" ref="a845bb71f97cba857e34d0c69d696ca02" args="(SchemaParser *sp)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::addImport </td> <td>(</td> <td class="paramtype"><a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * </td> <td class="paramname"> <em>sp</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>addImport . imports the namespace of the schemaparser </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a></em> </td><td>instance which has parsed the namespace </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the schema was succesfully imported . </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l02002">2002</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="SchemaParser_8cpp_source.html#l01888">getNamespace()</a>, <a class="el" href="SchemaParser_8h_source.html#l00061">Schema::SchemaParser::ImportedSchema::ns</a>, and <a class="el" href="SchemaParser_8h_source.html#l00060">Schema::SchemaParser::ImportedSchema::sParser</a>.</p> </div> </div> <a class="anchor" id="a3c1cd49cbd366366b4127a7d64252a2d"></a><!-- doxytag: member="Schema::SchemaParser::addImports" ref="a3c1cd49cbd366366b4127a7d64252a2d" args="(const std::vector< SchemaParser * > &schemaParsers)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::addImports </td> <td>(</td> <td class="paramtype">const std::vector< <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * > & </td> <td class="paramname"> <em>schemaParsers</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>isImported true if the schema parser imports a namespace </p> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01989">1989</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="SchemaParser_8cpp_source.html#l02044">addImport()</a>, and <a class="el" href="SchemaParser_8cpp_source.html#l01888">getNamespace()</a>.</p> </div> </div> <a class="anchor" id="a14b7afa532833ecace14459384ec6a74"></a><!-- doxytag: member="Schema::SchemaParser::finalize" ref="a14b7afa532833ecace14459384ec6a74" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::finalize </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01661">1661</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="TypesTable_8cpp_source.html#l00215">Schema::TypesTable::addExtType()</a>, <a class="el" href="TypesTable_8cpp_source.html#l00299">Schema::TypesTable::detectUndefinedTypes()</a>, <a class="el" href="TypesTable_8h_source.html#l00059">Schema::TypesTable::getExtRefName()</a>, <a class="el" href="TypesTable_8h_source.html#l00063">Schema::TypesTable::getExtRefType()</a>, <a class="el" href="Qname_8h_source.html#l00090">Qname::getNamespace()</a>, <a class="el" href="TypesTable_8h_source.html#l00055">Schema::TypesTable::getNumExtRefs()</a>, and <a class="el" href="TypesTable_8cpp_source.html#l00339">Schema::TypesTable::printUndefinedTypes()</a>.</p> </div> </div> <a class="anchor" id="a1531ba77bcf32659cd36e684d59b595e"></a><!-- doxytag: member="Schema::SchemaParser::setWarningLevel" ref="a1531ba77bcf32659cd36e684d59b595e" args="(int l)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Schema::SchemaParser::setWarningLevel </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>l</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>setWarningLevel default is 0 . 1 is wanrning level 2 is information level //quite verbose </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00417">417</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> <p>Referenced by <a class="el" href="schema_8cpp_source.html#l00049">main()</a>.</p> </div> </div> <a class="anchor" id="a5d4c050e16d32aa7a8e87cdb9c27cec2"></a><!-- doxytag: member="Schema::SchemaParser::setSchemaPath" ref="a5d4c050e16d32aa7a8e87cdb9c27cec2" args="(const std::string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Schema::SchemaParser::setSchemaPath </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>s</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00440">440</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="a3b34d1a790d25778b56df0bf07a01a30"></a><!-- doxytag: member="Schema::SchemaParser::setUri" ref="a3b34d1a790d25778b56df0bf07a01a30" args="(const std::string &u)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Schema::SchemaParser::setUri </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>u</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00447">447</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l02044">addImport()</a>.</p> </div> </div> <a class="anchor" id="aa92a73e7ae4a81583348e682e7f54f96"></a><!-- doxytag: member="Schema::SchemaParser::getTypeName" ref="aa92a73e7ae4a81583348e682e7f54f96" args="(Schema::Type t) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Schema::SchemaParser::getTypeName </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceSchema.html#acbe1398d097409fb3c2f948fa876711d">Schema::Type</a> </td> <td class="paramname"> <em>t</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classSchema_1_1SchemaParser.html#aa92a73e7ae4a81583348e682e7f54f96">getTypeName()</a> return the type name given the id </p> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l02143">2143</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="TypesTable_8cpp_source.html#l00073">Schema::TypesTable::getAtomicTypeName()</a>, <a class="el" href="XSDType_8h_source.html#l00148">Schema::XSDType::getName()</a>, <a class="el" href="TypesTable_8cpp_source.html#l00350">Schema::TypesTable::getTypePtr()</a>, and <a class="el" href="SchemaParser_8cpp_source.html#l01595">isBasicType()</a>.</p> </div> </div> <a class="anchor" id="a0f0b628df4b57ea70aca855667721728"></a><!-- doxytag: member="Schema::SchemaParser::getTypesTable" ref="a0f0b628df4b57ea70aca855667721728" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classSchema_1_1TypesTable.html">TypesTable</a> * Schema::SchemaParser::getTypesTable </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00454">454</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="a7075e1bb5d4454c04fbdd0fadcc5f828"></a><!-- doxytag: member="Schema::SchemaParser::getImportedSchema" ref="a7075e1bb5d4454c04fbdd0fadcc5f828" args="(std::string &nameSpace)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSchema_1_1SchemaParser.html">SchemaParser</a> * Schema::SchemaParser::getImportedSchema </td> <td>(</td> <td class="paramtype">std::string & </td> <td class="paramname"> <em>nameSpace</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8cpp_source.html#l01937">1937</a> of file <a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a>.</p> <p>References <a class="el" href="Schema_8h_source.html#l00092">Schema::SchemaUri</a>.</p> <p>Referenced by <a class="el" href="SchemaParser_8cpp_source.html#l01923">getType()</a>.</p> </div> </div> <a class="anchor" id="a81e5d138a603a6615d1d286d0250133a"></a><!-- doxytag: member="Schema::SchemaParser::getImportedSchemas" ref="a81e5d138a603a6615d1d286d0250133a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector< <a class="el" href="structSchema_1_1SchemaParser_1_1ImportedSchema.html">SchemaParser::ImportedSchema</a> > & Schema::SchemaParser::getImportedSchemas </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00461">461</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="ab901517ca3153da17e9035f7a5cfc03f"></a><!-- doxytag: member="Schema::SchemaParser::getVersion" ref="ab901517ca3153da17e9035f7a5cfc03f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Schema::SchemaParser::getVersion </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classSchema_1_1SchemaParser.html#ab901517ca3153da17e9035f7a5cfc03f">getVersion()</a> return the schema version </p> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00468">468</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="accc806bd739b3ec9633987d4f745d894"></a><!-- doxytag: member="Schema::SchemaParser::getElementQualified" ref="accc806bd739b3ec9633987d4f745d894" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Schema::SchemaParser::getElementQualified </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00475">475</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <a class="anchor" id="a260a1b30b14d47228a6d809c83876390"></a><!-- doxytag: member="Schema::SchemaParser::getTnsPrefix" ref="a260a1b30b14d47228a6d809c83876390" args="(void) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Schema::SchemaParser::getTnsPrefix </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>finalize : tries to match unresolved types and references with imported schemas you *must* call this to ensure successful type resolution </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if all type references are resolved ,false otherwise </dd></dl> <p>Definition at line <a class="el" href="SchemaParser_8h_source.html#l00483">483</a> of file <a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>/builddir/build/BUILD/wsdlpull-1.23/src/schemaparser/<a class="el" href="SchemaParser_8h_source.html">SchemaParser.h</a></li> <li>/builddir/build/BUILD/wsdlpull-1.23/src/schemaparser/<a class="el" href="SchemaParser_8cpp_source.html">SchemaParser.cpp</a></li> </ul> </div> <!--- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>