15#ifndef dealii_path_search_h
16#define dealii_path_search_h
145 const std::string &
suffix,
151 template <
typename StreamType>
159 add_class(
const std::string &cls);
166 add_path(
const std::string &
path, Position
pos = back);
173 add_suffix(
const std::string &
suffix, Position
pos = back);
181 <<
"The class " <<
arg1
182 <<
" must be registered before referring it in PathSearch.");
191 <<
"The file \"" <<
arg1 <<
"\" was not found in the path for "
192 <<
"files of class " <<
arg2 <<
'.');
198 using map_type = std::map<std::string, std::vector<std::string>>::value_type;
204 initialize_classes();
210 static std::vector<std::string> &
211 get_path_list(
const std::string &cls);
217 static std::vector<std::string> &
218 get_suffix_list(
const std::string &cls);
228 static std::map<std::string, std::vector<std::string>>
path_lists;
260template <
typename StreamType>
264 out <<
"DEAL_II_" <<
cls <<
"PATH=\"";
273 out <<
'"' << std::endl <<
" Suffixes";
275 out <<
" \"" << s <<
'"';
void show(StreamType &stream) const
static std::map< std::string, std::vector< std::string > > path_lists
std::vector< std::string > & my_suffix_list
static std::map< std::string, std::vector< std::string > > suffix_lists
std::vector< std::string > & my_path_list
@ back
Add new item at end of list.
@ front
Add new item at front of list.
std::map< std::string, std::vector< std::string > >::value_type map_type
#define DEAL_II_DEPRECATED
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define DeclException2(Exception2, type1, type2, outsequence)
#define DeclException1(Exception1, type1, outsequence)