10 DAMSEL_ENTITY_TYPE_VERTEX,
11 DAMSEL_ENTITY_TYPE_EDGE,
12 DAMSEL_ENTITY_TYPE_TRI,
13 DAMSEL_ENTITY_TYPE_QUAD,
14 DAMSEL_ENTITY_TYPE_POLYGON,
15 DAMSEL_ENTITY_TYPE_TET,
16 DAMSEL_ENTITY_TYPE_PYRAMID,
17 DAMSEL_ENTITY_TYPE_PRISM,
18 DAMSEL_ENTITY_TYPE_UNDEFINED,
19 DAMSEL_ENTITY_TYPE_HEX,
20 DAMSEL_ENTITY_TYPE_POLYHEDRON,
21 DAMSEL_ENTITY_TYPE_UNDEFINED
40 DAMSEL_DATA_TYPE_BYTES,
41 DAMSEL_DATA_TYPE_INTEGER,
42 DAMSEL_DATA_TYPE_DOUBLE,
43 DAMSEL_DATA_TYPE_INVALID,
44 DAMSEL_DATA_TYPE_HANDLE
61 : dmslLib( DAMSEL_LIBRARY_INVALID ), dmslModel( DAMSEL_MODEL_INVALID ), moabHandleType( DAMSEL_HANDLE_TYPE_INVALID )
69 if( DMSLcontainer_get_type( c ) == DAMSEL_HANDLE_CONTAINER_TYPE_SEQUENCE )
73 damsel_err_t err = DMSLcontainer_sequence_get_contents( m, c, &start, &count, &stride );
75 for( damsel_handle i = start + ( count - 1 ) * stride; i >= start; i -= stride )
78 else if( DMSLcontainer_get_type( c ) == DAMSEL_HANDLE_CONTAINER_TYPE_VECTOR )
80 damsel_handle* handle_ptr;
82 damsel_err_t err = DMSLcontainer_vector_get_contents( m, c, &handle_ptr, &count );
84 for(
int i = count - 1; i >= 0; i-- )
87 else if( DMSLcontainer_get_type( c ) == DAMSEL_HANDLE_CONTAINER_TYPE_TREE )
89 damsel_handle_ptr node_ptr = NULL;
90 damsel_container cont = NULL;
91 damsel_err_t err = DMSLcontainer_tree_get_contents( m, c, &node_ptr, &cont );
92 while( err.id == DMSL_OK.id && cont )
96 err = DMSLcontainer_tree_get_contents( m, c, &node_ptr, &cont );