From 8f27e65bddd7d4b8515ce620fb485fdd78fcdf89 Mon Sep 17 00:00:00 2001 From: Constantin Jucovschi Date: Fri, 24 Apr 2009 07:20:22 -0400 Subject: Initial commit --- rasdl/test/basictypes.dl | 157 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 rasdl/test/basictypes.dl (limited to 'rasdl/test/basictypes.dl') diff --git a/rasdl/test/basictypes.dl b/rasdl/test/basictypes.dl new file mode 100644 index 0000000..60c9123 --- /dev/null +++ b/rasdl/test/basictypes.dl @@ -0,0 +1,157 @@ +/* +* This file is part of rasdaman community. +* +* Rasdaman community is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* Rasdaman community is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with rasdaman community. If not, see . +* +* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann / +rasdaman GmbH. +* +* For more information please see +* or contact Peter Baumann via . +*/ +// --------------------------------------------------------------------- +// +// +// PURPOSE: +// This file contains type definitions to challenge the rasdl utilit. +// Rasdl needs to read them and react appropriately. Reports are done +// to stdout. +// +// +// COMMENTS: +// ./. +// +// +// --------------------------------------------------------------------- + + +// --- good defs ------------------------------------------------------- +// --- bad defs -------------------------------------------------------- + + + +// example 1 +typedef marray GreyImage; +typedef set GreySet; + +// example 2 +typedef marray BoolImage; +typedef set BoolSet; + +// example 3 +struct RGBPixel { char red, green, blue; }; +typedef marray RGBImage; +typedef set RGBSet; + +// example 4 +typedef marray ULongImage; +typedef set ULongSet; + +// example 5 +typedef marray GreyCube; +typedef set GreySet3; + + +// heavily expanded types (Andreas) +typedef marray BoolString; +typedef set BoolSet1; + +typedef marray BoolCube; +typedef set BoolSet3; + +typedef marray GreyString; +typedef set GreySet1; + +typedef marray OctetString; +typedef set OctetSet1; + +typedef marray OctetImage; +typedef set OctetSet; + +typedef marray OctetCube; +typedef set OctetSet3; + +typedef marray ShortString; +typedef set ShortSet1; + +typedef marray ShortImage; +typedef set ShortSet; + +typedef marray ShortCube; +typedef set ShortSet3; + +typedef marray UShortString; +typedef set UShortSet1; + +typedef marray UShortImage; +typedef set UShortSet; + +typedef marray UShortCube; +typedef set UShortSet3; + +typedef marray LongString; +typedef set LongSet1; + +typedef marray LongImage; +typedef set LongSet; + +typedef marray LongCube; +typedef set LongSet3; + +typedef marray ULongString; +typedef set ULongSet1; + +typedef marray ULongCube; +typedef set ULongSet3; + +typedef marray RGBString; +typedef set RGBSet1; + +typedef marray RGBCube; +typedef set RGBSet3; + +typedef marray FloatString; +typedef set FloatSet1; + +typedef marray FloatImage; +typedef set FloatSet; + +typedef marray FloatCube; +typedef set FloatSet3; + +typedef marray FloatCube4; +typedef set FloatSet4; + +typedef marray DoubleString; +typedef set DoubleSet1; + +typedef marray DoubleImage; +typedef set DoubleSet; + +typedef marray DoubleCube; +typedef set DoubleSet3; + +typedef marray Gauss1; +typedef set GaussSet1; + +typedef marray Gauss2; +typedef set GaussSet2; + +typedef marray Gauss1Image; +typedef set Gauss1Set; + +typedef marray Gauss2Image; +typedef set Gauss2Set; + +// --- end ----------------------------------------------------------- -- cgit