79 lines
3.0 KiB
C++
79 lines
3.0 KiB
C++
/*
|
|
openDCM, dimensional constraint manager
|
|
Copyright (C) 2013 Stefan Troeger <stefantroeger@gmx.net>
|
|
|
|
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 <boost/preprocessor/list/for_each.hpp>
|
|
#include <boost/preprocessor/cat.hpp>
|
|
#include <boost/preprocessor/list/append.hpp>
|
|
|
|
#ifdef USE_EXTERNAL
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_001 <opendcm/moduleState/edge_vertex_generator_imp.hpp>
|
|
#define DCM_EXTERNAL_001( System )\
|
|
template struct dcm::details::edge_generator<System>; \
|
|
template struct dcm::details::vertex_generator<System>; \
|
|
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_002 <opendcm/moduleState/object_generator_imp.hpp>
|
|
#define DCM_EXTERNAL_002( System )\
|
|
template struct dcm::details::obj_gen<System>; \
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_003 <opendcm/moduleState/property_generator_imp.hpp>
|
|
#define DCM_EXTERNAL_003( System )\
|
|
template struct dcm::details::vertex_prop_gen<System>; \
|
|
template struct dcm::details::edge_prop_gen<System>; \
|
|
template struct dcm::details::cluster_prop_gen<System>;
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_004 <opendcm/moduleState/generator_imp.hpp>
|
|
#define DCM_EXTERNAL_004( System )\
|
|
template struct dcm::generator<System>; \
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_005 <opendcm/moduleState/property_parser_imp.hpp>
|
|
#define DCM_EXTERNAL_005( System )\
|
|
template struct dcm::details::vertex_prop_par<System>; \
|
|
template struct dcm::details::edge_prop_par<System>; \
|
|
template struct dcm::details::cluster_prop_par<System>;
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_006 <opendcm/moduleState/object_parser_imp.hpp>
|
|
#define DCM_EXTERNAL_006( System )\
|
|
template struct dcm::details::obj_par<System>; \
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_007 <opendcm/moduleState/edge_vertex_parser_imp.hpp>
|
|
#define DCM_EXTERNAL_007( System )\
|
|
template struct dcm::details::edge_parser<System>; \
|
|
template struct dcm::details::vertex_parser<System>; \
|
|
|
|
#define DCM_EXTERNAL_INCLUDE_008 <opendcm/moduleState/parser_imp.hpp>
|
|
#define DCM_EXTERNAL_008( System )\
|
|
template struct dcm::parser<System>; \
|
|
|
|
#else
|
|
#define DCM_EXTERNALIZE( System )
|
|
#endif
|
|
|
|
#endif //DCM_EXTERNALIZE_H
|
|
|