[opengtl-commits] [760] return the string name for template tokens

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 760
Author:   cyrille
Date:     2009-05-30 12:38:24 +0200 (Sat, 30 May 2009)

Log Message:
-----------
return the string name for template tokens

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp


Modified: trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2009-05-30 10:37:56 UTC (rev 759)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Token_p.cpp	2009-05-30 10:38:24 UTC (rev 760)
@@ -197,6 +197,26 @@
       return "false";
     case DEPENDENT:
       return "dependent";
+    case ALLCHANNELS:
+      return "@allchannels";
+    case COLORCHANNELS:
+      return "@colorchannels";
+    case ALPHACHANNEL:
+      return "@alphachannel";
+    case ALPHA:
+      return "@alpha";
+    case TYPE:
+      return "@type";
+    case MIN:
+      return "@min";
+    case MAX:
+      return "@max";
+    case OPERATION:
+      return "@operation";
+    case UNIT:
+      return "@unit";
+    case VAR:
+      return "@var";
     default:
       return "[TODO] " + GTLCore::String::number( type );
   }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/