]> Creatis software - cpPlugins.git/blobdiff - appli/examples/example_LoadPlugins.cxx
...
[cpPlugins.git] / appli / examples / example_LoadPlugins.cxx
index 76c5febe6eb4b3e08dbb57fac3a80b9669dbeba0..9b4018312cf8c08d977359bde3ceb346360ba005 100644 (file)
@@ -38,9 +38,15 @@ int main( int argc, char* argv[] )
   } // rof
 
   // Show loaded classes
-  auto c = interface.GetClasses( ).begin( );
-  for( ; c != interface.GetClasses( ).end( ); ++c )
-    std::cout << "Class -> " << c->first << std::endl;
+  auto cat = interface.GetClasses( ).begin( );
+  for( ; cat != interface.GetClasses( ).end( ); ++cat )
+  {
+    std::cout << "Catergory -> " << cat->first << std::endl;
+    auto cla = cat->second.begin( );
+    for( ; cla != cat->second.end( ); ++cla )
+      std::cout << "\tClass -> " << cla->first << std::endl;
+
+  } // rof
 
   return( 0 );
 }