35 #ifndef LSST_PEX_POLICY_URNPOLICYFILE_H 36 #define LSST_PEX_POLICY_URNPOLICYFILE_H 86 bool strictUrn=
false,
bool strictLoads=
true)
101 bool strictUrn=
false);
110 bool strictUrn=
false);
119 bool strictUrn=
false);
145 #endif // LSST_PEX_POLICY_URNPOLICYFILE_H static std::string reposFromUrn(const std::string &urn, bool strictUrn=false)
Extract the repository name from a URN, or "" if none.
UrnPolicyFile(const std::string &urn, bool strictUrn=false, bool strictLoads=true)
Construct a new policy file reference from a URN.
static const std::string URN_PREFIX_ABBREV
The prefix that a Policy URN starts with.
A Policy file in the installation directory of an LSST product, referred to using a URN...
the definition of the DefaultPolicyFile class
a representation of a default Policy file that is stored as a file in the installation directory of a...
static std::string filePathFromUrn(const std::string &urn, bool strictUrn=false)
Extract the local file path from a URN.
A base class for image defects.
static const std::string URN_PREFIX
The prefix that a Policy URN starts with.
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?
static std::string productNameFromUrn(const std::string &urn, bool strictUrn=false)
Extract the product name from a URN.