diff --git a/alib2common/src/introspection/Algorithms.hpp b/alib2common/src/introspection/Algorithms.hpp new file mode 100644 index 0000000000000000000000000000000000000000..bfb1c3eaec8ce3db3ba052f516ac8900059899d9 --- /dev/null +++ b/alib2common/src/introspection/Algorithms.hpp @@ -0,0 +1,37 @@ +/* + * Algorithms.hpp + * + * Created on: 12. 2. 2017 + * Author: Jan Travnicek + */ + +#ifndef _ALGORITHMS_HPP_ +#define _ALGORITHMS_HPP_ + +namespace introspection { + +class Algorithms { + static std::map < std::string, std::set < std::tuple < std::string, std::vector < std::string >, std::vector < std::string >, std::vector < std::string > > > > & algorithmCallbacks ( ) { + static std::map < std::string, std::set < std::tuple < std::string, std::vector < std::string >, std::vector < std::string >, std::vector < std::string > > > > res; + return res; + } + + static std::set < std::string > & algorithms ( ) { + static std::set < std::string > res; + return res; + } + +public: + const std::map < std::string, std::set < std::tuple < std::string, std::vector < std::string >, std::vector < std::string >, std::vector < std::string > > > > & getTypesInGroup ( ) { + return typesInGroup ( ); + } + + const std::set < std::string > & getGroups ( ) { + return groups ( ); + } + +}; + +} /* namespace introspection */ + +#endif /* _ALGORITHMS_HPP_ */