Back to index

salome-med  6.5.0
Namespaces | Defines | Functions
MEDMEM_Utilities.hxx File Reference
#include <string>
#include <libgen.h>
#include <cstdlib>
#include <iostream>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MEDMEM
 A template class to generate an array of any particular type (int, long, float, double) for our purpose in the MED++ library.

Defines

#define HEREWEARE_MED   {cout<<flush ; cerr << __FILE__ << " [" << __LINE__ << "] : " << flush ;}
#define INFOS_MED(chain)   {HEREWEARE_MED ; cerr << chain << endl ;}
#define PYSCRIPT_MED(chain)   {cout<<flush ; cerr << "---PYSCRIPT--- " << chain << endl ;}
#define COMPILER_MED   "undefined" ;
#define INFOS_COMPILATION_MED
#define HERE_MED
#define SCRUTE_MED(var)   {}
#define MESSAGE_MED(chain)   {}
#define INTERRUPTION_MED(code)   {}
#define ASSERT_MED(condition)   {}
#define REPERE_MED
#define BEGIN_OF_MED(chain)   const char* __LOC_MED; {__LOC_MED=chain;}
#define END_OF_MED(chain)   const char* __LOC_END_MED; {__LOC_END_MED=chain;}

Functions

std::string MEDMEM::getBaseName (const std::string &dataname)
std::string MEDMEM::getDirName (const std::string &dataname)
std::string MEDMEM::healName (const std::string &name)
 Make a name valid.
int MEDMEM::swapBytes (const int theValue)
 Change order of bytes for other endianness.

Define Documentation

#define ASSERT_MED (   condition)    {}

Definition at line 161 of file MEDMEM_Utilities.hxx.

#define BEGIN_OF_MED (   chain)    const char* __LOC_MED; {__LOC_MED=chain;}

Definition at line 165 of file MEDMEM_Utilities.hxx.

#define COMPILER_MED   "undefined" ;

Definition at line 116 of file MEDMEM_Utilities.hxx.

#define END_OF_MED (   chain)    const char* __LOC_END_MED; {__LOC_END_MED=chain;}

Definition at line 166 of file MEDMEM_Utilities.hxx.

#define HERE_MED

Definition at line 155 of file MEDMEM_Utilities.hxx.

#define HEREWEARE_MED   {cout<<flush ; cerr << __FILE__ << " [" << __LINE__ << "] : " << flush ;}

Definition at line 100 of file MEDMEM_Utilities.hxx.

Value:
{\
  cerr << flush;\
  cout << __FILE__ ;\
  cout << " [" << __LINE__ << "] : " ;\
  cout << "COMPILED with " << COMPILER_MED ;\
  cout << ", " << __DATE__ ; \
  cout << " at " << __TIME__ << endl ;\
  cout << "\n\n" ;\
  cout << flush ;\
}

Definition at line 122 of file MEDMEM_Utilities.hxx.

#define INFOS_MED (   chain)    {HEREWEARE_MED ; cerr << chain << endl ;}

Definition at line 101 of file MEDMEM_Utilities.hxx.

#define INTERRUPTION_MED (   code)    {}

Definition at line 158 of file MEDMEM_Utilities.hxx.

#define MESSAGE_MED (   chain)    {}

Definition at line 157 of file MEDMEM_Utilities.hxx.

#define PYSCRIPT_MED (   chain)    {cout<<flush ; cerr << "---PYSCRIPT--- " << chain << endl ;}

Definition at line 102 of file MEDMEM_Utilities.hxx.

#define REPERE_MED

Definition at line 164 of file MEDMEM_Utilities.hxx.

#define SCRUTE_MED (   var)    {}

Definition at line 156 of file MEDMEM_Utilities.hxx.