LSST Applications  21.0.0-1-g8760c09+64c1bc5aa5,21.0.0-1-ga51b5d4+9915f4c1f0,21.0.0-117-gc411b24e+f84ddc296e,21.0.0-14-g3bd782b+16b33694c2,21.0.0-18-gdfc0191+ecbc221302,21.0.0-2-g103fe59+df8d4d8d23,21.0.0-2-g45278ab+64c1bc5aa5,21.0.0-2-g5242d73+2292060af2,21.0.0-2-g7f82c8f+6f93c05343,21.0.0-2-gde069b7+4f46bdaea8,21.0.0-2-gfc62afb+2292060af2,21.0.0-20-g1e553c2+458274d3ec,21.0.0-20-g3b2d1f0+6435842460,21.0.0-21-g51ee50f4+981cd1fc80,21.0.0-21-gc8894c7+b39e0bca51,21.0.0-27-gcbf119a+9cedfa2013,21.0.0-3-g1b65d06+6a55181de0,21.0.0-3-g357aad2+056b41e3ab,21.0.0-3-g4a4ce7f+2292060af2,21.0.0-3-g4be5c26+2292060af2,21.0.0-3-ge02ed75+b39e0bca51,21.0.0-3-gf9d8b05+6f93c05343,21.0.0-31-gbc33d95d+283f9bd92d,21.0.0-4-g7dab645+6975c8242f,21.0.0-46-g27369044f+532d44eec1,21.0.0-5-g5f8d297+1eaad2dc21,21.0.0-5-g8c1d971+7e5b4c34a6,21.0.0-5-gcc89fd6+b18c5f6b76,21.0.0-5-gd00fb1e+78c370a642,21.0.0-6-g1930a60+b18c5f6b76,21.0.0-6-gc675373+2292060af2,21.0.0-7-g0503b2e+18535a8d22,21.0.0-7-g7aa11f2+b39e0bca51,21.0.0-7-g997b569+8c09b75fa7,21.0.0-7-gdf92d54+64c1bc5aa5,21.0.0-9-g7058be7+2d726afa20,master-ga86695c5c8+b39e0bca51,master-gcc5351303a+df8d4d8d23,w.2021.26
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