Skip to content
Snippets Groups Projects

ENH: Add retrieval and queries to Extern C interface

Merged Florian Spreckelsen requested to merge f-extended-c into f-files
2 unresolved threads
1 file
+ 0
16
Compare changes
  • Side-by-side
  • Inline
+ 0
16
@@ -33,11 +33,6 @@ using caosdb::utility::get_arena;
Messages::~Messages() = default;
// auto Messages::Append(const Message & [>message<]) -> void {
// CAOSDB_LOG_WARN(logger_name)
//<< "The Messages container does not implement the Append function.";
//}
Parent::Parent() : wrapped(Parent::CreateProtoParent()) {
// TODO(fspreck) Re-enable once we have decided how to attach
// messages to parents.
@@ -68,17 +63,6 @@ auto Parent::SetId(const std::string &id) -> void { this->wrapped->set_id(id); }
return this->wrapped->description();
}
// auto Parents::Append(const Parent &parent) -> void {
// auto *destination = this->wrapped->Add();
// destination->Swap(parent.wrapped);
//// Clear the originally wrapped object and return it to the Arena
// parent.wrapped->Clear();
//// set the pointer to the new object which is owned by the RepeatedPtrField
// parent.wrapped = destination;
//}
Property::Property() : wrapped(Property::CreateProtoProperty()) {}
auto Property::CreateProtoProperty() -> ProtoProperty * {
Loading