]> Creatis software - bbtk.git/blob - packages/std/src/bbstdGetVectorElement.cxx
e78650e8ff78428fb467cdb0fbcfd43a6eac1131
[bbtk.git] / packages / std / src / bbstdGetVectorElement.cxx
1 #include "bbstdGetVectorElement.h"
2 #include "bbstdPackage.h"
3
4
5 namespace bbstd
6 {
7   //====================================================================
8   BBTK_BLACK_BOX_TEMPLATE_IMPLEMENTATION(GetVectorElement,
9                                          bbtk::AtomicBlackBox);
10   //====================================================================
11
12 //====================================================================
13 // Add the specialized boxes to the package
14
15 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,int8_t);
16 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,uint8_t);
17 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,int16_t);
18 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,uint16_t);
19 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,int32_t);
20 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,uint32_t);
21 ///\todo : diff between uint32_t and long?
22 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,long);
23 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,float);
24 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,double);
25 typedef std::string string;
26 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,string);
27 //====================================================================
28
29 } // namespace bbstd