Sierra Toolkit Version of the Day
RegisterProduct.cpp
00001 
00010 #include <stk_util/environment/ProductRegistry.hpp>
00011 
00012 #include <stk_util/environment/RegisterProduct.hpp>
00013 
00014 namespace sierra {
00015 
00016 const char *
00017 get_product_name()
00018 {
00019   return "UtilityLib";
00020 }
00021 
00022 void
00023 register_product()
00024 {
00025   // Register utility
00026   ProductRegistry::AttributeMap &attr_map = ProductRegistry::instance().addProduct(get_product_name());
00027   attr_map[ProductRegistry::VERSION]      = ProductRegistry::version();
00028   attr_map[ProductRegistry::TITLE] = "Utility library routines";
00029   attr_map[ProductRegistry::CONTACT] = "framework-developers@sourceforge.sandia.gov";
00030 
00031   // Register TPL's and other things which may not be properly registered but used directly.
00032 
00033 }
00034 
00035 } // namespace sierra
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines