/* openDCM, dimensional constraint manager Copyright (C) 2013 Stefan Troeger This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef DCM_EXTERNALIZE_H #define DCM_EXTERNALIZE_H #ifdef _WIN32 //warning about to long decoraded names, won't affect the code correctness #pragma warning( disable : 4503 ) #endif #include #include #include #ifdef USE_EXTERNAL #define DCM_EXTERNAL_INCLUDE_001 #define DCM_EXTERNAL_001( System )\ template struct dcm::details::edge_generator; \ template struct dcm::details::vertex_generator; \ #define DCM_EXTERNAL_INCLUDE_002 #define DCM_EXTERNAL_002( System )\ template struct dcm::details::obj_gen; \ #define DCM_EXTERNAL_INCLUDE_003 #define DCM_EXTERNAL_003( System )\ template struct dcm::details::vertex_prop_gen; \ template struct dcm::details::edge_prop_gen; \ template struct dcm::details::cluster_prop_gen; #define DCM_EXTERNAL_INCLUDE_004 #define DCM_EXTERNAL_004( System )\ template struct dcm::generator; \ #define DCM_EXTERNAL_INCLUDE_005 #define DCM_EXTERNAL_005( System )\ template struct dcm::details::vertex_prop_par; \ template struct dcm::details::edge_prop_par; \ template struct dcm::details::cluster_prop_par; #define DCM_EXTERNAL_INCLUDE_006 #define DCM_EXTERNAL_006( System )\ template struct dcm::details::obj_par; \ #define DCM_EXTERNAL_INCLUDE_007 #define DCM_EXTERNAL_007( System )\ template struct dcm::details::edge_parser; \ template struct dcm::details::vertex_parser; \ #define DCM_EXTERNAL_INCLUDE_008 #define DCM_EXTERNAL_008( System )\ template struct dcm::parser; \ #else #define DCM_EXTERNALIZE( System ) #endif #endif //DCM_EXTERNALIZE_H