MOAB: Mesh Oriented datABase  (version 5.2.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 
00011 const char* const moab::DataTypeStr[] = { "MB_TYPE_OPAQUE", "MB_TYPE_INTEGER", "MB_TYPE_DOUBLE", "MB_TYPE_BIT",
00012                                           "MB_TYPE_HANDLE" };
00013 
00014 const char* const SenseTypeStr_private[] = { "SENSE_INVALID", "SENSE_REVERSE", "SENSE_BOTH", "SENSE_FORWARD" };
00015 
00016 /* Make this point into SenseTypeStr_private such that
00017    it can be indexed with negative enumeration values.
00018    NOTE: If SENSE_INVALID is negative, then subtracting
00019          it means that we are adding abs(SENSE_INVALID). */
00020 const char* const* const moab::SenseTypeStr = SenseTypeStr_private - moab::SENSE_INVALID;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines