Elements
6.2
A C++ base framework for the Euclid Software.
|
defines the macros to be used for explicit export of the symbols More...
#include "ElementsKernel/Attribute.h"
Go to the source code of this file.
Macros | |
#define | ELEMENTS_API |
Dummy definitions for the backward compatibility mode. More... | |
#define | ELEMENTS_IMPORT |
#define | ELEMENTS_EXPORT |
#define | ELEMENTS_LOCAL |
defines the macros to be used for explicit export of the symbols
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 3.0 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
: The ELEMENTS_API macro has to be used to expose the part of the public interface of a library. It has typically to be used in the public header files. For the functions the syntax looks like:
and for the classes:
This macro will only have an effect if the global symbol hiding is active in the framework. This means that the ELEMENTS_HIDE_SYMBOLS macro has to be defined.
Definition in file Export.h.