MOAB: Mesh Oriented datABase  (version 5.4.1)
Types.cpp
Go to the documentation of this file.
00001 #include "moab/Types.hpp"
00002 
00003 const char* const moab::ErrorCodeStr[] = {
00004     "MB_SUCCESS",          "MB_INDEX_OUT_OF_RANGE",      "MB_TYPE_OUT_OF_RANGE", "MB_MEMORY_ALLOCATION_FAILED",
00005     "MB_ENTITY_NOT_FOUND", "MB_MULTIPLE_ENTITIES_FOUND", "MB_TAG_NOT_FOUND",     "MB_FILE_DOES_NOT_EXIST",
00006     "MB_FILE_WRITE_ERROR", "MB_NOT_IMPLEMENTED",         "MB_ALREADY_ALLOCATED", "MB_VARIABLE_DATA_LENGTH",
00007     "MB_INVALID_SIZE",     "MB_UNSUPPORTED_OPERATION",   "MB_UNHANDLED_OPTION",  "MB_STRUCTURED_MESH",
00008     "MB_FAILURE" };
00009 
00010 const char* const moab::DataTypeStr[] = { "MB_TYPE_OPAQUE", "MB_TYPE_INTEGER", "MB_TYPE_DOUBLE", "MB_TYPE_BIT",
00011                                           "MB_TYPE_HANDLE" };
00012 
00013 const char* const SenseTypeStr_private[] = { "SENSE_INVALID", "SENSE_REVERSE", "SENSE_BOTH", "SENSE_FORWARD" };
00014 
00015 /* Make this point into SenseTypeStr_private such that
00016    it can be indexed with negative enumeration values.
00017    NOTE: If SENSE_INVALID is negative, then subtracting
00018          it means that we are adding abs(SENSE_INVALID). */
00019 const char* const* const moab::SenseTypeStr = SenseTypeStr_private - moab::SENSE_INVALID;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines