Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
Types.cpp
Go to the documentation of this file.
1 #include "moab/Types.hpp"
2 
3 const char* const moab::ErrorCodeStr[] = {
4  "MB_SUCCESS", "MB_INDEX_OUT_OF_RANGE", "MB_TYPE_OUT_OF_RANGE", "MB_MEMORY_ALLOCATION_FAILED",
5  "MB_ENTITY_NOT_FOUND", "MB_MULTIPLE_ENTITIES_FOUND", "MB_TAG_NOT_FOUND", "MB_FILE_DOES_NOT_EXIST",
6  "MB_FILE_WRITE_ERROR", "MB_NOT_IMPLEMENTED", "MB_ALREADY_ALLOCATED", "MB_VARIABLE_DATA_LENGTH",
7  "MB_INVALID_SIZE", "MB_UNSUPPORTED_OPERATION", "MB_UNHANDLED_OPTION", "MB_STRUCTURED_MESH",
8  "MB_FAILURE" };
9 
10 const char* const moab::DataTypeStr[] = { "MB_TYPE_OPAQUE", "MB_TYPE_INTEGER", "MB_TYPE_DOUBLE", "MB_TYPE_BIT",
11  "MB_TYPE_HANDLE" };
12 
13 const char* const SenseTypeStr_private[] = { "SENSE_INVALID", "SENSE_REVERSE", "SENSE_BOTH", "SENSE_FORWARD" };
14 
15 /* Make this point into SenseTypeStr_private such that
16  it can be indexed with negative enumeration values.
17  NOTE: If SENSE_INVALID is negative, then subtracting
18  it means that we are adding abs(SENSE_INVALID). */
19 const char* const* const moab::SenseTypeStr = SenseTypeStr_private - moab::SENSE_INVALID;