PandA-2024.02
|
#include <xml_att_decl_node.hpp>
Public Member Functions | |
xml_att_decl_node (const std::string &_name) | |
constructor More... | |
void | print (std::ostream &os, bool, simple_indent *) const override |
Print the class. More... | |
Public Member Functions inherited from xml_node | |
xml_node (const std::string &_name) | |
constructor More... | |
virtual | ~xml_node ()=default |
destructor More... | |
std::string | get_name () const |
Get the name of this node. More... | |
void | set_name (const std::string &_name) |
Set the name of this node. More... | |
int | get_line () const |
Discover at what line number this node occurs in the XML file. More... | |
void | set_line (int _line) |
Set the line this node occurs in the XML file. More... | |
Public Member Functions inherited from attribute_sequence | |
void | print_attributes (std::ostream &os) const |
Print the class. More... | |
xml_attribute * | set_attribute (const std::string &name, const std::string &value) |
Set the value of the attribute with this name, and optionally with this namespace. More... | |
xml_attribute * | get_attribute (const std::string &name) const |
Obtain the attribute with this name. More... | |
attribute_list | get_attributes () |
Remove the attribute with this name. More... | |
const attribute_list & | get_attributes () const |
Obtain the list of attributes for this element. More... | |
bool | has_attributes () const |
Additional Inherited Members | |
Public Types inherited from xml_node | |
using | node_list = std::list< xml_nodeRef > |
type for list of xml nodes More... | |
Public Types inherited from attribute_sequence | |
using | attribute_list = std::list< xml_attribute * > |
Static Public Member Functions inherited from xml_node | |
static void | convert_unescaped (std::string &ioString) |
Convert unescaped characters. More... | |
static void | convert_escaped (std::string &ioString) |
Convert escaped characters. More... | |
Definition at line 53 of file xml_att_decl_node.hpp.
|
inlineexplicit |
constructor
Definition at line 56 of file xml_att_decl_node.hpp.
|
inlineoverridevirtual |
Print the class.
os | is the stream. |
formatted | when true the xml is formatted in human readable way. |
pp | is the pretty print helper. |
Implements xml_node.
Definition at line 66 of file xml_att_decl_node.hpp.
References xml_node::get_name(), attribute_sequence::has_attributes(), and attribute_sequence::print_attributes().