mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-13 20:23:37 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
86 lines
1.2 KiB
C++
86 lines
1.2 KiB
C++
|
|
// auto inserted precompiled begin
|
|
#include "precompiled_xml.h"
|
|
// auto inserted precompiled end
|
|
|
|
#include "XNode.h"
|
|
#include "XText.h"
|
|
#include "XComment.h"
|
|
#include "XElement.h"
|
|
#include "XContainer.h"
|
|
|
|
|
|
namespace XML
|
|
{
|
|
|
|
XNode::XNode()
|
|
{
|
|
}
|
|
|
|
|
|
XNode::XNode(const XText& text)
|
|
: base(text)
|
|
{
|
|
}
|
|
|
|
|
|
XNode::XNode(const XElement& element)
|
|
: base(element)
|
|
{
|
|
}
|
|
|
|
|
|
XNode::XNode(const XComment& comment)
|
|
: base(comment)
|
|
{
|
|
}
|
|
|
|
|
|
XNode::XNode(const XContainer& container)
|
|
: base(container)
|
|
{
|
|
}
|
|
|
|
|
|
const bool XNode::isElement() const
|
|
{
|
|
return m_ptr->isElement();
|
|
}
|
|
|
|
|
|
const bool XNode::isText() const
|
|
{
|
|
return m_ptr->isText();
|
|
}
|
|
|
|
|
|
const bool XNode::isComment() const
|
|
{
|
|
return m_ptr->isComment();
|
|
}
|
|
|
|
|
|
const std::string XNode::ToString() const
|
|
{
|
|
return m_ptr->ToString();
|
|
}
|
|
|
|
|
|
const std::wstring XNode::ToWString() const
|
|
{
|
|
return m_ptr->ToWString();
|
|
}
|
|
|
|
|
|
void XNode::SaveToStringList(std::list<std::string>& strList)const
|
|
{
|
|
m_ptr->SaveToStringList(strList);
|
|
}
|
|
|
|
|
|
void XNode::SaveToWStringList(std::list<std::wstring>& strList)const
|
|
{
|
|
m_ptr->SaveToWStringList(strList);
|
|
}
|
|
|
|
} // namespace XML
|