rendered paste body//XmlElement.cpp#include <vector>#include <string>#include <iostream>#include "xmlelem.h"XmlElement::XmlElement() { // TODO Auto-generated constructor stub}std::vector<XmlElement> XmlElement::getChildren() const{ return children;}bool XmlElement::getClosed() const{ return closed;}std::string XmlElement::getName() const{ return name;}std::string XmlElement::getValue() const{ return value;}void XmlElement::setChildren(std::vector<XmlElement> children){ this->children = children;}void XmlElement::setClosed(bool closed){ this->closed = closed;}void XmlElement::setName(std::string name){ this->name = name;}void XmlElement::setValue(std::string value){ this->value = value;}XmlElement::~XmlElement() { // TODO Auto-generated destructor stub}