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
Merge requests
!9
Draft: API: remove UniqueResult, lower-case at, size for ResultSet
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: API: remove UniqueResult, lower-case at, size for ResultSet
f-remove-unique-result
into
dev
Overview
0
Commits
37
Pipelines
3
Changes
2
Closed
Timm Fitschen
requested to merge
f-remove-unique-result
into
dev
3 years ago
Overview
0
Commits
37
Pipelines
3
Changes
2
Expand
Summary
Remove UniqueResult
At and Size are lower-case now (ResultSet, MultiResultSet)
Edited
3 years ago
by
Timm Fitschen
0
0
Merge request reports
Viewing commit
b89cdad0
Prev
Next
Show latest version
2 files
+
40
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
b89cdad0
ENH: Finish primitive entity setters and getters
· b89cdad0
florian
authored
3 years ago
src/ccaosdb.cpp
+
16
−
1
Options
@@ -437,7 +437,22 @@ ERROR_RETURN_CODE(GENERIC_ERROR,
})
CAOSDB_ENTITY_GET
(
id
,
strcpy
(
out
,
wrapped_entity
->
GetId
().
c_str
());)
CAOSDB_ENTITY_GET
(
role
,
strcpy
(
out
,
wrapped_entity
->
GetRole
().
c_str
());)
CAOSDB_ENTITY_GET
(
name
,
strcpy
(
out
,
wrapped_entity
->
GetName
().
c_str
());)
CAOSDB_ENTITY_GET
(
description
,
strcpy
(
out
,
wrapped_entity
->
GetDescription
().
c_str
());)
CAOSDB_ENTITY_GET
(
datatype
,
strcpy
(
out
,
wrapped_entity
->
GetDatatype
().
c_str
());)
CAOSDB_ENTITY_GET
(
value
,
strcpy
(
out
,
wrapped_entity
->
GetValue
().
c_str
());)
CAOSDB_ENTITY_GET
(
unit
,
strcpy
(
out
,
wrapped_entity
->
GetUnit
().
c_str
());)
CAOSDB_ENTITY_GET
(
version_id
,
strcpy
(
out
,
wrapped_entity
->
GetVersionId
().
c_str
());)
CAOSDB_ENTITY_SET
(
role
,
role
,
wrapped_entity
->
SetRole
(
std
::
string
(
role
));)
CAOSDB_ENTITY_SET
(
name
,
name
,
wrapped_entity
->
SetName
(
std
::
string
(
name
));)
CAOSDB_ENTITY_SET
(
description
,
description
,
wrapped_entity
->
SetDescription
(
std
::
string
(
description
));)
CAOSDB_ENTITY_SET
(
datatype
,
datatype
,
wrapped_entity
->
SetDatatype
(
std
::
string
(
datatype
));)
CAOSDB_ENTITY_SET
(
unit
,
unit
,
wrapped_entity
->
SetUnit
(
std
::
string
(
unit
));)
CAOSDB_ENTITY_SET
(
value
,
value
,
wrapped_entity
->
SetValue
(
std
::
string
(
value
));)
}
Loading