Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
348e1e4f
Commit
348e1e4f
authored
13 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:wccl
parents
c93442b7
a4f7272d
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libwccl/values/strset.h
+7
-0
7 additions, 0 deletions
libwccl/values/strset.h
swig/strset.i
+6
-0
6 additions, 0 deletions
swig/strset.i
with
13 additions
and
0 deletions
libwccl/values/strset.h
+
7
−
0
View file @
348e1e4f
...
...
@@ -70,6 +70,13 @@ public:
return
set_
;
}
/**
* Wrapper for boost::unordered set
*/
std
::
set
<
UnicodeString
>
to_std_set
()
const
{
return
std
::
set
<
UnicodeString
>
(
this
->
set_
.
begin
(),
this
->
set_
.
end
());
}
void
swap
(
StrSet
&
ss
)
{
ss
.
set_
.
swap
(
set_
);
}
...
...
This diff is collapsed.
Click to expand it.
swig/strset.i
+
6
−
0
View file @
348e1e4f
...
...
@@ -11,9 +11,12 @@
%
include
"
value.i
"
%
include
"
std_string.i
"
%
include
"
std_set.i
"
%
feature
(
"
notabstract
"
)
Wccl
::
StrSet
;
%
template
(
UnicodeStringMap
)
std
::
set
<
UnicodeString
>
;
namespace
Wccl
{
class StrSet : public Value {
public:
...
...
@@ -47,6 +50,9 @@ namespace Wccl {
//
UnicodeString to_raw_string_u() const;
//
std::set<UnicodeString> to_std_set() const;
};
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment