namespace bbstd
{
-class /*BBTK_EXPORT*/ ASCII
- :
- public bbtk::AtomicBlackBox
-{
- BBTK_USER_BLACK_BOX_INTERFACE(ASCII,bbtk::AtomicBlackBox);
-//==================================================================
-/// User callback called in the box contructor
-virtual void bbUserConstructor();
-/// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
-/// User callback called in the box destructor
-virtual void bbUserDestructor();
-//==================================================================
- BBTK_DECLARE_INPUT(In,std::string);
- BBTK_DECLARE_INPUT(type,int);
- BBTK_DECLARE_OUTPUT(Out,std::string);
- BBTK_PROCESS(Process);
- void Process();
-};
-
-BBTK_BEGIN_DESCRIBE_BLACK_BOX(ASCII,bbtk::AtomicBlackBox);
+ class /*BBTK_EXPORT*/ ASCII
+ :
+ public bbtk::AtomicBlackBox
+ {
+ BBTK_BLACK_BOX_INTERFACE(ASCII,bbtk::AtomicBlackBox);
+ //==================================================================
+ /// User callback called in the box contructor
+ virtual void bbUserConstructor();
+ /// User callback called in the box copy constructor
+ virtual void bbUserCopyConstructor();
+ /// User callback called in the box destructor
+ virtual void bbUserDestructor();
+ //==================================================================
+ BBTK_DECLARE_INPUT(In,std::string);
+ BBTK_DECLARE_INPUT(Type,int);
+ BBTK_DECLARE_OUTPUT(Out,std::string);
+ BBTK_PROCESS(Process);
+ void Process();
+ };
+
+ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ASCII,bbtk::AtomicBlackBox);
BBTK_NAME("ASCII");
- BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("ascii to string - string to ascii");
- BBTK_CATEGORY("__CATEGORY__");
- BBTK_INPUT(ASCII,In,"Input Ascii number or Ascii",std::string);
- BBTK_INPUT(ASCII,type,"type (default 0) 0=AsciiNum_To_String, 1=String_To_AsciiNum",int);
- BBTK_OUTPUT(ASCII,Out,"Ascii number or Ascii",std::string);
-BBTK_END_DESCRIBE_BLACK_BOX(ASCII);
+ BBTK_AUTHOR("eduardo.davila [at] creatis [dot] insa-lyon.fr");
+
+ BBTK_DESCRIPTION("ascii codes sequence to string - string to ascii codes sequence");
+ BBTK_CATEGORY("misc");
+ BBTK_INPUT(ASCII,In, "Ascii code or Ascii character", std::string,"");
+ BBTK_INPUT(ASCII,Type, "Conversion type (default 0) 0=Ascii codes to string, 1=String to ascii codes",int,"");
+ BBTK_OUTPUT(ASCII,Out, "Ascii codes sequence or characters sequence", std::string,"");
+ BBTK_END_DESCRIBE_BLACK_BOX(ASCII);
+
}
// EO namespace bbstd