LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
35 #ifndef LSST_PEX_POLICY_URNPOLICYFILE_H
36 #define LSST_PEX_POLICY_URNPOLICYFILE_H
139 #endif // LSST_PEX_POLICY_URNPOLICYFILE_H
A Policy file in the installation directory of an LSST product, referred to using a URN.
UrnPolicyFile(const std::string &urn, bool strictUrn=false, bool strictLoads=true)
Construct a new policy file reference from a URN.
a representation of a default Policy file that is stored as a file in the installation directory of a...
static bool looksLikeUrn(const std::string &s, bool strict=false)
Does s look like a URN? That is, does it start with URN_PREFIX or URN_PREFIX_ABBREV?
the definition of the DefaultPolicyFile class
static std::string filePathFromUrn(const std::string &urn, bool strictUrn=false)
Extract the local file path from a URN.
static std::string reposFromUrn(const std::string &urn, bool strictUrn=false)
Extract the repository name from a URN, or "" if none.
A base class for image defects.
static const std::string URN_PREFIX
The prefix that a Policy URN starts with.
static const std::string URN_PREFIX_ABBREV
static std::string productNameFromUrn(const std::string &urn, bool strictUrn=false)
Extract the product name from a URN.