From 63f79babb8677334e5160abbca059b2e37de38be Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Wed, 18 Aug 2021 08:51:45 +0200
Subject: [PATCH] DOC: Documentation for DataType

---
 include/caosdb/data_type.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/caosdb/data_type.h b/include/caosdb/data_type.h
index a7798c4..cd141d6 100644
--- a/include/caosdb/data_type.h
+++ b/include/caosdb/data_type.h
@@ -19,6 +19,12 @@
  *
  */
 
+/**
+ * DataTypes have 2 dimensions: They may be atomic or reference typed, and they may be scalar or
+ * list valued.  If they are atomic, they have an AtomicDataType.  If they are reference typed, the
+ * reference name can be obtained with GetName().
+ */
+
 #ifndef CAOSDB_DATA_TYPE_H
 #define CAOSDB_DATA_TYPE_H
 #include "caosdb/protobuf_helper.h"         // for ProtoMessageWrapper
-- 
GitLab