|
std::vector< std::string > | flexiblesusy::depgen::complement (const std::vector< std::string > &v1, const std::vector< std::string > &v2) |
| returns all elements of ‘v1’, which are not ‘v2’ More...
|
|
template<typename T > |
std::string | flexiblesusy::depgen::concat (const std::vector< std::string > &strings, const T &separator) |
| concatenate strings with separator More...
|
|
template<typename Predicate = decltype(Is_not_duplicate())> |
std::vector< std::string > | flexiblesusy::depgen::delete_duplicates (const std::vector< std::string > &vec, Predicate pred=Is_not_duplicate()) |
| deletes duplicate elements from a vector (preseves order) More...
|
|
std::string | flexiblesusy::depgen::directory (const std::string &file_name) |
| returns directory from file name More...
|
|
bool | flexiblesusy::depgen::file_exists (const std::string &name) |
| checks if given file exists More...
|
|
std::string | flexiblesusy::depgen::filename (const std::string &file_name) |
| returns file name w/o directory More...
|
|
std::vector< std::string > | flexiblesusy::depgen::filenames (const std::vector< std::string > &file_names) |
| returns file names w/o directory More...
|
|
template<class Predicate > |
std::vector< std::string > | flexiblesusy::depgen::filter (const std::vector< std::string > &vec, const Predicate &pred) |
| returns elements of ‘vec’ for which pred(f) == true More...
|
|
template<class Predicate > |
std::vector< std::string > | flexiblesusy::depgen::filter_files (const std::string &dir, const std::vector< std::string > &files, const Predicate &pred) |
| returns files in directory ‘dir’ for which pred(f) == true More...
|
|
template<class OutputIterator > |
void | flexiblesusy::depgen::get_filename_from_include (const char *s, OutputIterator it) |
| extracts file name from include "..." statement More...
|
|
std::vector< std::string > | flexiblesusy::depgen::get_included_files (const std::string &file_name) |
| extract include statements from file (ignoring system headers) More...
|
|
std::vector< std::string > | flexiblesusy::depgen::insert_at_front (const std::vector< std::string > &strings, const std::string &str) |
| insert ‘str’ at the beginning of vector More...
|
|
int | main (int argc, char *argv[]) |
|
std::vector< std::string > | flexiblesusy::depgen::prepend (const std::string &str, const std::vector< std::string > &strings) |
| prepend ‘str’ to all strings More...
|
|
void | flexiblesusy::depgen::print_dependencies (std::ostream &ostr, const std::string &target_name, const std::vector< std::string > &dependencies) |
| print dependency list More...
|
|
void | flexiblesusy::depgen::print_empty_phony_targets (std::ostream &ostr, const std::vector< std::string > &dependencies) |
| print empty phony targets for each dependency More...
|
|
void | flexiblesusy::depgen::print_usage (const std::string &program_name) |
| print usage message More...
|
|
std::string | flexiblesusy::depgen::replace_extension (const std::string &str, const std::string &ext) |
| replace file name extension by ‘ext’ More...
|
|
std::vector< std::string > | flexiblesusy::depgen::search_includes (const Config &config, int max_depth=100) |
|
void | flexiblesusy::depgen::search_includes (const Config &config, std::vector< std::string > &result, int max_depth) |
|
bool | flexiblesusy::depgen::starts_with (const std::string &str, const std::string &prefix) |
| tests whether ‘str’ starts with ‘prefix’ More...
|
|