41 #ifndef Foam_ccmBase_H 42 #define Foam_ccmBase_H 51 #undef FOAM_DLL_EXPORT 53 #define FOAM_DLL_EXPORT __declspec(dllexport) 55 #define FOAM_DLL_EXPORT void operator=(const base &)=delete
No copy assignment.
Base functionality common to reader and writer classes.
bool close()
Explicitly close the file and terminate ccmio access.
static bool assertNoError(int err, const char *msg)
Die with msg if there is an error.
~base()
Destructor: close file.
std::unique_ptr< ccmGlobalState > globalState_
Maintain overall global states (error, root-node)
base()
Default construct. Initializes the global-state.