Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
1a4d1f66
Commit
1a4d1f66
authored
Sep 16, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UniXML: make xml2local, local2xml protected
parent
4caa9237
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
UniXML.h
include/UniXML.h
+8
-7
UniXML.cc
src/Various/UniXML.cc
+1
-1
No files found.
include/UniXML.h
View file @
1a4d1f66
...
...
@@ -68,13 +68,6 @@ public:
static
const
std
::
string
xmlEncoding
;
// XML
static
std
::
string
xml2local
(
const
std
::
string
text
);
// XML
// , .
static
const
xmlChar
*
local2xml
(
std
::
string
text
);
static
std
::
string
local2utf8
(
const
std
::
string
text
);
// XML-
void
newDoc
(
const
std
::
string
&
root_node
,
std
::
string
xml_ver
=
"1.0"
);
...
...
@@ -118,6 +111,14 @@ public:
protected
:
// XML
static
std
::
string
xml2local
(
const
std
::
string
text
);
// XML
// , .
static
const
xmlChar
*
local2xml
(
std
::
string
text
);
static
std
::
string
local2utf8
(
const
std
::
string
text
);
static
int
recur
;
};
...
...
src/Various/UniXML.cc
View file @
1a4d1f66
...
...
@@ -500,6 +500,6 @@ int UniXML_iterator::getPIntProp( const string name, int def ) const
// -------------------------------------------------------------------------
void
UniXML_iterator
::
setProp
(
const
string
name
,
const
string
text
)
{
xmlSetProp
(
curNode
,
(
const
xmlChar
*
)
name
.
c_str
(),
UniXML
::
local2xml
(
text
)
);
UniXML
::
setProp
(
curNode
,
name
,
text
);
}
// -------------------------------------------------------------------------
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment