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
Public Member Functions | List of all members
lsst::daf::base::PersistentCitizenScope Class Reference

#include <Citizen.h>

Inheritance diagram for lsst::daf::base::PersistentCitizenScope:

Public Member Functions

 PersistentCitizenScope ()
 
 ~PersistentCitizenScope ()
 

Detailed Description

A PersistentCitizenScope object causes all Citizen objects created during its lifetime to be marked as persistent. This is useful when constructing static objects that contain a heirarchy of other Citizens which would otherwise need to be marked persistent on an individual basis.

See Also
Citizen::markPersistent()

Definition at line 132 of file Citizen.h.

Constructor & Destructor Documentation

lsst::daf::base::PersistentCitizenScope::PersistentCitizenScope ( )

Definition at line 491 of file Citizen.cc.

491  {
493 }
static bool & _shouldPersistCitizens()
Set the NewCallback function.
Definition: Citizen.cc:473
lsst::daf::base::PersistentCitizenScope::~PersistentCitizenScope ( )

Definition at line 495 of file Citizen.cc.

495  {
497 }
static bool & _shouldPersistCitizens()
Set the NewCallback function.
Definition: Citizen.cc:473

The documentation for this class was generated from the following files: