1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023
|
<!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::SaxParser 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_1SaxParser.html">SaxParser</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classxmlpp_1_1SaxParser-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xmlpp::SaxParser Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>SAX XML parser.
<a href="classxmlpp_1_1SaxParser.html#details">More...</a></p>
<p><code>#include <libxml++/parsers/saxparser.h></code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::SaxParser:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1SaxParser__inherit__graph.png" border="0" usemap="#xmlpp_1_1SaxParser_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1SaxParser_inherit__map" id="xmlpp_1_1SaxParser_inherit__map">
<area shape="rect" id="node2" href="classxmlpp_1_1Parser.html" title="XML parser. " alt="" coords="28,80,137,107"/><area shape="rect" id="node3" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="5,5,160,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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Simple structure used in the start_element callback, in which the attributes are a list of name/value pairs. <a href="structxmlpp_1_1SaxParser_1_1Attribute.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html">AttributeHasName</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01659.html#gaaf6e9995ebbd27994d7c73b375f86088">std::find_if</a>. <a href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a1cb4e32dd3adf2460f2836bddb59633c"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00458.html">std::deque</a>< <a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">AttributeList</a></td></tr>
<tr class="separator:a1cb4e32dd3adf2460f2836bddb59633c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_types_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a8e7c797006bb5398629cf98f4141e3e6 inherit pub_types_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">typedef unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a></td></tr>
<tr class="separator:a8e7c797006bb5398629cf98f4141e3e6 inherit pub_types_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a66bfaafc79c00197010f8d22b2a39df8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a66bfaafc79c00197010f8d22b2a39df8">SaxParser</a> (bool use_get_entity=false)</td></tr>
<tr class="separator:a66bfaafc79c00197010f8d22b2a39df8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adeee772a4c78c253ca8657f54c8e79c0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#adeee772a4c78c253ca8657f54c8e79c0">~SaxParser</a> () override</td></tr>
<tr class="separator:adeee772a4c78c253ca8657f54c8e79c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac540859149b064cfce87931ba736f3c5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ac540859149b064cfce87931ba736f3c5">finish_chunk_parsing</a> ()</td></tr>
<tr class="memdesc:ac540859149b064cfce87931ba736f3c5"><td class="mdescLeft"> </td><td class="mdescRight">Finish a chunk-wise parse. <a href="#ac540859149b064cfce87931ba736f3c5">More...</a><br /></td></tr>
<tr class="separator:ac540859149b064cfce87931ba736f3c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24b4440b0539a0015890182b35396b5d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a24b4440b0539a0015890182b35396b5d">parse_chunk</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& chunk)</td></tr>
<tr class="memdesc:a24b4440b0539a0015890182b35396b5d"><td class="mdescLeft"> </td><td class="mdescRight">Parse a chunk of data. <a href="#a24b4440b0539a0015890182b35396b5d">More...</a><br /></td></tr>
<tr class="separator:a24b4440b0539a0015890182b35396b5d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a501a19205773ac1c843d6007b189860e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a501a19205773ac1c843d6007b189860e">parse_chunk_raw</a> (const unsigned char* contents, <a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> bytes_count)</td></tr>
<tr class="memdesc:a501a19205773ac1c843d6007b189860e"><td class="mdescLeft"> </td><td class="mdescRight">Parse a chunk of data. <a href="#a501a19205773ac1c843d6007b189860e">More...</a><br /></td></tr>
<tr class="separator:a501a19205773ac1c843d6007b189860e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74e03337f83175847e06d8b45e1df4b0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a74e03337f83175847e06d8b45e1df4b0">parse_file</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& filename) override</td></tr>
<tr class="memdesc:a74e03337f83175847e06d8b45e1df4b0"><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document from a file. <a href="#a74e03337f83175847e06d8b45e1df4b0">More...</a><br /></td></tr>
<tr class="separator:a74e03337f83175847e06d8b45e1df4b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29d5fb621b39dd7b5cdd0300d606d50f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a29d5fb621b39dd7b5cdd0300d606d50f">parse_memory</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& contents) override</td></tr>
<tr class="memdesc:a29d5fb621b39dd7b5cdd0300d606d50f"><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document from a string. <a href="#a29d5fb621b39dd7b5cdd0300d606d50f">More...</a><br /></td></tr>
<tr class="separator:a29d5fb621b39dd7b5cdd0300d606d50f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff9643a2764f6d8caee0307abbfcca25"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#aff9643a2764f6d8caee0307abbfcca25">parse_memory_raw</a> (const unsigned char* contents, <a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> bytes_count)</td></tr>
<tr class="memdesc:aff9643a2764f6d8caee0307abbfcca25"><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document from raw memory. <a href="#aff9643a2764f6d8caee0307abbfcca25">More...</a><br /></td></tr>
<tr class="separator:aff9643a2764f6d8caee0307abbfcca25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abbf17aa73c77ae9eb29da7dede2847c7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#abbf17aa73c77ae9eb29da7dede2847c7">parse_stream</a> (<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01647.html#ga9a51d9b711a836df9c086f3a5e30b8b2">std::istream</a>& in) override</td></tr>
<tr class="memdesc:abbf17aa73c77ae9eb29da7dede2847c7"><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document from a stream. <a href="#abbf17aa73c77ae9eb29da7dede2847c7">More...</a><br /></td></tr>
<tr class="separator:abbf17aa73c77ae9eb29da7dede2847c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:ab2990f22147cb2163eda6e773fb2eb68 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ab2990f22147cb2163eda6e773fb2eb68">Parser</a> ()</td></tr>
<tr class="separator:ab2990f22147cb2163eda6e773fb2eb68 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ac083cc800cc7699e7b5ad0be160218 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7ac083cc800cc7699e7b5ad0be160218">~Parser</a> () override</td></tr>
<tr class="separator:a7ac083cc800cc7699e7b5ad0be160218 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a150d49ac4336d910b757ae6fb2cc4b5c">get_include_default_attributes</a> ()</td></tr>
<tr class="memdesc:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a0ae64d2d6f28728786040ba8c8b694a4" title="Set whether default attribute values from the DTD shall be included in the node tree. ">set_include_default_attributes()</a>. <a href="#a150d49ac4336d910b757ae6fb2cc4b5c">More...</a><br /></td></tr>
<tr class="separator:a150d49ac4336d910b757ae6fb2cc4b5c inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a4340563d4dc26a4cfe79f9854a5e91a7">get_parser_options</a> (int& set_options, int& clear_options)</td></tr>
<tr class="memdesc:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#aeab62a7446a6bb460cec3ea3951d12d6" title="Set and/or clear parser option flags. ">set_parser_options()</a>. <a href="#a4340563d4dc26a4cfe79f9854a5e91a7">More...</a><br /></td></tr>
<tr class="separator:a4340563d4dc26a4cfe79f9854a5e91a7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ae71762868b009ccae8f00c1d34df00e7">get_substitute_entities</a> () const </td></tr>
<tr class="memdesc:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a960e9ee12df9b631c694ca002932cf7f" title="Set whether the parser will automatically substitute entity references with the text of the entities'...">set_substitute_entities()</a>. <a href="#ae71762868b009ccae8f00c1d34df00e7">More...</a><br /></td></tr>
<tr class="separator:ae71762868b009ccae8f00c1d34df00e7 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad9e5523ffa19aa3e76761a0d46040efb">get_throw_messages</a> () const </td></tr>
<tr class="memdesc:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a3d491c0479b11e5766849956cd4b4538" title="Set whether the parser will collect and throw error and warning messages. ">set_throw_messages()</a>. <a href="#ad9e5523ffa19aa3e76761a0d46040efb">More...</a><br /></td></tr>
<tr class="separator:ad9e5523ffa19aa3e76761a0d46040efb inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7329d0daf70030bef41b92e6ed22bd63">get_validate</a> () const </td></tr>
<tr class="memdesc:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#a39332721610231ca8c5114e245121cc1" title="By default, the parser will not validate the XML file. ">set_validate()</a>. <a href="#a7329d0daf70030bef41b92e6ed22bd63">More...</a><br /></td></tr>
<tr class="separator:a7329d0daf70030bef41b92e6ed22bd63 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a0ae64d2d6f28728786040ba8c8b694a4">set_include_default_attributes</a> (bool val=true)</td></tr>
<tr class="memdesc:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">Set whether default attribute values from the DTD shall be included in the node tree. <a href="#a0ae64d2d6f28728786040ba8c8b694a4">More...</a><br /></td></tr>
<tr class="separator:a0ae64d2d6f28728786040ba8c8b694a4 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aeab62a7446a6bb460cec3ea3951d12d6">set_parser_options</a> (int set_options=0, int clear_options=0)</td></tr>
<tr class="memdesc:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">Set and/or clear parser option flags. <a href="#aeab62a7446a6bb460cec3ea3951d12d6">More...</a><br /></td></tr>
<tr class="separator:aeab62a7446a6bb460cec3ea3951d12d6 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a960e9ee12df9b631c694ca002932cf7f">set_substitute_entities</a> (bool val=true)</td></tr>
<tr class="memdesc:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">Set whether the parser will automatically substitute entity references with the text of the entities' definitions. <a href="#a960e9ee12df9b631c694ca002932cf7f">More...</a><br /></td></tr>
<tr class="separator:a960e9ee12df9b631c694ca002932cf7f inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a3d491c0479b11e5766849956cd4b4538">set_throw_messages</a> (bool val=true)</td></tr>
<tr class="memdesc:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">Set whether the parser will collect and throw error and warning messages. <a href="#a3d491c0479b11e5766849956cd4b4538">More...</a><br /></td></tr>
<tr class="separator:a3d491c0479b11e5766849956cd4b4538 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a39332721610231ca8c5114e245121cc1">set_validate</a> (bool val=true)</td></tr>
<tr class="memdesc:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="mdescLeft"> </td><td class="mdescRight">By default, the parser will not validate the XML file. <a href="#a39332721610231ca8c5114e245121cc1">More...</a><br /></td></tr>
<tr class="separator:a39332721610231ca8c5114e245121cc1 inherit pub_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af6671ab7dbda78730a65dcbb58aa0ec1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#af6671ab7dbda78730a65dcbb58aa0ec1">on_cdata_block</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
<tr class="separator:af6671ab7dbda78730a65dcbb58aa0ec1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a359b48ea1c15cb39837f680a1f2fb2c2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a359b48ea1c15cb39837f680a1f2fb2c2">on_characters</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& characters)</td></tr>
<tr class="separator:a359b48ea1c15cb39837f680a1f2fb2c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acccf558fc47549bdad076201193739f3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#acccf558fc47549bdad076201193739f3">on_comment</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
<tr class="separator:acccf558fc47549bdad076201193739f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7b3090025892829af91f8c51a06ef7b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#aa7b3090025892829af91f8c51a06ef7b">on_end_document</a> ()</td></tr>
<tr class="separator:aa7b3090025892829af91f8c51a06ef7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c1c00b47c020e3cd8d623361c6909fa"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a5c1c00b47c020e3cd8d623361c6909fa">on_end_element</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name)</td></tr>
<tr class="separator:a5c1c00b47c020e3cd8d623361c6909fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0985199cbdbd9a7ab31b024acf3c2c8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ab0985199cbdbd9a7ab31b024acf3c2c8">on_entity_declaration</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name, <a class="el" href="namespacexmlpp.html#a0fa47f0fb103cf9ea460a2fef3f5be49">XmlEntityType</a> <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib_1_1Unicode.html#a042d1c3fdb1a22daf647211210af80c3">type</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& publicId, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& systemId, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& content)</td></tr>
<tr class="memdesc:ab0985199cbdbd9a7ab31b024acf3c2c8"><td class="mdescLeft"> </td><td class="mdescRight">Override this to receive information about every entity declaration. <a href="#ab0985199cbdbd9a7ab31b024acf3c2c8">More...</a><br /></td></tr>
<tr class="separator:ab0985199cbdbd9a7ab31b024acf3c2c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38c3c5f9bad26030acee20d7ddf4936a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a38c3c5f9bad26030acee20d7ddf4936a">on_error</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
<tr class="separator:a38c3c5f9bad26030acee20d7ddf4936a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad951cc2b1fe314805c5d735a0d7f467c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ad951cc2b1fe314805c5d735a0d7f467c">on_fatal_error</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
<tr class="separator:ad951cc2b1fe314805c5d735a0d7f467c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb20c4424f325655ebd787c2b2268137"><td class="memItemLeft" align="right" valign="top">virtual _xmlEntity* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137">on_get_entity</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name)</td></tr>
<tr class="memdesc:aeb20c4424f325655ebd787c2b2268137"><td class="mdescLeft"> </td><td class="mdescRight">Override this method to resolve entities references in your derived parser, instead of using the default entity resolution, or to be informed when entity references are encountered. <a href="#aeb20c4424f325655ebd787c2b2268137">More...</a><br /></td></tr>
<tr class="separator:aeb20c4424f325655ebd787c2b2268137"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b453817ac37ea307c2ba023cc938794"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a4b453817ac37ea307c2ba023cc938794">on_internal_subset</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& publicId, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& systemId)</td></tr>
<tr class="memdesc:a4b453817ac37ea307c2ba023cc938794"><td class="mdescLeft"> </td><td class="mdescRight">Override this to receive information about the document's DTD and any entity declarations. <a href="#a4b453817ac37ea307c2ba023cc938794">More...</a><br /></td></tr>
<tr class="separator:a4b453817ac37ea307c2ba023cc938794"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a33932c84e245284414003f668b829f"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a0a33932c84e245284414003f668b829f">on_start_document</a> ()</td></tr>
<tr class="separator:a0a33932c84e245284414003f668b829f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1496022dd6b58d9af6a4a7a703830a84"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a1496022dd6b58d9af6a4a7a703830a84">on_start_element</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name, const <a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">AttributeList</a>& attributes)</td></tr>
<tr class="separator:a1496022dd6b58d9af6a4a7a703830a84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab951160501bf3e78901691a79e3d11e8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#ab951160501bf3e78901691a79e3d11e8">on_warning</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr>
<tr class="separator:ab951160501bf3e78901691a79e3d11e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a605b572e51939279e83c6949d02355e1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SaxParser.html#a605b572e51939279e83c6949d02355e1">release_underlying</a> () override</td></tr>
<tr class="separator:a605b572e51939279e83c6949d02355e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a9daba11c6746d91153329a9dbd8decc5 inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a9daba11c6746d91153329a9dbd8decc5">check_for_exception</a> ()</td></tr>
<tr class="separator:a9daba11c6746d91153329a9dbd8decc5 inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad45390ab3d30d1dea26001f2d6a9a2f inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aad45390ab3d30d1dea26001f2d6a9a2f">check_for_validity_messages</a> ()</td></tr>
<tr class="separator:aad45390ab3d30d1dea26001f2d6a9a2f inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a860e1cff3da52a4bbb0b17a06475399f inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a860e1cff3da52a4bbb0b17a06475399f">handleException</a> (const <a class="el" href="classxmlpp_1_1exception.html">exception</a>& e)</td></tr>
<tr class="separator:a860e1cff3da52a4bbb0b17a06475399f inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a25f92d0a820d96accfe316a066bade49 inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a25f92d0a820d96accfe316a066bade49">initialize_context</a> ()</td></tr>
<tr class="separator:a25f92d0a820d96accfe316a066bade49 inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36860900bd7f118adfd7b7887278e4fb inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a36860900bd7f118adfd7b7887278e4fb">on_validity_error</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& message)</td></tr>
<tr class="separator:a36860900bd7f118adfd7b7887278e4fb inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad0876425a0d687f24bc54b44d950ab2c inherit pro_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad0876425a0d687f24bc54b44d950ab2c">on_validity_warning</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& message)</td></tr>
<tr class="separator:ad0876425a0d687f24bc54b44d950ab2c inherit pro_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_types_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/> Protected Types inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b inherit pro_types_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b">MsgType</a> { <br />
  <a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029bae3a15565bbac2bbce269c71578874290">MsgParserError</a>,
<br />
  <a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029ba2699545b0c4313c08db938000a1ff385">MsgParserWarning</a>,
<br />
  <a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029bab5b788bc9b710543d1061be8e8d1ceff">MsgValidityError</a>,
<br />
  <a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029baf56ce30abc58b13a1bd9ee27c085ac70">MsgValidityWarning</a>
<br />
}</td></tr>
<tr class="separator:a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b inherit pro_types_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_static_methods_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a49b79a6ada464e8d1be27a655ee63b48 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a49b79a6ada464e8d1be27a655ee63b48">callback_error_or_warning</a> (<a class="el" href="classxmlpp_1_1Parser.html#a8bfd5ceb1cc0b3b9fd9ff7cf44d1029b">MsgType</a> msg_type, void* ctx, const char* msg, va_list var_args)</td></tr>
<tr class="separator:a49b79a6ada464e8d1be27a655ee63b48 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae5272535b144daaafcdc161e36f1aa33 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ae5272535b144daaafcdc161e36f1aa33">callback_parser_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:ae5272535b144daaafcdc161e36f1aa33 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7dbe69dcd8aa5c7625fa96a9dcdcbad7 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7dbe69dcd8aa5c7625fa96a9dcdcbad7">callback_parser_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a7dbe69dcd8aa5c7625fa96a9dcdcbad7 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ec91483923a6023e7ac56eeaf16b1e3 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7ec91483923a6023e7ac56eeaf16b1e3">callback_validity_error</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:a7ec91483923a6023e7ac56eeaf16b1e3 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa573fc538688db238714cef413944567 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aa573fc538688db238714cef413944567">callback_validity_warning</a> (void* ctx, const char* msg,...)</td></tr>
<tr class="separator:aa573fc538688db238714cef413944567 inherit pro_static_methods_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classxmlpp_1_1Parser"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classxmlpp_1_1Parser')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classxmlpp_1_1Parser.html">xmlpp::Parser</a></td></tr>
<tr class="memitem:a2b49a51f1a8fce897dffcb1e81f87907 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">_xmlParserCtxt* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a2b49a51f1a8fce897dffcb1e81f87907">context_</a></td></tr>
<tr class="separator:a2b49a51f1a8fce897dffcb1e81f87907 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b2a100f91d2ead57de5ef640ebf91a9 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1exception.html">exception</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a7b2a100f91d2ead57de5ef640ebf91a9">exception_</a></td></tr>
<tr class="separator:a7b2a100f91d2ead57de5ef640ebf91a9 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a969bc262133a8310cfbfc097f925c00c inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a969bc262133a8310cfbfc097f925c00c">substitute_entities_</a></td></tr>
<tr class="separator:a969bc262133a8310cfbfc097f925c00c inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d21ddd4fdd34f845937649eb4fb8814 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a2d21ddd4fdd34f845937649eb4fb8814">validate_</a></td></tr>
<tr class="separator:a2d21ddd4fdd34f845937649eb4fb8814 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a367b4132d663f1c1adf1515c4a6e959f inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a367b4132d663f1c1adf1515c4a6e959f">validate_error_</a></td></tr>
<tr class="separator:a367b4132d663f1c1adf1515c4a6e959f inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aac64f7a377ae85c848dbb8008a43f555 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#aac64f7a377ae85c848dbb8008a43f555">validate_warning_</a></td></tr>
<tr class="separator:aac64f7a377ae85c848dbb8008a43f555 inherit pro_attribs_classxmlpp_1_1Parser"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>SAX XML parser. </p>
<p>Derive your own class and override the on_*() methods.</p>
<p>In a system that does not support std::exception_ptr: If an overridden on_*() method throws an exception which is not derived from <a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a>, that exception is replaced by a <a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a> before it is propagated out of the parse method, such as <a class="el" href="classxmlpp_1_1SaxParser.html#a74e03337f83175847e06d8b45e1df4b0" title="Parse an XML document from a file. ">parse_file()</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a1cb4e32dd3adf2460f2836bddb59633c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00458.html">std::deque</a>< <a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> > <a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">xmlpp::SaxParser::AttributeList</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a66bfaafc79c00197010f8d22b2a39df8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xmlpp::SaxParser::SaxParser </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>use_get_entity</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">use_get_entity</td><td>Set this to true if you will override <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a>. In theory, if you do not override <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a> the parser should behave exactly the same whether you use true or false here. But the default implementation of <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a>, needed if you override <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a> might not have the same behaviour as the underlying default behaviour of libxml, so the libxml implementation is the default here. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="adeee772a4c78c253ca8657f54c8e79c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xmlpp::SaxParser::~SaxParser </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="ac540859149b064cfce87931ba736f3c5"></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::SaxParser::finish_chunk_parsing </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finish a chunk-wise parse. </p>
<p>Call this after the last call to <a class="el" href="classxmlpp_1_1SaxParser.html#a24b4440b0539a0015890182b35396b5d" title="Parse a chunk of data. ">parse_chunk()</a>. Don't use this function with the other parsing methods. </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af6671ab7dbda78730a65dcbb58aa0ec1"></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::SaxParser::on_cdata_block </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a359b48ea1c15cb39837f680a1f2fb2c2"></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::SaxParser::on_characters </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>characters</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acccf558fc47549bdad076201193739f3"></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::SaxParser::on_comment </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa7b3090025892829af91f8c51a06ef7b"></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::SaxParser::on_end_document </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5c1c00b47c020e3cd8d623361c6909fa"></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::SaxParser::on_end_element </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab0985199cbdbd9a7ab31b024acf3c2c8"></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::SaxParser::on_entity_declaration </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacexmlpp.html#a0fa47f0fb103cf9ea460a2fef3f5be49">XmlEntityType</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>publicId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>systemId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>content</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this to receive information about every entity declaration. </p>
<p>If you override this function, and you want normal entity substitution to work, then you must call the base class in your override.</p>
<p>This would be useful when overriding <a class="el" href="classxmlpp_1_1SaxParser.html#aeb20c4424f325655ebd787c2b2268137" title="Override this method to resolve entities references in your derived parser, instead of using the defa...">on_get_entity()</a>. </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a38c3c5f9bad26030acee20d7ddf4936a"></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::SaxParser::on_error </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad951cc2b1fe314805c5d735a0d7f467c"></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::SaxParser::on_fatal_error </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<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>
</div>
</div>
<a class="anchor" id="aeb20c4424f325655ebd787c2b2268137"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual _xmlEntity* xmlpp::SaxParser::on_get_entity </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this method to resolve entities references in your derived parser, instead of using the default entity resolution, or to be informed when entity references are encountered. </p>
<p>If you override this function then you must also specify true for use_get_entity constructor parameter. You will probably need to override <a class="el" href="classxmlpp_1_1SaxParser.html#ab0985199cbdbd9a7ab31b024acf3c2c8" title="Override this to receive information about every entity declaration. ">on_entity_declaration()</a> as well so that you can use that information when resolving the entity reference.</p>
<p>This is known to be difficult, because it requires both an understanding of the W3C specifications and knowledge of the libxml internals. Entity resolution is easier with the <a class="el" href="classxmlpp_1_1DomParser.html" title="DOM XML parser. ">DomParser</a>.</p>
<p>Call this method in this base class for default processing. For instance, if you just want to know about the existence of an entity reference, without affecting the normal substitution, just override and call the base class.</p>
<p>Unlike the <a class="el" href="classxmlpp_1_1DomParser.html" title="DOM XML parser. ">DomParser</a>, the <a class="el" href="classxmlpp_1_1SaxParser.html" title="SAX XML parser. ">SaxParser</a> will also tell you about entity references for the 5 predefined entities.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The entity reference name. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The resolved xmlEntity for the entity reference, or <code>nullptr</code> if not found. You must include libxml/parser.h in order to use this C struct. This instance will not be freed by the caller. </dd></dl>
</div>
</div>
<a class="anchor" id="a4b453817ac37ea307c2ba023cc938794"></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::SaxParser::on_internal_subset </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>publicId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>systemId</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this to receive information about the document's DTD and any entity declarations. </p>
</div>
</div>
<a class="anchor" id="a0a33932c84e245284414003f668b829f"></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::SaxParser::on_start_document </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1496022dd6b58d9af6a4a7a703830a84"></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::SaxParser::on_start_element </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classxmlpp_1_1SaxParser.html#a1cb4e32dd3adf2460f2836bddb59633c">AttributeList</a>& </td>
<td class="paramname"><em>attributes</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab951160501bf3e78901691a79e3d11e8"></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::SaxParser::on_warning </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a24b4440b0539a0015890182b35396b5d"></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::SaxParser::parse_chunk </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>chunk</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse a chunk of data. </p>
<p>This lets you pass a document in small chunks, e.g. from a network connection. The on_* virtual functions are called each time the chunks provide enough information to advance the parser.</p>
<p>The first call to parse_chunk will setup the parser. When the last chunk has been parsed, call <a class="el" href="classxmlpp_1_1SaxParser.html#ac540859149b064cfce87931ba736f3c5" title="Finish a chunk-wise parse. ">finish_chunk_parsing()</a> to finish the parse.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">chunk</td><td>The next piece of the XML document. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a501a19205773ac1c843d6007b189860e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void xmlpp::SaxParser::parse_chunk_raw </td>
<td>(</td>
<td class="paramtype">const unsigned char * </td>
<td class="paramname"><em>contents</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> </td>
<td class="paramname"><em>bytes_count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse a chunk of data. </p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000006">Since libxml++ 2.24:</a></b></dt><dd></dd></dl>
<p>This lets you pass a document in small chunks, e.g. from a network connection. The on_* virtual functions are called each time the chunks provide enough information to advance the parser.</p>
<p>The first call to parse_chunk will setup the parser. When the last chunk has been parsed, call <a class="el" href="classxmlpp_1_1SaxParser.html#ac540859149b064cfce87931ba736f3c5" title="Finish a chunk-wise parse. ">finish_chunk_parsing()</a> to finish the parse.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">contents</td><td>The next piece of the XML document as an array of bytes. </td></tr>
<tr><td class="paramname">bytes_count</td><td>The number of bytes in the <em>contents</em> array. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a74e03337f83175847e06d8b45e1df4b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::SaxParser::parse_file </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse an XML document from a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>The path to the file. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#ad0855eff9a35a9160800ad58ad19fd7e">xmlpp::Parser</a>.</p>
</div>
</div>
<a class="anchor" id="a29d5fb621b39dd7b5cdd0300d606d50f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::SaxParser::parse_memory </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse an XML document from a string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">contents</td><td>The XML document 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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#abbbf646035570f1aa5366558dfc2ae01">xmlpp::Parser</a>.</p>
</div>
</div>
<a class="anchor" id="aff9643a2764f6d8caee0307abbfcca25"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void xmlpp::SaxParser::parse_memory_raw </td>
<td>(</td>
<td class="paramtype">const unsigned char * </td>
<td class="paramname"><em>contents</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxmlpp_1_1Parser.html#a8e7c797006bb5398629cf98f4141e3e6">size_type</a> </td>
<td class="paramname"><em>bytes_count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse an XML document from raw memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">contents</td><td>The XML document as an array of bytes. </td></tr>
<tr><td class="paramname">bytes_count</td><td>The number of bytes in the <em>contents</em> array. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abbf17aa73c77ae9eb29da7dede2847c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::SaxParser::parse_stream </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01647.html#ga9a51d9b711a836df9c086f3a5e30b8b2">std::istream</a> & </td>
<td class="paramname"><em>in</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse an XML document from a stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in</td><td>The stream. </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_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
<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>
<tr><td class="paramname"><a class="el" href="classxmlpp_1_1validity__error.html" title="This exception will be thrown when the parser encounters a validity error in the XML document...">xmlpp::validity_error</a></td><td></td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classxmlpp_1_1Parser.html#ad7134b1c68308351785acb0302aa54db">xmlpp::Parser</a>.</p>
</div>
</div>
<a class="anchor" id="a605b572e51939279e83c6949d02355e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void xmlpp::SaxParser::release_underlying </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 class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented from <a class="el" href="classxmlpp_1_1Parser.html#a346ebfb1219e1c0d3acbd017a07706e6">xmlpp::Parser</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>
|