LSSTApplications
19.0.0+10,19.0.0+80,19.0.0-1-g20d9b18+31,19.0.0-1-g49a97f9+4,19.0.0-1-g8c57eb9+31,19.0.0-1-g9a028c0+13,19.0.0-1-ga72da6b+3,19.0.0-1-gb77924a+15,19.0.0-1-gbfe0924+66,19.0.0-1-gc3516c3,19.0.0-1-gefe1d0d+49,19.0.0-1-gf8cb8b4+3,19.0.0-14-g7511ce4+6,19.0.0-16-g3dc1a33c+6,19.0.0-17-g59f0e8a+4,19.0.0-17-g9c22e3c+9,19.0.0-18-g35bb99870+2,19.0.0-19-g2772d4a+9,19.0.0-2-g260436e+53,19.0.0-2-g31cdcee,19.0.0-2-g9675b69+3,19.0.0-2-gaa2795f,19.0.0-2-gbcc4de1,19.0.0-2-gd6f004e+6,19.0.0-2-gde8e5e3+5,19.0.0-2-gff6972b+15,19.0.0-21-ge306cd8,19.0.0-21-gf122e69+2,19.0.0-3-g2d43a51+2,19.0.0-3-gf3b1435+6,19.0.0-4-g56feb96,19.0.0-4-gac56cce+17,19.0.0-49-gce872c1+1,19.0.0-5-g66946eb+6,19.0.0-5-gd8897ba+6,19.0.0-51-gfc4a647e,19.0.0-7-g686a884+5,19.0.0-7-g886f805+5,19.0.0-8-g305ff64,w.2020.17
LSSTDataManagementBasePackage
|
Basic LSST definitions. More...
#include <memory>
Go to the source code of this file.
Macros | |
#define | LSST_WHITESPACE /* White space to avoid swig converting vector<PTR(XX)> into vector<shared_ptr<XX>> */ |
A shared pointer to an object. More... | |
#define | PTR(...) std::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE |
#define | CONST_PTR(...) std::shared_ptr<const __VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE |
A shared pointer to a const object. More... | |
#define | LSST_EXPORT __attribute__ ((visibility("default"))) |
Make a symbol visible even if visiblity is hidden (e.g. More... | |
#define | LSST_PRIVATE __attribute__ ((visibility("hidden"))) |
Make a symbol hidden even if default visiblity is public. More... | |
Basic LSST definitions.
Definition in file base.h.
#define CONST_PTR | ( | ... | ) | std::shared_ptr<const __VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE |
#define LSST_EXPORT __attribute__ ((visibility("default"))) |
#define LSST_PRIVATE __attribute__ ((visibility("hidden"))) |
Make a symbol hidden even if default visiblity is public.
This implementation works for gcc and clang; it has not been tested for other compilers.
This macro should be used for most utility code for pybind11 wrapping (at least non-template, non-inline code). It can also be used in non-pybind11 code to make a symbol private to a library without also forcing it to be private to a single source file.
#define PTR | ( | ... | ) | std::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE |