Elements  6.2
A C++ base framework for the Euclid Software.
Macros
Export.h File Reference

defines the macros to be used for explicit export of the symbols More...

#include "ElementsKernel/Attribute.h"
Include dependency graph for Export.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

defines the macros to be used for explicit export of the symbols

Date
Nov 4, 2013
Author
: Hubert Degaudenzi - The Euclid Consortium

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:

ELEMENTS_API void func() ;

and for the classes:

class ELEMENTS_API MyClasse { ...

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.

ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74