This class is useful for managing anything that requires a char ** input/output in ExodusII file.
More...
#include <exodusII_io_helper.h>
This class is useful for managing anything that requires a char ** input/output in ExodusII file.
You must know the number of strings and the length of each one at the time you create it.
Definition at line 1276 of file exodusII_io_helper.h.
◆ NamesData()
libMesh::ExodusII_IO_Helper::NamesData::NamesData |
( |
size_t |
n_strings, |
|
|
size_t |
string_length |
|
) |
| |
|
explicit |
Constructor.
Allocates enough storage to hold n_strings of length string_length. (Actually allocates string_length+1 characters per string to account for the trailing '\0' character.)
◆ get_char_star()
char* libMesh::ExodusII_IO_Helper::NamesData::get_char_star |
( |
int |
i | ) |
|
Provide access to the i'th underlying char *.
◆ get_char_star_star()
char** libMesh::ExodusII_IO_Helper::NamesData::get_char_star_star |
( |
| ) |
|
Provide access to the underlying C data table.
◆ push_back_entry()
void libMesh::ExodusII_IO_Helper::NamesData::push_back_entry |
( |
const std::string & |
name | ) |
|
Adds another name to the current data table.
◆ counter
size_t libMesh::ExodusII_IO_Helper::NamesData::counter |
|
private |
◆ data_table
std::vector<std::vector<char> > libMesh::ExodusII_IO_Helper::NamesData::data_table |
|
private |
◆ data_table_pointers
std::vector<char *> libMesh::ExodusII_IO_Helper::NamesData::data_table_pointers |
|
private |
◆ table_size
size_t libMesh::ExodusII_IO_Helper::NamesData::table_size |
|
private |
The documentation for this class was generated from the following file: