1 #include "index2filename.hpp" 2 #include "../../misc/int2str.hpp" 10 const string& postfix):
11 prefix_(prefix), postfix_(postfix) {}
16 return prefix_+
int2str(index)+postfix_;
19 MPI_Comm_rank(MPI_COMM_WORLD,&rank);
std::string int2str(int n)
Converts an integer to a string.
Rubric(const string &prefix, const string &postfix)
Class constructor.
virtual ~Index2FileName(void)
class destructor
string operator()(int index)
Constructs a file name.