LSSTApplications  19.0.0-14-gb0260a2+68bfa11c34,20.0.0+086b43cd67,20.0.0+093e6caacb,20.0.0+12bf381a60,20.0.0+2265fde9c2,20.0.0+2410202d2f,20.0.0+38e2ebd2ba,20.0.0+5ac5138cd9,20.0.0+8558dd3f48,20.0.0+8b95c2cd60,20.0.0+a6ef1a7565,20.0.0+f04c5167f2,20.0.0+f45b7d88f4,20.0.0-1-g10df615+d3aaac17d9,20.0.0-1-g253301a+086b43cd67,20.0.0-1-g2b7511a+38e2ebd2ba,20.0.0-1-g4d801e7+38e9bbfa1f,20.0.0-1-g5b95a8c+473554d6f7,20.0.0-1-gc96f8cb+5ac5138cd9,20.0.0-1-gd1c87d7+bd8eb6ed31,20.0.0-10-g142674a+5ac5138cd9,20.0.0-13-ge998c5c+fac5daeba0,20.0.0-2-g5ad0983+e44bd70341,20.0.0-2-g7818986+bd8eb6ed31,20.0.0-2-gb095acb+ff88705a28,20.0.0-2-gdaeb0e8+532b3751e1,20.0.0-2-gec03fae+01e3669f2c,20.0.0-20-gbb9d1f89+598b390d6c,20.0.0-37-g38a3e24+799acde9b7,20.0.0-4-g4a2362f+f45b7d88f4,20.0.0-4-gfea843c+f45b7d88f4,20.0.0-5-ge4b5253+402718a799,20.0.0-5-gfcebe35+2107fc6b2a,20.0.0-6-g01203fff+9f9b49a85c,20.0.0-7-geef20c811+1caa149b74,20.0.0-8-gea2affd+772366849d,20.0.0-9-gabd0d4c+e44bd70341,w.2020.34
LSSTDataManagementBasePackage
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
25 
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
42 
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