]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdASCII.cxx
cosmetics + change ASCII imput name type->Type
[bbtk.git] / packages / std / src / bbstdASCII.cxx
index 55be1887d73b63bfdb3e7b962de6385524414fdf..c8255290a9032e8407eddfe580ea7298d6f2cba6 100644 (file)
@@ -12,7 +12,7 @@ namespace bbstd
     std::string result("");
     if (bbGetInputIn()!=""){
       
-      if (bbGetInputtype()==0){
+      if (bbGetInputType()==0){
        std::string commandstr(bbGetInputIn());
        bool ok=true;
        int pos1=0,pos2;
@@ -34,9 +34,9 @@ namespace bbstd
            pos1=pos2+1;
            pos2 = commandstr.find(" ",pos2+1);
          } // while
-      } // if type 0
+      } // if Type 0
       
-      if (bbGetInputtype()==1){
+      if (bbGetInputType()==1){
        int i,size=bbGetInputIn().size();
        for (i=0;i<size;i++){
          asciiValue = (int)bbGetInputIn()[i];
@@ -46,7 +46,7 @@ namespace bbstd
            result +=" ";
          } // i!=size-1
        } // for
-      } // type 1
+      } // Type 1
     }
     bbSetOutputOut( result );  
   }
@@ -54,7 +54,7 @@ namespace bbstd
   void ASCII::bbUserConstructor()
   {
     bbSetInputIn("");
-    bbSetInputtype(0);
+    bbSetInputType(0);
   }
   
   void ASCII::bbUserCopyConstructor()