mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-21 11:00:49 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
34 lines
550 B
C++
34 lines
550 B
C++
|
|
// auto inserted precompiled begin
|
|
#include "precompiled_xml.h"
|
|
// auto inserted precompiled end
|
|
|
|
#include "XWStringSource.h"
|
|
#include "Exception\not_implement.h"
|
|
|
|
|
|
namespace XML
|
|
{
|
|
namespace Private
|
|
{
|
|
|
|
XWStringSource::XWStringSource(const std::wstring& source)
|
|
: m_stream(source)
|
|
, XWideSource(XWideSource::estStringSource)
|
|
{
|
|
setBegin();
|
|
}
|
|
|
|
|
|
XWStringSource::~XWStringSource()
|
|
{
|
|
}
|
|
|
|
|
|
void XWStringSource::setBegin()
|
|
{
|
|
m_iterator = m_stream;
|
|
}
|
|
|
|
} // namespace Private
|
|
} // namespace XML
|