|
| static bool | ROSEE::Utils::create_directory (std::string pathDirectory) |
| |
| static void | ROSEE::Utils::out2file (std::string pathFile, std::string output) |
| |
| static std::vector< std::string > | ROSEE::Utils::getFilesInDir (std::string pathFolder) |
| |
| static int | ROSEE::Utils::binomial_coefficent (int n, int k) |
| |
| static std::string | ROSEE::Utils::getPackagePath () |
| |
| template<class KeyType , class ValueType > |
| static std::vector< KeyType > | ROSEE::Utils::extract_keys (std::map< KeyType, ValueType > const &input_map) |
| |
| template<class T > |
| static std::vector< std::string > | ROSEE::Utils::extract_keys_merged (std::map< std::set< std::string >, T > const &input_map, unsigned int max_string_number=0) |
| | Extract all the string in the set keys of a map. More...
|
| |
| template<class T > |
| static std::vector< std::string > | ROSEE::Utils::extract_keys_merged (std::map< std::pair< std::string, std::string >, T > const &input_map, unsigned int max_string_number=0) |
| | See above, this is the version with pair instead of set. More...
|
| |
| template<typename keyType , typename valueType1 , typename valueType2 > |
| bool | ROSEE::Utils::keys_equal (std::map< keyType, valueType1 > const &lhs, std::map< keyType, valueType2 > const &rhs) |
| | Return false if two maps have different keys. More...
|
| |
| template<typename RetType , typename... Args> |
| std::unique_ptr< RetType > | ROSEE::Utils::loadObject (std::string lib_name, std::string function_name, Args...args) |
| | Utils to dynamically load an object. More...
|
| |