Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cpplib
Commits
aeccddd2
Commit
aeccddd2
authored
3 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Add missing SetDescription
parent
d02a5592
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!12
F consolidation
,
!9
Draft: API: remove UniqueResult, lower-case at, size for ResultSet
,
!8
ENH: Add retrieval and queries to Extern C interface
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/caosdb/entity.h
+1
-1
1 addition, 1 deletion
include/caosdb/entity.h
src/caosdb/entity.cpp
+4
-0
4 additions, 0 deletions
src/caosdb/entity.cpp
with
5 additions
and
1 deletion
include/caosdb/entity.h
+
1
−
1
View file @
aeccddd2
...
@@ -442,7 +442,7 @@ public:
...
@@ -442,7 +442,7 @@ public:
auto
SetRole
(
const
std
::
string
&
role
)
->
void
;
auto
SetRole
(
const
std
::
string
&
role
)
->
void
;
auto
SetName
(
const
std
::
string
&
name
)
->
void
;
auto
SetName
(
const
std
::
string
&
name
)
->
void
;
auto
SetDescription
(
const
std
::
string
&
description
)
->
void
;
auto
SetValue
(
const
std
::
string
&
value
)
->
void
;
auto
SetValue
(
const
std
::
string
&
value
)
->
void
;
auto
SetUnit
(
const
std
::
string
&
unit
)
->
void
;
auto
SetUnit
(
const
std
::
string
&
unit
)
->
void
;
// Currently no references or lists.
// Currently no references or lists.
...
...
This diff is collapsed.
Click to expand it.
src/caosdb/entity.cpp
+
4
−
0
View file @
aeccddd2
...
@@ -189,6 +189,10 @@ auto Entity::SetName(const std::string &name) -> void {
...
@@ -189,6 +189,10 @@ auto Entity::SetName(const std::string &name) -> void {
this
->
wrapped
->
set_name
(
name
);
this
->
wrapped
->
set_name
(
name
);
}
}
auto
Entity
::
SetDescription
(
const
std
::
string
&
description
)
->
void
{
this
->
wrapped
->
set_description
(
description
);
}
auto
Entity
::
SetValue
(
const
std
::
string
&
value
)
->
void
{
auto
Entity
::
SetValue
(
const
std
::
string
&
value
)
->
void
{
this
->
wrapped
->
set_value
(
value
);
this
->
wrapped
->
set_value
(
value
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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