| LSSTApplications
    20.0.0
    LSSTDataManagementBasePackage | 
 
 
 
Go to the documentation of this file.
   44     if (repos.
length() > 0) _repos /= repos;
 
   45     _file = _repos / filepath;
 
   69     productName_DIR += 
"_DIR";
 
   72     const char* ipath = getenv(productName_DIR.
c_str());
 
   76     return fs::path(ipath);
 
  
virtual void load(Policy &policy) const
load the data from this Policy source into a Policy object.
int loadPolicyFiles(bool strict=true)
Recursively replace all PolicyFile values with the contents of the files they refer to.
Reports attempts to access elements using an invalid key.
virtual boost::filesystem::path getInstallPath(const char *const productName)
return the file path to the installation directory of a given named product.
the definition of the DefaultPolicyFile class
a container for holding hierarchical configuration data in memory.
boost::filesystem::path _file
the path to the underlying policy file
A base class for image defects.
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
virtual void load(Policy &policy) const
load the data from this Policy source into a Policy object
static boost::filesystem::path installPathFor(const char *const productName)
return the file path to the installation directory of a given named product.
a representation of a file containing Policy parameter data.
DefaultPolicyFile(const char *const productName, const std::string &filepath, const std::string &repos="", bool strict=true)
define a default policy file