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