Functions | |
int | MEDMEM::MED::addDriver (driverTypes driverType, const string &fileName, MED_EN::med_mode_acces access=MED_EN::RDWR) |
int | MEDMEM::MED::addDriver (GENDRIVER &driver) |
void | MEDMEM::MED::write (int index=0) throw (MEDEXCEPTION) |
These methods are similar to their MESH counterparts. Reading should be achieved thrfough the MED constructor, while writing is performed thanks to two calls : one attaching a driver to the MED object, the other one writing the file.
int MED::addDriver | ( | driverTypes | driverType, | |
const string & | fileName = "Default File Name.med" , |
|||
MED_EN::med_mode_acces | access = MED_EN::RDWR | |||
) | [inherited] |
Create the specified driver and return its index reference to path to read or write methods.
Referenced by MEDMEM::MED::MED().
int MED::addDriver | ( | GENDRIVER & | driver | ) | [inherited] |
Duplicate the given driver and return its index reference to path to read or write methods.
void MED::write | ( | int | index = 0 |
) | throw (MEDEXCEPTION) [inherited] |
Write all objects with the driver given by its index.