LSSTApplications  11.0-24-g0a022a1,14.0+66,14.0-1-g13ef843+10,14.0-1-g4b114ac+15,14.0-1-g6829aa7+6,14.0-1-g7257b6a+13,14.0-1-g8b7e855+58,14.0-1-ga19a712+4,14.0-1-gfce6a49+6,14.0-10-g2094653+2,14.0-10-g81837af+6,14.0-14-g87d16e8+11,14.0-17-g5b2b7de,14.0-18-gf7dca964+4,14.0-2-g319577b+12,14.0-2-g519ff97+6,14.0-2-ga5af9b6+11,14.0-21-gb9e430a+2,14.0-25-g43e3b9d,14.0-4-g3609236+4,14.0-5-g744ff5f+3,14.0-52-g00a5fa4c+1,14.0-52-g19103d347+1,14.0-6-ge2c9487+49,14.0-7-g0d69b06+6,14.0-7-ge5b0628+4,14.0-8-g7f6dd6b+6,14.0-9-g11010eb+1
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 
49 #endif