LSST Applications  21.0.0-137-gb83a959d+ed3655b548,22.0.0+11a2aa21cd,22.0.0+5e01a48229,22.0.0+64c1bc5aa5,22.0.0+7232f61ff9,22.0.0+7436aa99d4,22.0.0+afa7c1de23,22.0.0+d9cf0fe214,22.0.1-1-g1b65d06+81c16f1bcf,22.0.1-1-g7058be7+1cf78af69b,22.0.1-1-g7dab645+93c83ccaec,22.0.1-1-g87000a6+7b3a3f865e,22.0.1-1-g8760c09+64c1bc5aa5,22.0.1-1-g949febb+64c1bc5aa5,22.0.1-1-gc1211bb+b156e9107e,22.0.1-11-g977d919+4b051e1311,22.0.1-11-gc8c9b3f+0f19af481c,22.0.1-15-g1be395cc+b40e11d0d4,22.0.1-15-ge634287+afa7c1de23,22.0.1-19-g9283e855+359fbd1aa2,22.0.1-2-g8ef0a89+afa7c1de23,22.0.1-2-g92698f7+d9cf0fe214,22.0.1-2-gb66926d+7232f61ff9,22.0.1-2-gcb770ba+b9ea777ba7,22.0.1-24-g2e899d296+b05a4897c9,22.0.1-3-g7aa11f2+afa7c1de23,22.0.1-3-g8c1d971+f253ffa91f,22.0.1-3-g997b569+6ee09d4599,22.0.1-4-g1930a60+6871d0c7f6,22.0.1-4-g5b7b756+6b209d634c,22.0.1-6-ga02864e+6871d0c7f6,22.0.1-7-g3402376+61492745ce,22.0.1-9-ga0ac561+381b27b2e4,master-g5f2689bdc5+5e01a48229,w.2021.35
LSST Data Management Base Package
base.h
Go to the documentation of this file.
1 /*
2  * LSST Data Management System
3  * Copyright 2008, 2009, 2010 LSST Corporation.
4  *
5  * This product includes software developed by the
6  * LSST Project (http://www.lsst.org/).
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the LSST License Statement and
19  * the GNU General Public License along with this program. If not,
20  * see <http://www.lsstcorp.org/LegalNotices/>.
21  */
22 
23 #if !defined(LSST_BASE_BASE_H)
24 #define LSST_BASE_BASE_H 1
30 #include <memory>
31 
40 #define LSST_WHITESPACE /* White space to avoid swig converting vector<PTR(XX)> into vector<shared_ptr<XX>> */
41 #define PTR(...) std::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
47 #define CONST_PTR(...) std::shared_ptr<const __VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
48 
54 # define LSST_EXPORT __attribute__ ((visibility("default")))
55 
66 # define LSST_PRIVATE __attribute__ ((visibility("hidden")))
67 
68 #endif