Version: 6.3.1
Packages | Defines | Functions

src/MEDMEM/MEDMEM_Utilities.hxx File Reference

#include <string>
#include <libgen.h>
#include <cstdlib>
#include <iostream>
Include dependency graph for MEDMEM_Utilities.hxx:

Go to the source code of this file.

Packages

package  MEDMEM

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. So far, removes white spaces from name end.
int MEDMEM.swapBytes (const int theValue)

Define Documentation

#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
Value:
{\
  cerr << flush;\
  cout << __FILE__ ;\
  cout << " [" << __LINE__ << "] : " ;\
  cout << "COMPILED with " << COMPILER_MED ;\
  cout << ", " << __DATE__ ; \
  cout << " at " << __TIME__ << endl ;\
  cout << "\n\n" ;\
  cout << flush ;\
}
#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;}
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS