LSSTApplications  21.0.0+1b62c9342b,21.0.0+4a36882ba2,21.0.0-1-ga51b5d4+2c88556dba,21.0.0-17-gf9a0284+69dd6c2060,21.0.0-2-g103fe59+d751821c91,21.0.0-2-g1367e85+ad4ce71c09,21.0.0-2-g2909d54+4a36882ba2,21.0.0-2-g45278ab+1b62c9342b,21.0.0-2-g4bc9b9f+56aff0fea6,21.0.0-2-g5242d73+ad4ce71c09,21.0.0-2-g54e2caa+dde81d9b0d,21.0.0-2-g66bcc37+905c13b855,21.0.0-2-g7f82c8f+ae0b31d2cf,21.0.0-2-g8dde007+5461f6ec49,21.0.0-2-g8f08a60+05ed0ab9e4,21.0.0-2-g973f35b+b1744c1cf5,21.0.0-2-ga326454+ae0b31d2cf,21.0.0-2-ga63a54e+c659dddc9d,21.0.0-2-ga885a99+4aa8b35973,21.0.0-2-gc738bc1+96c5b647eb,21.0.0-2-gde069b7+d0bdec52a8,21.0.0-2-ge17e5af+ad4ce71c09,21.0.0-2-ge712728+f9003e3bc5,21.0.0-2-gecfae73+e945072e23,21.0.0-2-gfc62afb+ad4ce71c09,21.0.0-21-g006371a9+8d72e8ff79,21.0.0-3-g4c5b185+b08abf4bf6,21.0.0-3-g5051ac2+1b62c9342b,21.0.0-3-g6d51c4a+905c13b855,21.0.0-3-gaa929c8+2605bebd58,21.0.0-3-gd222c45+21ef063859,21.0.0-3-gd5de2f2+905c13b855,21.0.0-4-g8a80011+3e4520b944,21.0.0-5-gb7080ec+f575c71e2b,21.0.0-5-gcff38f6+b82b996a2d,21.0.0-6-gd3283ba+2605bebd58,21.0.0-8-g19111d86+0648bf24f8,21.0.0-8-gd9c33f4a0+ec3713772a,w.2021.03
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