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:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/xml/document/xml-document-decl.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 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 b481d8164c..bfda1fb7e6 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();
}