#include <string>#include <libgen.h>#include <cstdlib>#include <iostream>
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 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 |
{\
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;} |