DLLSupport.h File Reference
#include <boost/config.hpp>
#include <shark/Core/Shark.h>

Go to the source code of this file.


 Defines SHARK_COMPILE_DLL. More...

Macro Definition Documentation




Windows requires the explicit export of symbols inside a DLL otherwise DLL symbols are not available. SHARK_COMPILE_DLL is a macro that expands to nothing if SHARK_USE_DYNLIB is not defined or the compiler is not MSVC. This is the case on linux systems or if no DLL is build. Otherwise, it expands to __declspec(dllexport) or __declspec(dllimport) based on whether SHARK_COMPILE_DLL is defined.

Oswin Krause
Copyright 1995-2017 Shark Development Team

This file is part of Shark. http://shark-ml.org/

Shark 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 3 of the License, or (at your option) any later version.

Shark 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 Shark. If not, see http://www.gnu.org/licenses/.

Definition at line 42 of file DLLSupport.h.

Referenced by shark::RBFLayer::createState(), shark::CMACMap::createState(), shark::CMACMap::eval(), shark::RBFLayer::gamma(), shark::TrustRegionNewton::init(), shark::LineSearch::init(), shark::Centroids::inputShape(), shark::TrustRegionNewton::minImprovementRatio(), shark::BFGS::name(), shark::CG::name(), shark::DiscreteLoss::name(), shark::ElitistCMA::name(), shark::Centroids::name(), shark::CMA::name(), shark::CMACMap::name(), shark::RBFLayer::name(), shark::CMSA::name(), shark::CrossEntropyMethod::LinearNoise::name(), shark::RpropMinus::name(), shark::CrossEntropyMethod::name(), shark::RpropPlus::name(), shark::IRpropPlus::name(), shark::IRpropPlusFull::name(), shark::IRpropMinus::name(), shark::LinearRegression::numberOfParameters(), shark::LDA::numberOfParameters(), shark::ROC::ROC(), shark::MOEAD::serialize(), shark::RVEA::serialize(), shark::Centroids::setCentroids(), shark::LBFGS::setHistCount(), shark::FisherLDA::setWhitening(), and shark::PCA::train().