]> Creatis software - bbtk.git/blob - packages/std/src/bbstdGetVectorElement.cxx
Acces to the i-th element of a vector
[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 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,long);
22 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,float);
23 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,double);
24 typedef std::string string;
25 BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,GetVectorElement,string);
26 //====================================================================
27
28 } // namespace bbstd