| FEAT 3
    Finite Element Analysis Toolbox | 
Dummy XML markup parser class. More...
#include <xml_scanner.hpp>
 
  
| Public Member Functions | |
| virtual bool | attribs (std::map< String, bool > &) const override | 
| Specifies the mandatory and optional attributes.  More... | |
| virtual void | close (int, const String &) override | 
| Closes this markup parser node.  More... | |
| virtual bool | content (int, const String &) override | 
| Called to process a content line.  More... | |
| virtual void | create (int, const String &, const String &, const std::map< String, String > &, bool) override | 
| Creates this markup parser node.  More... | |
| virtual std::shared_ptr< MarkupParser > | markup (int, const String &, const String &) override | 
| Called to process a child markup node.  More... | |
Dummy XML markup parser class.
This class implements the MarkupParser interface an implements a "dummy" parser which accepts all kinds of markups and content, but does not do anything with it - think of it as /dev/null
This class may be somewhat useful for development purposes.
Definition at line 258 of file xml_scanner.hpp.
| 
 | explicit | 
Definition at line 14 of file xml_scanner.cpp.
| 
 | overridevirtual | 
Specifies the mandatory and optional attributes.
| [out] | attrs | A transient reference to a map of all supported attribute key names. The second component specifies whether the attribute is mandatory ( true) or optional (false). | 
true, if the scanner should check for valid arguments, otherwise false. Implements FEAT::Xml::MarkupParser.
Definition at line 18 of file xml_scanner.cpp.
| 
 | overridevirtual | 
Closes this markup parser node.
| [in] | iline | The line number of the markup terminator in the XML file. | 
| [in] | sline | The line string of the markup in the XML file. | 
Implements FEAT::Xml::MarkupParser.
Definition at line 27 of file xml_scanner.cpp.
| 
 | overridevirtual | 
Called to process a content line.
This function is called by the XML scanner when a content line inside this markup parser node is detected.
| [in] | iline | The line number of the content line in the XML file. | 
| [in] | sline | The line string of the content line in the XML file. | 
true, if the content line was parsed successfully, otherwise false.false will cause the scanner to throw a Xml::GammarError. Implements FEAT::Xml::MarkupParser.
Definition at line 37 of file xml_scanner.cpp.
| 
 | overridevirtual | 
Creates this markup parser node.
| [in] | iline | The line number of the markup in the XML file. | 
| [in] | sline | The line string of the markup in the XML file. | 
| [in] | name | The name of the markup. | 
| [in] | attrs | A transient reference to a map of all attributes of the markup. | 
| [in] | closed | Specifies whether the markup is closed. | 
Implements FEAT::Xml::MarkupParser.
Definition at line 23 of file xml_scanner.cpp.
| 
 | overridevirtual | 
Called to process a child markup node.
This function is called by the XML scanner when a child markup inside this markup parser node is detected.
| [in] | iline | The line number of the child markup in the XML file. | 
| [in] | sline | The line string of the child markup in the XML file. | 
| [in] | name | The markup name of the child markup. | 
nullptr if a child markup with this name is not supported.nullptr will cause the scanner to throw a Xml::GammarError. Implements FEAT::Xml::MarkupParser.
Definition at line 31 of file xml_scanner.cpp.