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