]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkTranscriptor.cxx
NTU: Finally Saving Images
[bbtk.git] / kernel / src / bbtkTranscriptor.cxx
index fb047d94b5f2d741b00a7a6bd12d9430c8174fcd..9f73066f63de092df64f7ab711d4399837e2851f 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkTranscriptor.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:14 $
-  Version:   $Revision: 1.14 $
+  Date:      $Date: 2009/06/08 14:50:04 $
+  Version:   $Revision: 1.17 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -62,7 +62,7 @@ namespace bbtk
       mDialogMode(NoDialog)
   {
     //VirtualExec();    
-    bbtkDebugMessageInc("Kernel",9,"Transcriptor::Transcriptor()" <<std::endl);
+    bbtkDebugMessageInc("kernel",9,"Transcriptor()" <<std::endl);
  
      //std::ofstream *m_Fp = new std::ofstream();
     m_Fp.open (filename.c_str(), std::ios::out );
@@ -102,7 +102,7 @@ namespace bbtk
     m_Fp << "  bbtk::Executer *e = new bbtk::Executer();"   << std::endl;
 #endif 
     */
-    bbtkDebugDecTab("Kernel",9);
+    bbtkDebugDecTab("kernel",9);
  }
 
 /**
@@ -111,7 +111,7 @@ namespace bbtk
   Transcriptor::~Transcriptor()
   {
   
-    bbtkDebugMessageInc("Kernel",9,"Transcriptor::~Transcriptor()" <<std::endl);
+    bbtkDebugMessageInc("kernel",9,"~Transcriptor()" <<std::endl);
     /*
 #ifdef _USE_WXWIDGETS_
     m_Fp << "  }"<<std::endl;
@@ -129,7 +129,7 @@ namespace bbtk
     m_Fp << "}"   << std::endl;
     m_Fp.close();
 
-    bbtkDebugDecTab("Kernel",9);
+    bbtkDebugDecTab("kernel",9);
   }
   
 
@@ -138,6 +138,11 @@ namespace bbtk
      m_Fp << "  e->Reset( );" << std::endl;
   }
 
+  void Transcriptor::Clear()
+  {
+     m_Fp << "  e->Clear( );" << std::endl;
+  }
+
   void Transcriptor::SetWorkspaceName( const std::string& name )
   {
   
@@ -264,7 +269,7 @@ namespace bbtk
   }
 
   /// prints the list of the boxes of the current descriptor
-  void Transcriptor::PrintBoxes()
+  void Transcriptor::PrintHelpListBoxes()
   {
      m_Fp << "  e->PrintBoxes( );" << std::endl;
  }
@@ -296,7 +301,7 @@ namespace bbtk
   
   }
 
-void Transcriptor::ShowRelations(const std::string &nameblackbox, const std::string &detailStr, const std::string &levelStr)
+void Transcriptor::PrintHelpBlackBox(const std::string &nameblackbox, const std::string &detailStr, const std::string &levelStr)
   {
      
   }