[opengtl-commits] [758] add a test file for templates |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 758
Author: cyrille
Date: 2009-05-30 12:25:45 +0200 (Sat, 30 May 2009)
Log Message:
-----------
add a test file for templates
Modified Paths:
--------------
trunk/OpenGTL/OpenCTL/tests/CMakeLists.txt
Added Paths:
-----------
trunk/OpenGTL/OpenCTL/tests/templates/
trunk/OpenGTL/OpenCTL/tests/templates/CMakeLists.txt
trunk/OpenGTL/OpenCTL/tests/templates/operation.ctlt
Modified: trunk/OpenGTL/OpenCTL/tests/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenCTL/tests/CMakeLists.txt 2009-05-30 10:25:14 UTC (rev 757)
+++ trunk/OpenGTL/OpenCTL/tests/CMakeLists.txt 2009-05-30 10:25:45 UTC (rev 758)
@@ -6,3 +6,4 @@
add_subdirectory(statements)
add_subdirectory(misc)
add_subdirectory(complextypes)
+add_subdirectory(templates)
Added: trunk/OpenGTL/OpenCTL/tests/templates/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenCTL/tests/templates/CMakeLists.txt (rev 0)
+++ trunk/OpenGTL/OpenCTL/tests/templates/CMakeLists.txt 2009-05-30 10:25:45 UTC (rev 758)
@@ -0,0 +1 @@
+
Added: trunk/OpenGTL/OpenCTL/tests/templates/operation.ctlt
===================================================================
--- trunk/OpenGTL/OpenCTL/tests/templates/operation.ctlt (rev 0)
+++ trunk/OpenGTL/OpenCTL/tests/templates/operation.ctlt 2009-05-30 10:25:45 UTC (rev 758)
@@ -0,0 +1,5 @@
+{
+@allchannels( @type @var(interm) = @in * 0.5;
+) @colorchannels(@out = @var(interm) + 2;
+) @alphachannel(@out = @var(interm) - 2; )
+}
\ No newline at end of file