25 #ifndef LSST_MWI_PERSISTENCE_FITSSTORAGE_H
26 #define LSST_MWI_PERSISTENCE_FITSSTORAGE_H
50 namespace persistence {
54 typedef std::shared_ptr<FitsStorage>
Ptr;
59 virtual void setPolicy(lsst::pex::policy::Policy::Ptr policy);
66 virtual std::string
const&
getPath(
void);
Class for logical location of a persisted Persistable instance.
virtual int getHdu(void)
Return the HDU to read from the FITS file.
virtual std::string const & getPath(void)
Return the pathname for the FITS file.
virtual void setRetrieveLocation(LogicalLocation const &location)
Set the source of the FITS file for retrieval.
Interface for Storage abstract base class.
Class for FITS file storage.
virtual void startTransaction(void)
Start a transaction.
FitsStorage(void)
Constructor.
virtual void setPersistLocation(LogicalLocation const &location)
Set the destination of the FITS file for persistence.
virtual void endTransaction(void)
End a transaction.
virtual void setPolicy(lsst::pex::policy::Policy::Ptr policy)
Allow a Policy to be used to configure the FitsStorage.
std::shared_ptr< FitsStorage > Ptr
virtual ~FitsStorage(void)
Destructor.
Abstract base class for storage implementations.