39 # define __attribute__(x)
51 namespace persistence {
84 size_t loc = _path.find_last_of(
'[');
85 if (loc == std::string::npos) {
89 _hdu = strtol(_path.substr(loc + 1).c_str(), 0, 10);
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 FitsStorage class.
virtual void startTransaction(void)
Start a transaction.
std::string const & locString(void) const
Accessor.
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.
Interface for LogicalLocation class.
virtual ~FitsStorage(void)
Destructor.