From 7e98f5d063388493423ff73d347a91544bfa75af Mon Sep 17 00:00:00 2001
From: Peter Baumann
Date: Sat, 4 Sep 2010 18:11:50 +0200
Subject: improved inline documentation
---
manuals_and_examples/examples/rasdl/basictypes.dl | 37 +++++++++++------------
1 file changed, 17 insertions(+), 20 deletions(-)
diff --git a/manuals_and_examples/examples/rasdl/basictypes.dl b/manuals_and_examples/examples/rasdl/basictypes.dl
index 60c9123..2578f0e 100644
--- a/manuals_and_examples/examples/rasdl/basictypes.dl
+++ b/manuals_and_examples/examples/rasdl/basictypes.dl
@@ -22,48 +22,45 @@ rasdaman GmbH.
*/
// ---------------------------------------------------------------------
//
-//
// PURPOSE:
-// This file contains type definitions to challenge the rasdl utilit.
-// Rasdl needs to read them and react appropriately. Reports are done
-// to stdout.
+// This file contains rasdaman type definitions. During database creation,
+// these are normally imported through
+// rasdl --read basictypes.dl --insert
+//
+// This is not mandatory, though. The cell base types are available anyway,
+// and if you decide you need other MDD and ollection types than the ones
+// provided here then it is safe to skip importing this file.
//
+// See the Rasql Query Language Guide for an explanation of the syntax.
//
-// COMMENTS:
-// ./.
-//
-//
// ---------------------------------------------------------------------
-// --- good defs -------------------------------------------------------
-// --- bad defs --------------------------------------------------------
-
-
-
-// example 1
+// 2D greyscale image of unlimited spatial extent
typedef marray GreyImage;
typedef set GreySet;
-// example 2
+// 2D binary image of unlimited spatial extent
typedef marray BoolImage;
typedef set BoolSet;
-// example 3
+// 2D RGB image of unlimited spatial extent
struct RGBPixel { char red, green, blue; };
typedef marray RGBImage;
typedef set RGBSet;
-// example 4
+// 2D 32-bit pixel of unlimited spatial extent
typedef marray ULongImage;
typedef set ULongSet;
-// example 5
+//
+// these above may serve as examples of the principle.
+// Below more types which are useful in practice.
+//
+
typedef marray GreyCube;
typedef set GreySet3;
-
-// heavily expanded types (Andreas)
typedef marray BoolString;
typedef set BoolSet1;
--
cgit