SAGA Adaptor CPI v.1.0
|
00001 // Copyright (c) 2005-2009 Hartmut Kaiser 00002 // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) 00003 // Copyright (c) 2005 Michel Zandstra [michelzandstra@gmail.com] 00004 // 00005 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00006 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00007 00008 #ifndef SAGA_SAGA_ADAPTORS_DIRECTORY_CPI_INSTANCE_DATA_HPP 00009 #define SAGA_SAGA_ADAPTORS_DIRECTORY_CPI_INSTANCE_DATA_HPP 00010 00011 #include <string> 00012 00013 #include <saga/saga/adaptors/config.hpp> 00014 #include <saga/saga/types.hpp> 00015 #include <saga/saga/packages/filesystem/directory.hpp> 00016 #include <saga/saga/adaptors/instance_data_base.hpp> 00017 #include <saga/saga/adaptors/packages/namespace_dir_cpi_instance_data.hpp> 00018 00020 namespace saga { namespace adaptors { namespace v1_0 00021 { 00023 // Instance data held by the SAGA engine/package 00024 // This should be used as a base class when adding additional instance 00025 // data for an adaptor. 00026 struct directory_cpi_instance_data 00027 : public namespace_dir_cpi_instance_data 00028 { 00029 directory_cpi_instance_data (saga::url location, int mode) 00030 : namespace_dir_cpi_instance_data(location, mode) 00031 { 00032 } 00033 }; 00034 00035 } } } // namespace saga::adaptors::v1_0 00037 00038 #endif // SAGA_SAGA_ADAPTORS_DIRECTORY_CPI_INSTANCE_DATA_HPP 00039