Skip to content
Snippets Groups Projects
Commit 272d30bb authored by Jan Trávníček's avatar Jan Trávníček
Browse files

prepare introspection of algorithms

parent 21156cae
Branches
Tags
No related merge requests found
/*
* 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_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment