]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkTranscriptor.cxx
=== MAJOR RELEASE ====
[bbtk.git] / kernel / src / bbtkTranscriptor.cxx
index cc666b79245efd6cbfc18f81cb4e7918e5718632..41ca87d216d812a09825009c9dfd613fce2e5224 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkTranscriptor.cxx,v $ $
   Language:  C++
-  Date:      $Date: 2008/04/08 06:59:30 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2008/04/18 12:59:16 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 
 namespace bbtk
 {
+  Transcriptor::Pointer Transcriptor::New(const std::string& filename)
+  {
+    return MakePointer(new Transcriptor(filename));
+  }
+
 /**
  *
  */
-  Transcriptor::Transcriptor(std::string filename)
+  Transcriptor::Transcriptor(const std::string& filename)
     :
       mNoExecMode(false),
       mDialogMode(NoDialog)
@@ -314,6 +319,44 @@ void Transcriptor::ShowRelations(const std::string &nameblackbox, const std::str
     m_Fp << "  e->UnLoadPackage(\"" <<name<<"\");"<<std::endl;
   }
 
+ //==========================================================================
+  std::string Transcriptor::GetObjectName() const
+  {
+    return std::string("Transcriptor");
+  }
+  //==========================================================================
+  
+  //==========================================================================
+  std::string  Transcriptor::GetObjectInfo() const 
+  {
+    std::stringstream i;
+    return i.str();
+  }
+  //==========================================================================
+
+ //==========================================================================
+size_t  Transcriptor::GetObjectSize() const 
+{
+  size_t s = Superclass::GetObjectSize();
+  s += Transcriptor::GetObjectInternalSize();
+  return s;
+  }
+  //==========================================================================
+  //==========================================================================
+size_t  Transcriptor::GetObjectInternalSize() const 
+{
+  size_t s = sizeof(Transcriptor);
+  return s;
+  }
+  //==========================================================================
+  //==========================================================================
+  size_t  Transcriptor::GetObjectRecursiveSize() const 
+  {
+    size_t s = Superclass::GetObjectRecursiveSize();
+    s += Transcriptor::GetObjectInternalSize();
+    return s;
+  }
+  //==========================================================================
 
 
 }//namespace