#include <vsl_basic_xml_element.h>
|
| | vsl_basic_xml_element (std::string tag) |
| | constructs with a name. More...
|
| |
| | vsl_basic_xml_element (std::string tag, std::vector< std::pair< std::string, std::string > > attrs) |
| | constructs with a name and a list of (attribute,value) pair. More...
|
| |
| | ~vsl_basic_xml_element ()=default |
| |
| void | add_attribute (std::string attr_name, std::string value) |
| | overloaded methods to add attribute values. More...
|
| |
| void | add_attribute (std::string attr_name, double value) |
| |
| void | add_attribute (std::string attr_name, float value) |
| |
| void | add_attribute (std::string attr_name, long value) |
| |
| void | add_attribute (std::string attr_name, int value) |
| |
| void | add_attribute (std::string attr_name, size_t value) |
| |
| void | add_attribute (std::string attr_name, unsigned int value) |
| |
| void | add_attribute_list (std::vector< std::pair< std::string, std::string > > attrs) |
| |
| void | append_cdata (const std::string &cdata) |
| |
| void | append_cdata (double cdata) |
| |
| void | append_cdata (int cdata) |
| |
| void | x_write (std::ostream &ostr) |
| |
| void | x_write_open (std::ostream &ostr) |
| | writes the opening tag for this node to the stream. More...
|
| |
| void | x_write_close (std::ostream &ostr) |
| | writes the closing tag for this node to the stream. More...
|
| |
|
| std::string | tag_ |
| | the node name More...
|
| |
| std::vector< std::pair< std::string, std::string > > | attrs_ |
| | the node attributes More...
|
| |
| std::string | cdata_ |
| | the text() content of this node More...
|
| |
Definition at line 27 of file vsl_basic_xml_element.h.
◆ vsl_basic_xml_element() [1/2]
| vsl_basic_xml_element::vsl_basic_xml_element |
( |
std::string |
tag | ) |
|
|
inline |
◆ vsl_basic_xml_element() [2/2]
| vsl_basic_xml_element::vsl_basic_xml_element |
( |
std::string |
tag, |
|
|
std::vector< std::pair< std::string, std::string > > |
attrs |
|
) |
| |
|
inline |
◆ ~vsl_basic_xml_element()
| vsl_basic_xml_element::~vsl_basic_xml_element |
( |
| ) |
|
|
default |
◆ add_attribute() [1/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
std::string |
value |
|
) |
| |
◆ add_attribute() [2/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
double |
value |
|
) |
| |
◆ add_attribute() [3/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
float |
value |
|
) |
| |
|
inline |
◆ add_attribute() [4/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
long |
value |
|
) |
| |
◆ add_attribute() [5/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ add_attribute() [6/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
size_t |
value |
|
) |
| |
|
inline |
◆ add_attribute() [7/7]
| void vsl_basic_xml_element::add_attribute |
( |
std::string |
attr_name, |
|
|
unsigned int |
value |
|
) |
| |
|
inline |
◆ add_attribute_list()
| void vsl_basic_xml_element::add_attribute_list |
( |
std::vector< std::pair< std::string, std::string > > |
attrs | ) |
|
◆ append_cdata() [1/3]
| void vsl_basic_xml_element::append_cdata |
( |
const std::string & |
cdata | ) |
|
◆ append_cdata() [2/3]
| void vsl_basic_xml_element::append_cdata |
( |
double |
cdata | ) |
|
◆ append_cdata() [3/3]
| void vsl_basic_xml_element::append_cdata |
( |
int |
cdata | ) |
|
◆ x_write()
| void vsl_basic_xml_element::x_write |
( |
std::ostream & |
ostr | ) |
|
◆ x_write_close()
| void vsl_basic_xml_element::x_write_close |
( |
std::ostream & |
ostr | ) |
|
writes the closing tag for this node to the stream.
writes the closing tag to the stream.
Definition at line 85 of file vsl_basic_xml_element.cxx.
◆ x_write_open()
| void vsl_basic_xml_element::x_write_open |
( |
std::ostream & |
ostr | ) |
|
◆ attrs_
| std::vector<std::pair<std::string, std::string> > vsl_basic_xml_element::attrs_ |
|
protected |
◆ cdata_
| std::string vsl_basic_xml_element::cdata_ |
|
protected |
◆ tag_
| std::string vsl_basic_xml_element::tag_ |
|
protected |
The documentation for this class was generated from the following files: