Small html cleanup
This commit is contained in:
parent
c102ebb6da
commit
31b479e9f6
27 changed files with 330 additions and 252 deletions
|
@ -1,32 +1,42 @@
|
|||
#include "XmlDocument.h"
|
||||
|
||||
#include "XmlProlog.h"
|
||||
#include "XmlElement.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
XmlDocument::XmlDocument()
|
||||
:mProlog(XmlProlog::Create("xml"))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
XmlDocumentUPtr XmlDocument::Create()
|
||||
XmlDocument::~XmlDocument()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
XmlDocumentPtr XmlDocument::Create()
|
||||
{
|
||||
return std::make_unique<XmlDocument>();
|
||||
}
|
||||
|
||||
void XmlDocument::SetProlog(XmlPrologUPtr prolog)
|
||||
void XmlDocument::setProlog(XmlPrologPtr prolog)
|
||||
{
|
||||
mProlog = std::move(prolog);
|
||||
}
|
||||
|
||||
XmlProlog* XmlDocument::GetProlog() const
|
||||
XmlProlog* XmlDocument::getProlog() const
|
||||
{
|
||||
return mProlog.get();
|
||||
}
|
||||
|
||||
void XmlDocument::SetRoot(XmlElementUPtr root)
|
||||
void XmlDocument::setRoot(XmlElementPtr root)
|
||||
{
|
||||
mRoot = std::move(root);
|
||||
}
|
||||
|
||||
XmlElement* XmlDocument::GetRoot() const
|
||||
XmlElement* XmlDocument::getRoot() const
|
||||
{
|
||||
return mRoot.get();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue