XBT_PRIVATE const char* encode_datatype(MPI_Datatype datatype, int* known);
-typedef struct smpi_trace_call_location {
+class smpi_trace_call_location_t {
+public:
const char* filename;
int linenumber;
const char* previous_filename;
int previous_linenumber;
- std::string get_composed_key() {
- return std::string(previous_filename) + ':' + std::to_string(previous_linenumber) + ':' + filename + ':' + std::to_string(linenumber);
+ std::string get_composed_key()
+ {
+ return std::string(previous_filename) + ':' + std::to_string(previous_linenumber) + ':' + filename + ':' +
+ std::to_string(linenumber);
}
-
-} smpi_trace_call_location_t;
+};
}
#endif