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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cpplib
Commits
19b4f06a
Commit
19b4f06a
authored
3 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
DRAFT: Add todos
parent
a8039a48
No related branches found
No related tags found
1 merge request
!13
ENH: Add datatypes and value classes to Extern C interface
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ccaosdb.h
+11
-7
11 additions, 7 deletions
include/ccaosdb.h
with
11 additions
and
7 deletions
include/ccaosdb.h
+
11
−
7
View file @
19b4f06a
...
...
@@ -341,7 +341,8 @@ int caosdb_entity_entity_get_description(caosdb_entity_entity *entity,
char
*
out
);
int
caosdb_entity_entity_get_datatype
(
caosdb_entity_entity
*
entity
,
char
*
out
);
int
caosdb_entity_entity_get_unit
(
caosdb_entity_entity
*
entity
,
char
*
out
);
int
caosdb_entity_entity_get_value
(
caosdb_entity_entity
*
entity
,
char
*
out
);
// TODO(fspreck)replace by more specific getters
// int caosdb_entity_entity_get_value(caosdb_entity_entity *entity, char *out);
int
caosdb_entity_entity_get_version_id
(
caosdb_entity_entity
*
entity
,
char
*
out
);
int
caosdb_entity_entity_get_errors_size
(
caosdb_entity_entity
*
entity
,
...
...
@@ -375,8 +376,9 @@ int caosdb_entity_property_get_datatype(caosdb_entity_property *property,
char
*
out
);
int
caosdb_entity_property_get_unit
(
caosdb_entity_property
*
property
,
char
*
out
);
int
caosdb_entity_property_get_value
(
caosdb_entity_property
*
property
,
char
*
out
);
// TODO(fspreck) replace by more specific getter
// int caosdb_entity_property_get_value(caosdb_entity_property *property,
// char *out);
int
caosdb_entity_parent_get_id
(
caosdb_entity_parent
*
parent
,
char
*
out
);
int
caosdb_entity_parent_get_name
(
caosdb_entity_parent
*
parent
,
char
*
out
);
...
...
@@ -406,8 +408,9 @@ int caosdb_entity_entity_set_datatype(caosdb_entity_entity *entity,
const
char
*
datatype
);
int
caosdb_entity_entity_set_unit
(
caosdb_entity_entity
*
entity
,
const
char
*
unit
);
int
caosdb_entity_entity_set_value
(
caosdb_entity_entity
*
entity
,
const
char
*
value
);
// TODO(fspreck) replace by more specific setters
// int caosdb_entity_entity_set_value(caosdb_entity_entity *entity,
// const char *value);
int
caosdb_entity_entity_append_parent
(
caosdb_entity_entity
*
entity
,
caosdb_entity_parent
*
parent
);
int
caosdb_entity_entity_remove_parent
(
caosdb_entity_entity
*
entity
,
int
index
);
...
...
@@ -426,8 +429,9 @@ int caosdb_entity_property_set_importance(caosdb_entity_property *property,
const
char
*
importance
);
int
caosdb_entity_property_set_unit
(
caosdb_entity_property
*
property
,
const
char
*
unit
);
int
caosdb_entity_property_set_value
(
caosdb_entity_property
*
property
,
const
char
*
value
);
// TODO(fspreck) replace by more specific setters
// int caosdb_entity_property_set_value(caosdb_entity_property *property,
// const char *value);
int
caosdb_entity_parent_set_id
(
caosdb_entity_parent
*
parent
,
const
char
*
id
);
int
caosdb_entity_parent_set_name
(
caosdb_entity_parent
*
parent
,
...
...
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