[MOAB-dev] r4562 - in MOAB/trunk/itaps: . imesh
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Wed Mar 9 15:17:43 CST 2011
Author: kraftche
Date: 2011-03-09 15:17:43 -0600 (Wed, 09 Mar 2011)
New Revision: 4562
Modified:
MOAB/trunk/itaps/iBase.h
MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
MOAB/trunk/itaps/imesh/iMesh_MOAB.hpp
Log:
sync with official iBase.h
Modified: MOAB/trunk/itaps/iBase.h
===================================================================
--- MOAB/trunk/itaps/iBase.h 2011-03-09 20:18:56 UTC (rev 4561)
+++ MOAB/trunk/itaps/iBase.h 2011-03-09 21:17:43 UTC (rev 4562)
@@ -7,6 +7,11 @@
{
#endif
+#define IBASE_MINENUM(enumName) enumName ## _MIN
+#define IBASE_MAXENUM(enumName) enumName ## _MAX
+#define IBASE_NUMENUM(enumName) ((int)IBASE_MAXENUM(enumName) - (int)IBASE_MINENUM(enumName) + 1)
+#define IBASE_INCENUM(enumName,I) (I = (enum enumName)((int)I+1))
+
/*==========================================================
* TYPEDEF'S
*==========================================================
@@ -15,19 +20,22 @@
typedef struct iBase_EntityHandle_Private* iBase_EntityHandle;
typedef struct iBase_EntitySetHandle_Private* iBase_EntitySetHandle;
typedef struct iBase_TagHandle_Private* iBase_TagHandle;
- typedef void* iBase_EntityIterator;
- typedef void* iBase_EntityArrIterator;
+ typedef struct iBase_EntityIterator_Private* iBase_EntityIterator;
+ typedef struct iBase_EntityArrIterator_Private* iBase_EntityArrIterator;
+
/*==========================================================
* ENTITYTYPE ENUMERATION
*==========================================================
*/
enum iBase_EntityType {
- iBase_VERTEX = 0,
+ iBase_EntityType_MIN = 0,
+ iBase_VERTEX = iBase_EntityType_MIN,
iBase_EDGE,
iBase_FACE,
iBase_REGION,
- iBase_ALL_TYPES
+ iBase_ALL_TYPES,
+ iBase_EntityType_MAX = iBase_ALL_TYPES
};
/*==========================================================
@@ -35,13 +43,16 @@
*==========================================================
*/
enum iBase_AdjacencyCost {
- iBase_UNAVAILABLE = 0, /**< Adjacency information not supported */
- iBase_ALL_ORDER_1, /**< No more than local mesh traversal required */
- iBase_ALL_ORDER_LOGN, /**< Global tree search */
- iBase_ALL_ORDER_N, /**< Global exhaustive search */
More information about the moab-dev
mailing list