#include <keyword_manager.h>
Public Types | |
| typedef strategy_t::index_t | index_t |
| typedef strategy_t::item_t | item_t |
| typedef strategy_t::index_array_t | index_array_t |
| typedef strategy_t::item_array_t | item_array_t |
| typedef strategy_t | strategy_type |
| typedef keyword_manager < strategy_t > | this_t |
| typedef keyword_manager_iface < strategy_t > | base_t |
| typedef idata | idata_t |
| typedef rs_mesh_iface< strategy_t > | mesh_iface_t |
| typedef rs_smesh_iface < strategy_t > | smesh_iface_t |
| typedef keyword_info_base < strategy_t > | keyword_info_base_t |
| typedef keyword_params < strategy_t > | keyword_params_t |
| typedef smart_ptr< this_t, true > | sp_this_t |
| typedef smart_ptr< FRead, true > | sp_reader_t |
| typedef smart_ptr< idata_t, true > | sp_idata_t |
| typedef smart_ptr < mesh_iface_t, true > | sp_mesh_iface_t |
| typedef smart_ptr < smesh_iface_t, true > | sp_smesh_iface_t |
| typedef smart_ptr < keyword_info_base_t, true > | sp_keyword_info_base_t |
| typedef smart_ptr< objbase, true > | sp_objbase |
| typedef base_t::handler_t | handler_t |
| typedef base_t::keyword_handler | keyword_handler |
| typedef base_t::shared_handler_t | shared_handler_t |
| typedef std::map< std::string, keyword_handler > | handlers_t |
| typedef for map of handlers, keyword_params ¶ms | |
| typedef std::map< std::string, std::list< std::string > > | supported_keywords_t |
Public Member Functions | |
| BLUE_SKY_TYPE_DECL_T (keyword_manager) | |
| blue-sky type declaration | |
| ~keyword_manager () | |
| dtor | |
| void | init () |
| Registers built-in keyword and keywords from plugins. | |
| void | handle_keyword (const std::string &keyword, keyword_params_t ¶ms) |
| Handles keyword, call proper handler. | |
| void | register_keyword (const std::string &keyword, keyword_handler handler) |
| Registers active keyword in factory. | |
| void | register_keyword (const std::string &keyword, const shared_handler_t &handler) |
| Registers active keyword in factory. | |
| void | register_supported_keyword (const std::string &keyword, const std::string &provider) |
| Registers supported keyword by plugins in factory. | |
| void | register_keywords () |
| Registers built-in keywords. | |
| void | register_plugin_keywords () |
| Registers keyword from plugins. | |
| boost::posix_time::ptime | get_starting_date () |
| Returns starting date. | |
| bool | is_keyword_supported (const std::string &keyword, keyword_params_t ¶ms) const |
| Returns true if keyword supported by plugins. | |
| bool | is_keyword_activated (const std::string &keyword, keyword_params_t ¶ms) const |
| Returns true if any handler binded to keyword. | |
Public Attributes | |
| handlers_t | handlers |
| Handlers map for active keywords. | |
| supported_keywords_t | supported_keywords |
| All keywords supported by different plugins. | |
| boost::posix_time::ptime | current_date |
| temp variable for date and event_handlers | |
| boost::posix_time::ptime | starting_date |
| temp variable for date and event_handlers | |
Static Private Member Functions | |
| static void | int_array_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | float_array_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | event_handler (const std::string &keyword, keyword_params_t ¶ms) |
| Handling of event keywords. | |
| static void | TITLE_handler (const std::string &keyword, keyword_params_t ¶ms) |
| Named keywords. | |
| static void | OIL_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | WATER_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | GAS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PROCESS_PARAMS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | RESTART_handler (const std::string &, keyword_params_t &) |
| static void | REPORTS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | REPORTFILE_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | REPORTSCREEN_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | ARITHMETIC_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | STONE1_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | STONE2_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | RELATIVE_PERM_DEFAULT_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | UNITS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | DIMENS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | ROCKCOMP_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | REGDIMS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | REGNUM_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | EQLDIMS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | TABDIMS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | COORD_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | ZCORN_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | MINPV_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | MINSV_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | DENSITY_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | ROCKTAB_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PVTO_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PVDO_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PVTW_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PVDG_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | ROCK_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | SWOF_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | SGOF_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | SWFN_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | SGFN_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | SOF3_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | SOF2_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | EQUIL_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PRVD_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | RSVD_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | PBVD_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | START_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | DATE_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | DATES_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | TSTEP_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | TSTEPS_handler (const std::string &keyword, keyword_params_t ¶ms) |
| static void | WELLDIMS_handler (const std::string &, keyword_params_t &) |
| typedef keyword_manager_iface<strategy_t> blue_sky::keyword_manager< strategy_t >::base_t |
| typedef base_t::handler_t blue_sky::keyword_manager< strategy_t >::handler_t |
| typedef std::map<std::string, keyword_handler> blue_sky::keyword_manager< strategy_t >::handlers_t |
typedef for map of handlers, keyword_params ¶ms
| typedef idata blue_sky::keyword_manager< strategy_t >::idata_t |
| typedef strategy_t::index_array_t blue_sky::keyword_manager< strategy_t >::index_array_t |
| typedef strategy_t::index_t blue_sky::keyword_manager< strategy_t >::index_t |
| typedef strategy_t::item_array_t blue_sky::keyword_manager< strategy_t >::item_array_t |
| typedef strategy_t::item_t blue_sky::keyword_manager< strategy_t >::item_t |
| typedef base_t::keyword_handler blue_sky::keyword_manager< strategy_t >::keyword_handler |
| typedef keyword_info_base<strategy_t> blue_sky::keyword_manager< strategy_t >::keyword_info_base_t |
| typedef keyword_params<strategy_t> blue_sky::keyword_manager< strategy_t >::keyword_params_t |
| typedef rs_mesh_iface<strategy_t> blue_sky::keyword_manager< strategy_t >::mesh_iface_t |
| typedef base_t::shared_handler_t blue_sky::keyword_manager< strategy_t >::shared_handler_t |
| typedef rs_smesh_iface<strategy_t> blue_sky::keyword_manager< strategy_t >::smesh_iface_t |
| typedef smart_ptr<idata_t, true> blue_sky::keyword_manager< strategy_t >::sp_idata_t |
| typedef smart_ptr<keyword_info_base_t, true> blue_sky::keyword_manager< strategy_t >::sp_keyword_info_base_t |
| typedef smart_ptr<mesh_iface_t, true > blue_sky::keyword_manager< strategy_t >::sp_mesh_iface_t |
| typedef smart_ptr<objbase, true> blue_sky::keyword_manager< strategy_t >::sp_objbase |
| typedef smart_ptr<FRead, true> blue_sky::keyword_manager< strategy_t >::sp_reader_t |
| typedef smart_ptr<smesh_iface_t, true > blue_sky::keyword_manager< strategy_t >::sp_smesh_iface_t |
| typedef smart_ptr<this_t, true> blue_sky::keyword_manager< strategy_t >::sp_this_t |
| typedef strategy_t blue_sky::keyword_manager< strategy_t >::strategy_type |
| typedef std::map<std::string, std::list<std::string> > blue_sky::keyword_manager< strategy_t >::supported_keywords_t |
| typedef keyword_manager<strategy_t> blue_sky::keyword_manager< strategy_t >::this_t |
| blue_sky::keyword_manager< strategy_t >::~keyword_manager | ( | ) |
dtor
| static void blue_sky::keyword_manager< strategy_t >::ARITHMETIC_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| blue_sky::keyword_manager< strategy_t >::BLUE_SKY_TYPE_DECL_T | ( | keyword_manager< strategy_t > | ) |
blue-sky type declaration
| static void blue_sky::keyword_manager< strategy_t >::COORD_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::DATE_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::DATES_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::DENSITY_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::DIMENS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::EQLDIMS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::EQUIL_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::event_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
Handling of event keywords.
| static void blue_sky::keyword_manager< strategy_t >::float_array_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::GAS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| boost::posix_time::ptime blue_sky::keyword_manager< strategy_t >::get_starting_date | ( | ) | [inline] |
Returns starting date.
| void blue_sky::keyword_manager< strategy_t >::handle_keyword | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) |
Handles keyword, call proper handler.
| void blue_sky::keyword_manager< strategy_t >::init | ( | ) | [inline] |
Registers built-in keyword and keywords from plugins.
| static void blue_sky::keyword_manager< strategy_t >::int_array_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
Following functions are keyword handlers General functions for pooled keyword handle
| bool blue_sky::keyword_manager< strategy_t >::is_keyword_activated | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | const |
Returns true if any handler binded to keyword.
| keyword | Keyword name | |
| params |
| bool blue_sky::keyword_manager< strategy_t >::is_keyword_supported | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | const |
Returns true if keyword supported by plugins.
| keyword | Keyword name | |
| params |
| static void blue_sky::keyword_manager< strategy_t >::MINPV_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::MINSV_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::OIL_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PBVD_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PROCESS_PARAMS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PRVD_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PVDG_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PVDO_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PVTO_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::PVTW_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::REGDIMS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| void blue_sky::keyword_manager< strategy_t >::register_keyword | ( | const std::string & | keyword, | |
| const shared_handler_t & | handler | |||
| ) |
Registers active keyword in factory.
| keyword | Keyword name | |
| handler | Instance of object which implements keyword handler interface |
| void blue_sky::keyword_manager< strategy_t >::register_keyword | ( | const std::string & | keyword, | |
| keyword_handler | handler | |||
| ) |
Registers active keyword in factory.
| keyword | Keyword name | |
| handler | Keyword handler description |
| void blue_sky::keyword_manager< strategy_t >::register_keywords | ( | ) |
Registers built-in keywords.
| void blue_sky::keyword_manager< strategy_t >::register_plugin_keywords | ( | ) |
Registers keyword from plugins.
| void blue_sky::keyword_manager< strategy_t >::register_supported_keyword | ( | const std::string & | keyword, | |
| const std::string & | provider | |||
| ) |
Registers supported keyword by plugins in factory.
| keyword | Keyword name | |
| provider |
| static void blue_sky::keyword_manager< strategy_t >::REGNUM_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::RELATIVE_PERM_DEFAULT_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::REPORTFILE_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::REPORTS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::REPORTSCREEN_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::RESTART_handler | ( | const std::string & | , | |
| keyword_params_t & | ||||
| ) | [inline, static, private] |
| static void blue_sky::keyword_manager< strategy_t >::ROCK_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::ROCKCOMP_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::ROCKTAB_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::RSVD_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::SGFN_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::SGOF_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::SOF2_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::SOF3_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::START_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::STONE1_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::STONE2_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::SWFN_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::SWOF_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::TABDIMS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::TITLE_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
Named keywords.
| static void blue_sky::keyword_manager< strategy_t >::TSTEP_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::TSTEPS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::UNITS_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::WATER_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| static void blue_sky::keyword_manager< strategy_t >::WELLDIMS_handler | ( | const std::string & | , | |
| keyword_params_t & | ||||
| ) | [inline, static, private] |
| static void blue_sky::keyword_manager< strategy_t >::ZCORN_handler | ( | const std::string & | keyword, | |
| keyword_params_t & | params | |||
| ) | [static, private] |
| boost::posix_time::ptime blue_sky::keyword_manager< strategy_t >::current_date |
temp variable for date and event_handlers
| handlers_t blue_sky::keyword_manager< strategy_t >::handlers |
Handlers map for active keywords.
| boost::posix_time::ptime blue_sky::keyword_manager< strategy_t >::starting_date |
temp variable for date and event_handlers
| supported_keywords_t blue_sky::keyword_manager< strategy_t >::supported_keywords |
All keywords supported by different plugins.
1.5.8