array_types.cpp
Go to the documentation of this file.
1 #include "types/Types.hpp"
4 #include "../../datasource_fixture.hpp"
6 
8 {
9  // these are all execised by the datasource_fixture:
10 
11  // 3 types of arrays: carray, boost array and std::vector
12  Types()->addType( new CArrayTypeInfo< carray<int> >("int[]") );
13  Types()->addType( new BoostArrayTypeInfo< boost::array<int,5> >("int5") );
14  Types()->addType( new SequenceTypeInfo< vector<int> >("ints") );
15 
16  Types()->addType( new CArrayTypeInfo< carray<double> >("double[]") );
17  Types()->addType( new CArrayTypeInfo< carray<char> >("char[]") );
18 }
TypeInfoRepository::shared_ptr Types()
Definition: Types.cpp:48
void loadArrayTypes()
Definition: array_types.cpp:7


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:30