LSSTApplications  11.0-24-g0a022a1,14.0+65,15.0,15.0+1,15.0+2,15.0+4,15.0-1-g14e9bfd,15.0-1-g1eca518+3,15.0-1-g499c38d+3,15.0-1-g60afb23+1,15.0-1-g6668b0b,15.0-1-g788a293+1,15.0-1-g82223af+3,15.0-1-ga91101e+1,15.0-1-gae1598d,15.0-1-gc45031d+3,15.0-1-gd076f1f+1,15.0-1-gf4f1c34,15.0-1-gfe1617d+1,15.0-17-g0b88e3da8,15.0-2-g2010ef9+1,15.0-2-g5218728+3,15.0-2-g947dc0d+3,15.0-3-g150fc43+2,15.0-3-g9103c06,15.0-3-ga03b4ca+3,15.0-3-ga695220+4,15.0-3-gaec6799,15.0-3-gb7a597c+1,15.0-4-g0478fed+4,15.0-4-g45f767a,15.0-4-gdd339b63+1,15.0-4-gff20472+4,15.0-5-ge02c9e7e,15.0-6-ge2d9597+3
LSSTDataManagementBasePackage
Macros
base.h File Reference

Basic LSST definitions. More...

#include <memory>

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>> */
 A shared pointer to an object. More...
 
#define PTR(...)   std::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
 
#define CONST_PTR(...)   std::shared_ptr<const __VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE
 A shared pointer to a const object. More...
 

Detailed Description

Basic LSST definitions.

Definition in file base.h.

Macro Definition Documentation

◆ CONST_PTR

#define CONST_PTR (   ...)    std::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.

◆ LSST_WHITESPACE

#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.

◆ PTR

#define PTR (   ...)    std::shared_ptr<__VA_ARGS__ LSST_WHITESPACE > LSST_WHITESPACE

Definition at line 41 of file base.h.