1 * cmake : PACKAGE_NAME : std, itk, vtk
2 (nom bbi ; utilisé par load)
4 * librairie créée : bbstd.dll / libbbstd.so, etc.
5 bb<PACKAGE_NAME>.dll / libbb<PACKAGE_NAME>.so
8 Type de boite appelé BOX_TYPE_NAME (i.e. dans bbi "new BOX_TYPE_NAME a")
9 - bb<PACKAGE_NAME><BOX_TYPE_NAME>.h / .cxx / .xml
12 dans bb<PACKAGE_NAME><BOX_TYPE_NAME>.h :
13 * Symbole de blockage : __bb<PACKAGE_NAME><BOX_TYPE_NAME>_h_INCLUDED__
14 ex : #ifndef __bbstdCast_h_INCLUDED__
15 #define __bbstdCast_h_INCLUDED__
17 #endif // __bbstdCast_h_INCLUDED__
20 * Namespace : bb<PACKAGE_NAME>
27 * Classe <BOX_TYPE_NAME>
29 class Cast : public bbtk::UserBlackBox
33 BEGIN_DESCRIBE_BLACK_BOX(<BOX_TYPE_NAME>,parent)
35 BBTK_NAME(<BOX_TYPE_NAME>)
37 END_DESCRIBE_BLACK_BOX(<BOX_TYPE_NAME>,parent)
39 * Utilisation : si on a la boite B definie dans package P1 et dans package P2
41 #include "bbstdCast.h"
46 bbtk::BlackBox* b = new bbstd::Cast("b");
47 bbtk::BlackBox* c = new bbP1::B("c");
48 bbtk::BlackBox* d = new bbP2::B("d");
57 ERROR : A black box of type B exists in packages P1 and P2. Do you mean P1::B or P2::B ?
62 Package P1 v1.0.0 - foo.bar at corp.com
65 B : Uncompress a file in jpeg format
67 Package P2 v1.0.0 - bar.foo at expat.co
68 I made this package for fun
70 B : Automatic scientific article generator
72 ERROR : A black box of type B exists in packages P1 and P2. Do you mean P1::B or P2::B ?
75 Uncompress a file in jpeg format
76 By : foo.bar at corp.com