#include "roccom.h"
#include <string>
Go to the source code of this file.
|
void | write_attr_HDF4 (const std::string &fname, const std::string &mfile, const COM::Attribute *attr, const char *material, const char *timelevel, int pane_id, const std::string &errorhandle, int mode) |
|
void write_attr_HDF4 |
( |
const std::string & |
fname, |
|
|
const std::string & |
mfile, |
|
|
const COM::Attribute * |
attr, |
|
|
const char * |
material, |
|
|
const char * |
timelevel, |
|
|
int |
pane_id, |
|
|
const std::string & |
errorhandle, |
|
|
int |
mode |
|
) |
| |
Definition at line 130 of file Rocout_hdf4.C.
References COM_assertion, io_pane(), and Window::pane().
Referenced by Rocout::write_attr_internal().
135 const Window* w = attr->window();
138 io_pane(fname.c_str(), &pn, attr, material, timelevel,
139 !mfile.empty() ? mfile.c_str() : NULL, errorhandle, mode);
A Pane object contains a mesh, pane attribute, and field variables.
#define COM_assertion(EX)
Error checking utility similar to the assert macro of the C language.
A Window object contains multiple panes and multiple data attributes.
Pane & pane(const int pane_id, bool insert=false)
Find the pane with given ID. If not found, insert a pane with given ID.
static void io_pane(const char *fname, const COM::Pane *pane, const COM::Attribute *attr, const char *material, const char *timelevel, const char *mfile, const std::string &errorhandle, const int mode)