lsst.daf.base  14.0-6-gf4f1c34
Public Member Functions | List of all members
lsst::daf::base::PersistentCitizenScope Class Reference

A PersistentCitizenScope object causes all Citizen objects created during its lifetime to be marked as persistent. More...

#include <Citizen.h>

Public Member Functions

 PersistentCitizenScope ()
 
 ~PersistentCitizenScope ()
 
 PersistentCitizenScope (const PersistentCitizenScope &)=delete
 
PersistentCitizenScopeoperator= (const PersistentCitizenScope &)=delete
 
 PersistentCitizenScope (PersistentCitizenScope &&)=delete
 
PersistentCitizenScopeoperator= (PersistentCitizenScope &&)=delete
 

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 128 of file Citizen.h.

Constructor & Destructor Documentation

◆ PersistentCitizenScope() [1/3]

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

Definition at line 485 of file Citizen.cc.

◆ ~PersistentCitizenScope()

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

Definition at line 489 of file Citizen.cc.

◆ PersistentCitizenScope() [2/3]

lsst::daf::base::PersistentCitizenScope::PersistentCitizenScope ( const PersistentCitizenScope )
delete

◆ PersistentCitizenScope() [3/3]

lsst::daf::base::PersistentCitizenScope::PersistentCitizenScope ( PersistentCitizenScope &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

PersistentCitizenScope& lsst::daf::base::PersistentCitizenScope::operator= ( const PersistentCitizenScope )
delete

◆ operator=() [2/2]

PersistentCitizenScope& lsst::daf::base::PersistentCitizenScope::operator= ( PersistentCitizenScope &&  )
delete

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