Version: 9.12.0
MED_Factory.cxx File Reference
#include "MED_Factory.hxx"
#include "MED_Utilities.hxx"
#include "MED_Wrapper.hxx"
#include <Basics_Utils.hxx>
#include <stdio.h>
#include <errno.h>
#include <sstream>
#include <fstream>
#include <med.h>
#include <unistd.h>
#include <utilities.h>
Include dependency graph for MED_Factory.cxx:

Namespaces

 MED
 

Macros

#define MED_MAJOR_EXPECTED   4
 
#define MED_MINOR_EXPECTED   1
 
#define MED_VERSIONS_APPEND_COMPATIBLE   {41, 40, 32, 33}
 

Functions

bool MED::exists (const std::string &fileName)
 
std::vector< int > MED::GetMEDVersionsAppendCompatible ()
 Return the list of med versions compatibles for write/append, encoded in 10*major+minor (for instance, code for med 3.2.1 is 32) More...
 
bool MED::CheckCompatibility (const std::string &fileName, bool isForAppend)
 : Check read or write(append) Compatibility of a med file More...
 
bool MED::GetMEDVersion (const std::string &fileName, int &major, int &minor, int &release)
 
std::string MED::GetMEDVersion (const std::string &fileName)
 
PWrapper MED::CrWrapperR (const std::string &fileName)
 
PWrapper MED::CrWrapperW (const std::string &fileName, int theVersion, TFileInternal *tfileInst)
 

Macro Definition Documentation

◆ MED_MAJOR_EXPECTED

#define MED_MAJOR_EXPECTED   4

◆ MED_MINOR_EXPECTED

#define MED_MINOR_EXPECTED   1

◆ MED_VERSIONS_APPEND_COMPATIBLE

#define MED_VERSIONS_APPEND_COMPATIBLE   {41, 40, 32, 33}