GEOSX
|
Contains functions that are used by the implementation of the totalview c++ view for data inspection within totalview. More...
Functions | |
template<typename TYPE , typename INDEX_TYPE > | |
std::string | format (int NDIM, INDEX_TYPE const *const dims) |
This function returns a string that may be used as the "type" in a call to TV_ttf_add_row(). This will either be a single value or an array. More... | |
Contains functions that are used by the implementation of the totalview c++ view for data inspection within totalview.
std::string totalview::format | ( | int | NDIM, |
INDEX_TYPE const *const | dims | ||
) |
This function returns a string that may be used as the "type" in a call to TV_ttf_add_row(). This will either be a single value or an array.
TYPE | The type of that requires a format string. |
INDEX_TYPE | The type of integer that dims is passed in as. |
NDIM | the number of dimensions of the array (0 if scalar) |
dims | The dimensions of the array |
Definition at line 37 of file tv_helpers.hpp.