[opengtl-commits] [250] give access to the TypeManager for derivative classes

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


Revision: 250
Author:   cyrille
Date:     2008-06-27 22:33:27 +0200 (Fri, 27 Jun 2008)

Log Message:
-----------
give access to the TypeManager for derivative classes

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp
    trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.h


Modified: trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp	2008-06-27 20:33:04 UTC (rev 249)
+++ trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp	2008-06-27 20:33:27 UTC (rev 250)
@@ -1343,3 +1343,8 @@
 {
   return d->nameSpace;
 }
+
+TypeManager* ParserBase::typeManager()
+{
+  return d->compiler->typeManager();
+}

Modified: trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.h	2008-06-27 20:33:04 UTC (rev 249)
+++ trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.h	2008-06-27 20:33:27 UTC (rev 250)
@@ -35,6 +35,7 @@
   class CompilerBase;
   class LexerBase;
   class Parameter;
+  class TypeManager;
   namespace AST {
     class Tree;
     class Expression;
@@ -155,6 +156,7 @@
       void endContext();
       std::list<int> expressionsListToIntegersList( const std::list< AST::Expression* >& );
       void setNameSpace( const String& nameSpace );
+      TypeManager* typeManager();
     private:
       struct Private;
       Private* const d;


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