blue_sky::facility_manager< strategy_t > Class Template Reference

Facilities manager. More...

#include <facility_manager.h>

Inheritance diagram for blue_sky::facility_manager< strategy_t >:

Inheritance graph
[legend]
Collaboration diagram for blue_sky::facility_manager< strategy_t >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef facility_base< strategy_t > facility_base_t
typedef well< strategy_t > well_t
typedef smart_ptr
< facility_base_t
sp_facility_t
typedef bos_val_table
< std::string, sp_facility_t
facility_map_t
typedef smart_ptr< facility_map_tsp_facility_map_t
typedef smart_ptr< well_t, true > sp_well_t
typedef smart_ptr
< data_storage_interface, true > 
sp_storage_t
typedef facility_map_t::iterator facility_iterator_t
typedef
facility_map_t::const_iterator 
facility_const_iterator_t
typedef facility_iterator_t well_iterator_t
typedef facility_const_iterator_t well_const_iterator_t

Public Member Functions

sp_well_t get_well (const std::string &group_name, const std::string &well_name) const
 Returns well with name well_name which belongs to group group_name.
sp_well_t get_well (const std::string &well_name) const
 Returns first well with name well_name.
void add_well (const sp_well_t &well)
 Adds well.
void save_data (const sp_storage_t &storage) const
 Saves facilities data to storage.
well_const_iterator_t wells_begin () const
 Returns begin iterator.
well_const_iterator_t wells_end () const
 Returns end iterator.
 BLUE_SKY_TYPE_DECL_T (facility_manager)
 blue-sky type declaration

Private Attributes

sp_facility_map_t facility_list_
 List of facilities.


Detailed Description

template<typename strategy_t>
class blue_sky::facility_manager< strategy_t >

Facilities manager.

Member Typedef Documentation

template<typename strategy_t>
typedef facility_base<strategy_t> blue_sky::facility_manager< strategy_t >::facility_base_t

template<typename strategy_t>
typedef facility_map_t::const_iterator blue_sky::facility_manager< strategy_t >::facility_const_iterator_t

template<typename strategy_t>
typedef facility_map_t::iterator blue_sky::facility_manager< strategy_t >::facility_iterator_t

template<typename strategy_t>
typedef bos_val_table<std::string, sp_facility_t> blue_sky::facility_manager< strategy_t >::facility_map_t

template<typename strategy_t>
typedef smart_ptr<facility_map_t> blue_sky::facility_manager< strategy_t >::sp_facility_map_t

template<typename strategy_t>
typedef smart_ptr<facility_base_t> blue_sky::facility_manager< strategy_t >::sp_facility_t

template<typename strategy_t>
typedef smart_ptr<data_storage_interface, true> blue_sky::facility_manager< strategy_t >::sp_storage_t

template<typename strategy_t>
typedef smart_ptr<well_t, true> blue_sky::facility_manager< strategy_t >::sp_well_t

template<typename strategy_t>
typedef facility_const_iterator_t blue_sky::facility_manager< strategy_t >::well_const_iterator_t

template<typename strategy_t>
typedef facility_iterator_t blue_sky::facility_manager< strategy_t >::well_iterator_t

template<typename strategy_t>
typedef well<strategy_t> blue_sky::facility_manager< strategy_t >::well_t


Member Function Documentation

template<typename strategy_t>
void blue_sky::facility_manager< strategy_t >::add_well ( const sp_well_t well  ) 

Adds well.

Parameters:
well Instance of well to be added

template<typename strategy_t>
blue_sky::facility_manager< strategy_t >::BLUE_SKY_TYPE_DECL_T ( facility_manager< strategy_t >   ) 

blue-sky type declaration

template<typename strategy_t>
sp_well_t blue_sky::facility_manager< strategy_t >::get_well ( const std::string &  well_name  )  const

Returns first well with name well_name.

Parameters:
well_name Name of well
Returns:
Instance of well or null pointer if not exists

template<typename strategy_t>
sp_well_t blue_sky::facility_manager< strategy_t >::get_well ( const std::string &  group_name,
const std::string &  well_name 
) const

Returns well with name well_name which belongs to group group_name.

Parameters:
group_name Name of group
well_name Name of well
Returns:
Instance of well or null pointer if not exists

template<typename strategy_t>
void blue_sky::facility_manager< strategy_t >::save_data ( const sp_storage_t storage  )  const

Saves facilities data to storage.

Parameters:
storage 

template<typename strategy_t>
well_const_iterator_t blue_sky::facility_manager< strategy_t >::wells_begin (  )  const

template<typename strategy_t>
well_const_iterator_t blue_sky::facility_manager< strategy_t >::wells_end (  )  const


Member Data Documentation

template<typename strategy_t>
sp_facility_map_t blue_sky::facility_manager< strategy_t >::facility_list_ [private]

List of facilities.


The documentation for this class was generated from the following file:

Generated on Fri Nov 13 12:07:13 2009 for TheBSEagleProject by  doxygen 1.5.8