lsst.pex.policy  13.0-1-g47a359c+18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Classes | Functions
lsst::pex::policy Namespace Reference

Namespaces

 paf
 
 policy
 
 version
 

Classes

class  DefaultPolicyFile
 a representation of a default Policy file that is stored as a file in the installation directory of an LSST product. More...
 
class  BadNameError
 an exception thrown when Policy parameter name has an illegal form. More...
 
class  DictionaryError
 There is a problem with a dictionary. More...
 
class  NameNotFound
 an exception indicating that a policy parameter of a given name can not be found in a Policy object. More...
 
class  TypeError
 an exception indicating that a policy parameter with a given name has a type different from the one that was requested. More...
 
class  ParserError
 an parent exception for errors that occur during the parsing of policy files. More...
 
class  EOFError
 an exception indicated that the stream being parsed ended prematurely. More...
 
class  SyntaxError
 an exception thrown because a general syntax error was encountered. More...
 
class  FormatSyntaxError
 an exception thrown because a syntax error specific to the format being parsed was encountered. More...
 
class  UnsupportedSyntax
 an exception thrown because syntax was encountered that is legal for the format being parsed but which is not supported for encoding Policies. More...
 
class  Policy
 a container for holding hierarchical configuration data in memory. More...
 
class  PolicyConfigured
 an interface to indicate that a class is configured with a Policy More...
 
class  PolicyDestination
 a class representing a destination to serialize Policy parameter data to. More...
 
class  PolicyFile
 a representation of a file containing Policy parameter data. More...
 
class  PolicyParser
 an abstract class for parsing serialized Policy data and loading it into a Policy object. More...
 
class  PolicyParserFactory
 an abstract factory class for creating PolicyParser instances. More...
 
class  PolicySource
 an abstract class representing a source of serialized Policy parameter data. More...
 
class  PolicyStreamDestination
 a generic stream destination for policy data More...
 
class  PolicyString
 a representation of a string containing Policy parameter data More...
 
class  PolicyStringDestination
 a generic stream destination for policy data More...
 
class  PolicyWriter
 An abstract interface for writing policy data to streams. More...
 
class  SupportedFormats
 a list of supported Policy formats. More...
 
class  UrnPolicyFile
 A Policy file in the installation directory of an LSST product, referred to using a URN. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Policy &p)
 
template<>
std::string Policy::getValue< std::string > (const std::string &name) const
 
template<>
Policy::FilePtr Policy::getValue< Policy::FilePtr > (const std::string &name) const
 
template<>
Policy::ConstPtr Policy::getValue< Policy::ConstPtr > (const std::string &name) const
 
template<>
std::vector< std::string > Policy::getValueArray< std::string > (const std::string &name) const
 
template<>
Policy::FilePtrArray Policy::getValueArray< Policy::FilePtr > (const std::string &name) const
 
template<>
Policy::PolicyPtrArray Policy::getValueArray< Policy::Ptr > (const std::string &name) const
 
template<>
Policy::ConstPolicyPtrArray Policy::getValueArray< Policy::ConstPtr > (const std::string &name) const
 
template<>
Policy::ValueType Policy::getValueType< std::string > ()
 
template<>
Policy::ValueType Policy::getValueType< Policy::FilePtr > ()
 
template<>
Policy::ValueType Policy::getValueType< Policy::Ptr > ()
 
template<>
Policy::ValueType Policy::getValueType< Policy::ConstPtr > ()
 
template<>
void Policy::setValue< std::string > (const std::string &name, const std::string &value)
 
template<>
void Policy::setValue< Policy::Ptr > (const std::string &name, const Policy::Ptr &value)
 
template<>
void Policy::setValue< Policy::FilePtr > (const std::string &name, const Policy::FilePtr &value)
 
template<>
void Policy::addValue< std::string > (const std::string &name, const std::string &value)
 
template<>
void Policy::addValue< Policy::Ptr > (const std::string &name, const Policy::Ptr &value)
 
template<>
void Policy::addValue< Policy::FilePtr > (const std::string &name, const Policy::FilePtr &value)
 
 PYBIND11_PLUGIN (defaultPolicyFile)
 
 PYBIND11_PLUGIN (dictionary)
 
 PYBIND11_PLUGIN (policy)
 
 PYBIND11_PLUGIN (policyFile)
 
 PYBIND11_PLUGIN (policySource)
 
 PYBIND11_PLUGIN (policyString)
 
 PYBIND11_PLUGIN (policyStringDestination)
 
 PYBIND11_PLUGIN (supportedFormats)
 
 PYBIND11_PLUGIN (urnPolicyFile)
 

Function Documentation

std::ostream& lsst::pex::policy::operator<< ( std::ostream &  os,
const Policy &  p 
)
inline

Definition at line 890 of file Policy.h.

template<>
void lsst::pex::policy::Policy::addValue< Policy::FilePtr > ( const std::string &  name,
const Policy::FilePtr &  value 
)
template<>
void lsst::pex::policy::Policy::addValue< Policy::Ptr > ( const std::string &  name,
const Policy::Ptr &  value 
)
template<>
void lsst::pex::policy::Policy::addValue< std::string > ( const std::string &  name,
const std::string &  value 
)
template<>
Policy::ConstPtr lsst::pex::policy::Policy::getValue< Policy::ConstPtr > ( const std::string &  name) const
template<>
Policy::FilePtr lsst::pex::policy::Policy::getValue< Policy::FilePtr > ( const std::string &  name) const
template<>
std::string lsst::pex::policy::Policy::getValue< std::string > ( const std::string &  name) const
template<>
Policy::FilePtrArray lsst::pex::policy::Policy::getValueArray< Policy::FilePtr > ( const std::string &  name) const
template<>
Policy::PolicyPtrArray lsst::pex::policy::Policy::getValueArray< Policy::Ptr > ( const std::string &  name) const
template<>
std::vector<std::string> lsst::pex::policy::Policy::getValueArray< std::string > ( const std::string &  name) const
template<>
void lsst::pex::policy::Policy::setValue< Policy::FilePtr > ( const std::string &  name,
const Policy::FilePtr &  value 
)
template<>
void lsst::pex::policy::Policy::setValue< Policy::Ptr > ( const std::string &  name,
const Policy::Ptr &  value 
)
template<>
void lsst::pex::policy::Policy::setValue< std::string > ( const std::string &  name,
const std::string &  value 
)
lsst::pex::policy::PYBIND11_PLUGIN ( supportedFormats  )

Definition at line 33 of file supportedFormats.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( policySource  )

Definition at line 33 of file policySource.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( policyString  )

Definition at line 34 of file policyString.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( policyFile  )

Definition at line 34 of file policyFile.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( policyStringDestination  )

Definition at line 34 of file policyStringDestination.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( defaultPolicyFile  )

Definition at line 35 of file defaultPolicyFile.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( urnPolicyFile  )

Definition at line 35 of file urnPolicyFile.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( dictionary  )

Definition at line 37 of file dictionary.cc.

lsst::pex::policy::PYBIND11_PLUGIN ( policy  )

Definition at line 41 of file policy.cc.