Base: add method XMLReader::isStartOfDocument()

This commit is contained in:
wmayer
2023-10-12 18:41:47 +02:00
committed by wwmayer
parent 4f1fcbd03b
commit aa5bea4e2e
3 changed files with 16 additions and 6 deletions

View File

@@ -253,6 +253,11 @@ bool Base::XMLReader::isEndOfElement() const
return (ReadType == EndElement);
}
bool Base::XMLReader::isStartOfDocument() const
{
return (ReadType == StartDocument);
}
bool Base::XMLReader::isEndOfDocument() const
{
return (ReadType == EndDocument);