MOAB: Mesh Oriented datABase  (version 5.2.1)
test_entset.cpp
Go to the documentation of this file.
00001 #include "iGeom.h"
00002 #include "iMesh.h"
00003 #include "iRel.h"
00004 
00005 #include <cstdio>
00006 #include <cstdlib>
00007 #include <cstring>
00008 
00009 // clang-format off
00010 
00011 #define STRINGIFY_( X ) #X
00012 #define STRINGIFY( X )  STRINGIFY_( X )
00013 #ifdef MESHDIR
00014 #ifdef HAVE_OCC
00015 #define DEFAULT_GEOM STRINGIFY( MESHDIR/irel/brick.stp )
00016 #define DEFAULT_MESH STRINGIFY( MESHDIR/irel/brick.h5m )
00017 #else
00018 #define DEFAULT_GEOM STRINGIFY( MESHDIR/irel/brick.facet )
00019 #define DEFAULT_MESH STRINGIFY( MESHDIR/irel/brick.h5m )
00020 #endif
00021 #else
00022 #error Specify MESHDIR to compile test
00023 #endif
00024 
00025 #define CHECK_SIZE_C( type, array, allocated_size, size )            \
00026     if( NULL == *(array) || *(allocated_size) == 0 )                     \
00027     {                                                                \
00028         *(array)          = (type*)malloc( sizeof( type ) * (size) );    \
00029         *(allocated_size) = size;                                      \
00030     }                                                                \
00031     else if( *(allocated_size) < (size) )                                \
00032     {                                                                \
00033         printf( "   Array passed in is non-zero but too short.\n" ); \
00034     }
00035 
00036 // clang-format on
00037 
00038 typedef void* iRel_EntityHandle;
00039 
00040 /*!
00041   prints out a result string based on the value of error_code
00042 */
00043 void handle_error_code( const int result, int* number_failed, int* /*number_not_implemented*/, int* number_successful )
00044 {
00045     if( result )
00046     {
00047         printf( "Success" );
00048         ( *number_successful )++;
00049     }
00050     else
00051     {
00052         printf( "Failure" );
00053         ( *number_failed )++;
00054     }
00055 }
00056 
00057 int print_geom_info( iGeom_Instance geom, iBase_EntityHandle gent )
00058 {
00059     /* print information about this entity */
00060     int ent_type;
00061     int result;
00062     const char* type_names[] = { "Vertex", "Edge", "Face", "Region" };
00063 
00064     iGeom_getEntType( geom, gent, &ent_type, &result );
00065 
00066     if( iBase_SUCCESS != result )
00067     {
00068         printf( "Trouble getting entity adjacencies or types." );
00069         return 0;
00070     }
00071 
00072     printf( "%s 0x%lx\n", type_names[ent_type], (unsigned long)gent );
00073 
00074     return 1;
00075 }
00076 
00077 int print_mesh_info( iMesh_Instance mesh, iBase_EntityHandle ment )
00078 {
00079     /* print information about this entity */
00080 
00081     /* get adjacencies first; assume not more than 50 */
00082     iBase_EntityHandle adj_ents[50], *adj_ents_ptr = adj_ents;
00083     int ent_types[50], *ent_types_ptr              = ent_types;
00084     int adj_ents_alloc = 50, adj_ents_size, ent_types_size, ent_types_allocated = 50;
00085     int result;
00086 
00087     iBase_TagHandle* ment_tags = NULL;
00088     int ment_tags_size, ment_tags_alloc;
00089 
00090     char** tag_names;
00091     int i;
00092 
00093     const char* type_names[] = { "Vertex", "Edge", "Face", "Region" };
00094 
00095     iMesh_getEntAdj( mesh, ment, iBase_ALL_TYPES, &adj_ents_ptr, &adj_ents_alloc, &adj_ents_size, &result );
00096 
00097     if( iBase_SUCCESS != result ) return 0;
00098 
00099     /* put this ent on the end, then get types */
00100     adj_ents[adj_ents_size] = ment;
00101     iMesh_getEntArrType( mesh, adj_ents, adj_ents_size + 1, &ent_types_ptr, &ent_types_allocated, &ent_types_size,
00102                          &result );
00103     if( iBase_SUCCESS != result )
00104     {
00105         printf( "Trouble getting entity adjacencies or types." );
00106         return 0;
00107     }
00108 
00109     /* get tags on ment */
00110     iMesh_getAllTags( mesh, ment, &ment_tags, &ment_tags_alloc, &ment_tags_size, &result );
00111 
00112     printf( "Trouble getting tags on an entity or their names." );
00113 
00114     /* while we're at it, get all the tag names */
00115 
00116     tag_names = (char**)malloc( ment_tags_size * sizeof( char* ) );
00117 
00118     for( i = 0; i < ment_tags_size; i++ )
00119     {
00120         tag_names[i] = (char*)malloc( 120 * sizeof( char ) );
00121         iMesh_getTagName( mesh, ment_tags[i], tag_names[i], &result, 120 );
00122     }
00123 
00124     /* now print the information */
00125     printf( "%s %ld:\n", type_names[ent_types[ent_types_size - 1]], (long)ment );
00126     printf( "Adjacencies:" );
00127     for( i = 0; i < adj_ents_size; i++ )
00128     {
00129         if( i > 0 ) printf( ", " );
00130         printf( "%s %ld", type_names[ent_types[i]], (long)adj_ents[i] );
00131     }
00132     printf( "\nTags: \n" );
00133     for( i = 0; i < ment_tags_size; i++ )
00134     {
00135         int tag_type;
00136 
00137         printf( "%s ", tag_names[i] );
00138         iMesh_getTagType( mesh, ment_tags[i], &tag_type, &result );
00139         if( iBase_SUCCESS != result )
00140             printf( "(trouble getting type...)\n" );
00141         else
00142         {
00143             char* dum_handle     = NULL;
00144             int dum_handle_alloc = 0, dum_handle_size = 0;
00145             int int_data;
00146             double dbl_data;
00147             iBase_EntityHandle eh_data;
00148 
00149             switch( tag_type )
00150             {
00151                 case iBase_INTEGER:
00152                     iMesh_getIntData( mesh, ment, ment_tags[i], &int_data, &result );
00153                     printf( "(Int value=%d)", int_data );
00154                     break;
00155                 case iBase_DOUBLE:
00156                     iMesh_getDblData( mesh, ment, ment_tags[i], &dbl_data, &result );
00157                     printf( "(Dbl value=%f)", dbl_data );
00158                     break;
00159                 case iBase_ENTITY_HANDLE:
00160                     iMesh_getEHData( mesh, ment, ment_tags[i], &eh_data, &result );
00161                     printf( "(EH value=%ld)", (long)eh_data );
00162                     break;
00163                 case iBase_BYTES:
00164                     iMesh_getData( mesh, ment, ment_tags[i], (void**)&dum_handle, &dum_handle_alloc, &dum_handle_size,
00165                                    &result );
00166                     if( NULL != dum_handle && dum_handle_size > 0 ) printf( "(Opaque value=%c)", dum_handle[0] );
00167                     break;
00168             }
00169         }
00170 
00171         printf( "\n" );
00172     }
00173     printf( "(end tags)\n\n" );
00174     free( ment_tags );
00175 
00176     return 1;
00177 }
00178 
00179 /*!
00180   @test
00181   Load Mesh
00182   @li Load a geom and a mesh file
00183 */
00184 int load_geom_mesh_test( const char* geom_filename, const char* mesh_filename, iGeom_Instance geom,
00185                          iMesh_Instance mesh )
00186 {
00187     /* load a geom */
00188     int result;
00189     iGeom_load( geom, geom_filename, 0, &result, strlen( geom_filename ), 0 );
00190     if( iBase_SUCCESS != result )
00191     {
00192         printf( "ERROR : can not load a geometry\n" );
00193         return 0;
00194     }
00195 
00196     /* load a mesh */
00197     iMesh_load( mesh, 0, mesh_filename, 0, &result, strlen( mesh_filename ), 0 );
00198     if( iBase_SUCCESS != result )
00199     {
00200         printf( "ERROR : can not load a mesh\n" );
00201         return 0;
00202     }
00203 
00204     return 1;
00205 }
00206 
00207 /*!
00208   @test
00209   TSTTLasso create relation  Test
00210   @li Create relation between geom and mesh
00211 */
00212 int create_relation_test( iRel_Instance assoc, iGeom_Instance geom, iMesh_Instance mesh, iRel_PairHandle* pair )
00213 {
00214     int result;
00215     iBase_Instance iface1, iface2;
00216     int type1, type2;
00217     int ent_or_set1, ent_or_set2;
00218     int status1, status2;
00219 
00220     iRel_PairHandle tmp_pair;
00221     iRel_PairHandle* pair_ptr = &tmp_pair;
00222     int pairs_alloc           = 1, pairs_size;
00223 
00224     /* create an relation, entity to set */
00225     iRel_createPair( assoc, geom, iRel_ENTITY, iRel_IGEOM_IFACE, iRel_ACTIVE, mesh, iRel_SET, iRel_IMESH_IFACE,
00226                      iRel_ACTIVE, pair, &result );
00227     if( iBase_SUCCESS != result )
00228     {
00229         printf( "Couldn't create a new relation.\n" );
00230         return 0;
00231     }
00232 
00233     iRel_getPairInfo( assoc, *pair, &iface1, &ent_or_set1, &type1, &status1, &iface2, &ent_or_set2, &type2, &status2,
00234                       &result );
00235     if( iBase_SUCCESS != result )
00236     {
00237         printf( "Couldn't retrieve relation info.\n" );
00238         return 0;
00239     }
00240     if( iface1 != geom || ent_or_set1 != iRel_ENTITY || type1 != iRel_IGEOM_IFACE || iface2 != mesh ||
00241         ent_or_set2 != iRel_SET || type2 != iRel_IMESH_IFACE )
00242     {
00243         printf( "Unexpected relation info returned.\n" );
00244         return 0;
00245     }
00246 
00247     iRel_findPairs( assoc, geom, &pair_ptr, &pairs_alloc, &pairs_size, &result );
00248     if( iBase_SUCCESS != result )
00249     {
00250         printf( "Couldn't find relation pair when querying geom.\n" );
00251         return 0;
00252     }
00253     if( pairs_size != 1 || tmp_pair != *pair )
00254     {
00255         printf( "Unexpected relation pairs returned when querying geom.\n" );
00256         return 0;
00257     }
00258 
00259     iRel_findPairs( assoc, mesh, &pair_ptr, &pairs_alloc, &pairs_size, &result );
00260     if( iBase_SUCCESS != result )
00261     {
00262         printf( "Couldn't find relation pair when querying mesh.\n" );
00263         return 0;
00264     }
00265     if( pairs_size != 1 || tmp_pair != *pair )
00266     {
00267         printf( "Unexpected relation pairs returned when querying mesh.\n" );
00268         return 0;
00269     }
00270 
00271     return 1;
00272 }
00273 
00274 /*!
00275   @test
00276   TSTTLasso relate geom and mesh Test
00277   @li Check relation between geom and mesh
00278 */
00279 int relate_geom_mesh_test( iRel_Instance assoc, iGeom_Instance geom, iMesh_Instance mesh, iRel_PairHandle pair )
00280 {
00281     int result;
00282 
00283     iBase_EntityHandle* gentities = NULL;
00284     int gentities_size = 0, gentities_alloc = 0;
00285 
00286     iBase_EntitySetHandle* mentity_handles = NULL;
00287     int mentity_handles_size = 0, mentity_handles_alloc = 0;
00288 
00289     const char* dim_tag_name = "GEOM_DIMENSION";
00290     iBase_TagHandle dim_tag_mesh;
00291 
00292     iBase_EntitySetHandle* mentities_vec;
00293     int mentities_vec_size = 0;
00294     int i;
00295 
00296     iBase_EntitySetHandle* out_mentities = NULL;
00297     int out_mentities_size = 0, out_mentities_alloc = 0;
00298 
00299     iBase_EntitySetHandle* out_mentities2 = NULL;
00300     int out_mentities2_size = 0, out_mentities2_alloc = 0;
00301 
00302     iBase_EntityHandle* out_gentities = NULL;
00303     int out_gentities_size = 0, out_gentities_alloc = 0;
00304 
00305     /* relate geometry entities with coresponding mesh entity sets */
00306     iGeom_getEntities( geom, NULL, iBase_VERTEX, &gentities, &gentities_alloc, &gentities_size, &result );
00307     if( iBase_SUCCESS != result )
00308     {
00309         printf( "Failed to get gentities by type in relate_geom_mesh_test.\n" );
00310         return 0;
00311     }
00312 
00313     iRel_inferEntArrRelations( assoc, pair, gentities, gentities_size, 0, &result );
00314     if( iBase_SUCCESS != result )
00315     {
00316         printf( "Failed to relate geom entities in relate_geom_mesh_test.\n" );
00317         return 0;
00318     }
00319 
00320     /* relate coresponding mesh entity sets for geometry entities */
00321     /* get 1-dimensional mesh entitysets */
00322     iMesh_getEntSets( mesh, NULL, 1, &mentity_handles, &mentity_handles_alloc, &mentity_handles_size, &result );
00323     if( iBase_SUCCESS != result )
00324     {
00325         printf( "Problem to get all entity sets.\n" );
00326         return 0;
00327     }
00328 
00329     /* get geom dimension tags for mesh entitysets */
00330     iMesh_createTag( mesh, dim_tag_name, 1, iBase_INTEGER, &dim_tag_mesh, &result, 15 );
00331     if( iBase_SUCCESS != result && result != iBase_TAG_ALREADY_EXISTS )
00332     {
00333         printf( "Couldn't create geom dim tag for mesh entities.\n" );
00334         return 0;
00335     }
00336 
00337     /* get 1-dimensional mesh entitysets */
00338     mentities_vec = (iBase_EntitySetHandle*)malloc( mentity_handles_size * sizeof( iBase_EntitySetHandle ) );
00339     for( i = 0; i < mentity_handles_size; i++ )
00340     { /* test */
00341         int dim;
00342         iMesh_getEntSetIntData( mesh, mentity_handles[i], dim_tag_mesh, &dim, &result );
00343         if( iBase_SUCCESS != result ) continue;
00344 
00345         if( dim == 1 ) mentities_vec[mentities_vec_size++] = mentity_handles[i];
00346     }
00347 
00348     iRel_inferSetArrRelations( assoc, pair, mentities_vec, mentities_vec_size, 1, &result );
00349     if( iBase_SUCCESS != result )
00350     {
00351         printf( "Failed to relate mesh entities in relate_geom_mesh_test.\n" );
00352         return 0;
00353     }
00354 
00355     /* relate all geometry and mesh entities */
00356     iRel_inferAllRelations( assoc, pair, &result );
00357     if( iBase_SUCCESS != result )
00358     {
00359         printf( "Failed to relate all geom and mesh entities in relate_geom_mesh_test.\n" );
00360         return 0;
00361     }
00362 
00363     /* reset geom entities list and get all geom entities (prev
00364        only vertices) */
00365     free( gentities );
00366     gentities       = NULL;
00367     gentities_alloc = 0;
00368     iGeom_getEntities( geom, NULL, iBase_ALL_TYPES, &gentities, &gentities_alloc, &gentities_size, &result );
00369     if( iBase_SUCCESS != result )
00370     {
00371         printf( "Failed to get gentities by type in relate_geom_mesh_test.\n" );
00372         return 0;
00373     }
00374 
00375     /* get related mesh entity sets for geometry entities */
00376     iRel_getEntArrSetArrRelation( assoc, pair, gentities, gentities_size, 0, &out_mentities, &out_mentities_alloc,
00377                                   &out_mentities_size, &result );
00378     if( iBase_SUCCESS != result )
00379     {
00380         printf( "Failed to get geom entities in relate_geom_mesh_test.\n" );
00381         return 0;
00382     }
00383 
00384     if( out_mentities_size != gentities_size )
00385     {
00386         printf( "Number of input geom entities and output mesh entity sets should be same\n" );
00387         return 0;
00388     }
00389 
00390     /* now try deleting this relation */
00391     iRel_rmvEntArrRelation( assoc, pair, gentities, gentities_size, 0, &result );
00392     if( iBase_SUCCESS != result )
00393     {
00394         printf( "Failed to remove relation in relate_geom_mesh_test.\n" );
00395         return 0;
00396     }
00397 
00398     iRel_getEntArrSetArrRelation( assoc, pair, gentities, gentities_size, 0, &out_mentities2, &out_mentities2_alloc,
00399                                   &out_mentities2_size, &result );
00400     if( iBase_SUCCESS == result )
00401     {
00402         printf( "Shouldn't have gotten mesh sets in relate_geom_mesh_test.\n" );
00403         return 0;
00404     }
00405 
00406     /* restore the relation, since we need it later */
00407     iRel_setEntArrSetArrRelation( assoc, pair, gentities, gentities_size, out_mentities, out_mentities_size, &result );
00408     if( iBase_SUCCESS != result )
00409     {
00410         printf( "Failed to restore relation in relate_geom_mesh_test.\n" );
00411         return 0;
00412     }
00413 
00414     /* get related geometry entities for mesh entity sets */
00415     iRel_getSetArrEntArrRelation( assoc, pair, out_mentities, out_mentities_size, 1, &out_gentities,
00416                                   &out_gentities_alloc, &out_gentities_size, &result );
00417     if( iBase_SUCCESS != result )
00418     {
00419         printf( "Failed to get mesh entities in relate_geom_mesh_test.\n" );
00420         return 0;
00421     }
00422 
00423     if( out_mentities_size != out_gentities_size )
00424     {
00425         printf( "Number of input mesh entity sets and output geom entities should be same\n" );
00426         return 0;
00427     }
00428     free( mentity_handles );
00429     mentity_handles = NULL;
00430     free( gentities );
00431     gentities = NULL;
00432     free( mentity_handles );
00433     mentity_handles = NULL;
00434     free( out_mentities );
00435     out_mentities = NULL;
00436     free( mentities_vec );
00437     mentities_vec = NULL;
00438     free( out_gentities );
00439     out_gentities = NULL;
00440     return 1;
00441 }
00442 
00443 /*!
00444   @test
00445   TSTTAssoc move to test
00446   @li Move meshes onto the given geometry
00447 */
00448 int query_relations_test( iRel_Instance assoc, iGeom_Instance geom, iMesh_Instance mesh, iRel_PairHandle pair )
00449 {
00450     int result;
00451     int i;
00452 
00453     iBase_EntityHandle* gentities = NULL;
00454     int gentities_size = 0, gentities_alloc = 0;
00455 
00456     iBase_EntitySetHandle* out_mentities = NULL;
00457     int out_mentities_size, out_mentities_alloc = 0;
00458 
00459     iBase_EntityHandle* out_gentities = NULL;
00460     int out_gentities_size, out_gentities_alloc = 0;
00461 
00462     /* get all the geom entities, and find relation to some mesh entity */
00463     iGeom_getEntities( geom, NULL, iBase_ALL_TYPES, &gentities, &gentities_alloc, &gentities_size, &result );
00464     if( iBase_SUCCESS != result )
00465     {
00466         printf( "Problem getting all geom entities.\n" );
00467         return 0;
00468     }
00469 
00470     iRel_getEntArrSetArrRelation( assoc, pair, gentities, gentities_size, 0, &out_mentities, &out_mentities_alloc,
00471                                   &out_mentities_size, &result );
00472     /* might not all be */
00473     if( iBase_SUCCESS != result )
00474     {
00475         char descr[120];
00476 
00477         printf( "Failed to get mesh entities related to geom entities in query_relations_test.\n" );
00478 
00479         iRel_getDescription( assoc, descr, sizeof( descr ) - 1 );
00480         printf( "Entities missing relations: %s\n", descr );
00481 
00482         for( i = 0; i < gentities_size; i++ )
00483         {
00484             print_geom_info( geom, gentities[i] );
00485         }
00486 
00487         return 0;
00488     }
00489 
00490     /* check that they're all non-null */
00491     if( out_mentities_size != gentities_size )
00492     {
00493         printf( "Number of mesh & related geom entities don't match.\n" );
00494         return 0;
00495     }
00496 
00497     /* check to make sure they're mesh sets; how to do that? */
00498     for( i = 0; i < out_mentities_size; i++ )
00499     {
00500         int is_list;
00501         iMesh_isList( mesh, (iBase_EntitySetHandle)out_mentities[i], &is_list, &result );
00502         if( iBase_SUCCESS != result )
00503         {
00504             printf( "Entity set returned from classification wasn't valid.\n" );
00505             return 0;
00506         }
00507     }
00508 
00509     /* now turn around and check classification of those mesh entities */
00510     iRel_getSetArrEntArrRelation( assoc, pair, out_mentities, out_mentities_size, 1, &out_gentities,
00511                                   &out_gentities_alloc, &out_gentities_size, &result );
00512     if( iBase_SUCCESS != result )
00513     {
00514         printf( "Failed to get geom entities related to mesh entities in query_relations_test.\n" );
00515         return 0;
00516     }
00517 
00518     /* check that they're all non-null */
00519     if( out_mentities_size != out_gentities_size )
00520     {
00521         printf( "Number of geom & related mesh entities don't match.\n" );
00522         return 0;
00523     }
00524 
00525     free( gentities );
00526     gentities = NULL;
00527     free( out_mentities );
00528     out_mentities = NULL;
00529     free( out_gentities );
00530     out_gentities = NULL;
00531     /* ok, we're done */
00532     return 1;
00533 }
00534 
00535 int main( int argc, char* argv[] )
00536 {
00537     /* Check command line arg */
00538     const char* geom_filename = DEFAULT_GEOM;
00539     const char* mesh_filename = DEFAULT_MESH;
00540 
00541     int result;
00542     int number_tests                 = 0;
00543     int number_tests_successful      = 0;
00544     int number_tests_not_implemented = 0;
00545     int number_tests_failed          = 0;
00546 
00547     iGeom_Instance geom;
00548     iMesh_Instance mesh;
00549     iRel_Instance assoc;
00550     iRel_PairHandle pair;
00551 
00552     printf( "Usage: %s %s\n", geom_filename, mesh_filename );
00553 
00554     if( argc == 2 && !strcmp( argv[1], "-h" ) )
00555     {
00556         printf( "Usage: %s <geom_filename> <mesh_filename>\n", argv[0] );
00557         return 1;
00558     }
00559     else if( argc == 2 )
00560     {
00561         geom_filename = argv[1];
00562         mesh_filename = argv[1];
00563     }
00564     else if( argc == 3 )
00565     {
00566         geom_filename = argv[1];
00567         mesh_filename = argv[2];
00568     }
00569 
00570     /* initialize the Geometry */
00571     iGeom_newGeom( 0, &geom, &result, 0 );
00572 
00573     /* initialize the Mesh */
00574     iMesh_newMesh( 0, &mesh, &result, 0 );
00575 
00576     /* initialize the Associate */
00577     iRel_create( 0, &assoc, &result, 0 );
00578 
00579     /* Print out Header information */
00580     printf( "\n\niRel TEST PROGRAM:\n\n" );
00581 
00582     /* load_geom_mesh test */
00583     printf( "   load_geom_mesh: " );
00584     result = load_geom_mesh_test( geom_filename, mesh_filename, geom, mesh );
00585     handle_error_code( result, &number_tests_failed, &number_tests_not_implemented, &number_tests_successful );
00586     number_tests++;
00587     printf( "\n" );
00588 
00589     /* create_relation test */
00590     printf( "   create_relation: " );
00591     result = create_relation_test( assoc, geom, mesh, &pair );
00592     handle_error_code( result, &number_tests_failed, &number_tests_not_implemented, &number_tests_successful );
00593     number_tests++;
00594     printf( "\n" );
00595 
00596     /* relate_geom_mesh test */
00597     printf( "   relate_geom_mesh: " );
00598     result = relate_geom_mesh_test( assoc, geom, mesh, pair );
00599     handle_error_code( result, &number_tests_failed, &number_tests_not_implemented, &number_tests_successful );
00600     number_tests++;
00601     printf( "\n" );
00602 
00603     /* query_relations test */
00604     printf( "   query_relations: " );
00605     result = query_relations_test( assoc, geom, mesh, pair );
00606     handle_error_code( result, &number_tests_failed, &number_tests_not_implemented, &number_tests_successful );
00607     number_tests++;
00608     printf( "\n" );
00609 
00610     /* summary */
00611 
00612     printf( "\niRel TEST SUMMARY: \n" );
00613     printf( "   Number Tests:           %d\n", number_tests );
00614     printf( "   Number Successful:      %d\n", number_tests_successful );
00615     printf( "   Number Not Implemented: %d\n", number_tests_not_implemented );
00616     printf( "   Number Failed:          %d\n", number_tests_failed );
00617     printf( "\n\n" );
00618 
00619     iRel_destroy( assoc, &result );
00620     iMesh_dtor( mesh, &result );
00621     iGeom_dtor( geom, &result );
00622 
00623     return number_tests_failed != 0;
00624 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines