LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Macros
base.h File Reference
#include "boost/shared_ptr.hpp"

Go to the source code of this file.

Macros

#define LSST_WHITESPACE   /* White space to avoid swig converting vector<PTR(XX)> into vector<shared_ptr<XX>> */
 
#define PTR(...)   boost::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
 
#define CONST_PTR(...)   boost::shared_ptr<const __VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
 

Detailed Description

Basic LSST definitions

Definition in file base.h.

Macro Definition Documentation

#define CONST_PTR (   ...)    boost::shared_ptr<const __VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE

A shared pointer to a const object

See Also
PTR

Definition at line 47 of file base.h.

#define LSST_WHITESPACE   /* White space to avoid swig converting vector<PTR(XX)> into vector<shared_ptr<XX>> */

A shared pointer to an object

Note
Using this macro is preferable to the Ptr typedef in type T as no definition of T need be provided, a forward definition (class T;) is sufficient
See Also
CONST_PTR

Definition at line 40 of file base.h.

#define PTR (   ...)    boost::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
Examples:
spatialCellExample.cc, and splineInterpolate.cc.

Definition at line 41 of file base.h.