Contains functions that are used by the implementation of the totalview c++ view for data inspection within totalview.
More...
|
| 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.
◆ format()
template<typename TYPE , typename INDEX_TYPE >
| 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.
- Template Parameters
-
| TYPE | The type of that requires a format string. |
| INDEX_TYPE | The type of integer that dims is passed in as. |
- Parameters
-
| NDIM | the number of dimensions of the array (0 if scalar) |
| dims | The dimensions of the array |
- Returns
- A string for use as "type" in a TV_tff_add_row( name, type, data) call.