LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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.