SAGA Adaptor CPI v.1.0
navigator_cpi_instance_data.hpp
Go to the documentation of this file.
00001 //  Copyright (c) 2009 STFC
00002 // 
00003 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
00004 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00005 #ifndef SAGA_SAGA_ADAPTORS_NAVIGATOR_CPI_INSTANCE_DATA
00006 #define SAGA_SAGA_ADAPTORS_NAVIGATOR_CPI_INSTANCE_DATA
00007 
00008 #include <string>
00009 
00010 #include <saga/saga/adaptors/config.hpp>
00011 #include <saga/saga/types.hpp>
00012 #include <saga/saga/adaptors/instance_data_base.hpp>
00013 
00014 namespace saga { namespace adaptors { namespace v1_0
00015 {
00016 
00017    struct navigator_cpi_instance_data 
00018       : public adaptors::instance_data_base
00019    {
00020       //Location of information provider
00021       saga::url location_;
00022 
00023       //Information provider model
00024       std::string model_;
00025 
00026         // TODO: decide what other instance data
00027         // is required for the navigator
00028         navigator_cpi_instance_data (std::string model, saga::url location)
00029            : location_(location), model_(model)
00030         {
00031         }
00032    };
00033 
00034 }}}   // namespace saga::adaptors::v1_0
00035       
00036 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines