aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/xml-document-decl.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/xml/document/xml-document-decl.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml/document/xml-document-decl.h')
-rw-r--r--library/cpp/xml/document/xml-document-decl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/xml/document/xml-document-decl.h b/library/cpp/xml/document/xml-document-decl.h
index bfda1fb7e6..b481d8164c 100644
--- a/library/cpp/xml/document/xml-document-decl.h
+++ b/library/cpp/xml/document/xml-document-decl.h
@@ -2,7 +2,7 @@
#include <library/cpp/string_utils/ztstrbuf/ztstrbuf.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/vector.h>
#include <util/stream/output.h>
#include <util/stream/str.h>
@@ -32,7 +32,7 @@ namespace NXml {
* @param src: source type: File | String | RootName
* throws if file not found or cannot be parsed
*/
- TDocument(const TString& source, Source type = File);
+ TDocument(const TString& source, Source type = File);
public:
TDocument(const TDocument& that) = delete;
@@ -71,7 +71,7 @@ namespace NXml {
}
private:
- void ParseFile(const TString& file);
+ void ParseFile(const TString& file);
void ParseString(TZtStringBuf xml);
TDocument(TDocHolder doc)
@@ -83,10 +83,10 @@ namespace NXml {
};
struct TNamespaceForXPath {
- TString Prefix;
- TString Url;
+ TString Prefix;
+ TString Url;
};
- typedef TVector<TNamespaceForXPath> TNamespacesForXPath;
+ typedef TVector<TNamespaceForXPath> TNamespacesForXPath;
class TConstNodes {
private:
@@ -411,12 +411,12 @@ namespace NXml {
/**
* get node name
*/
- TString Name() const;
+ TString Name() const;
/**
* get node xpath
*/
- TString Path() const;
+ TString Path() const;
/**
* get node xml representation
@@ -662,7 +662,7 @@ namespace NXml {
/**
* get node name
*/
- TString Name() const {
+ TString Name() const {
return ActualNode.Name();
}