lsst.pex.policy  20.0.0+38e2ebd2ba
Namespaces | Classes | Functions
lsst::pex::policy Namespace Reference

Namespaces

 paf
 
 policy
 
 version
 

Classes

class  BadNameError
 an exception thrown when Policy parameter name has an illegal form. More...
 
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  DictionaryError
 There is a problem with a dictionary. More...
 
class  EOFError
 an exception indicated that the stream being parsed ended prematurely. More...
 
class  FormatSyntaxError
 an exception thrown because a syntax error specific to the format being parsed was encountered. More...
 
class  NameNotFound
 an exception indicating that a policy parameter of a given name can not be found in a Policy object. More...
 
class  ParserError
 an parent exception for errors that occur during the parsing of policy files. 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  SyntaxError
 an exception thrown because a general syntax error was encountered. 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  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  UrnPolicyFile
 A Policy file in the installation directory of an LSST product, referred to using a URN. More...
 

Functions

std::ostreamoperator<< (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::stringPolicy::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)
 

Function Documentation

◆ operator<<()

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

Definition at line 848 of file Policy.h.

◆ Policy::addValue< Policy::FilePtr >()

template<>
void lsst::pex::policy::Policy::addValue< Policy::FilePtr > ( const std::string name,
const Policy::FilePtr value 
)

◆ Policy::addValue< Policy::Ptr >()

template<>
void lsst::pex::policy::Policy::addValue< Policy::Ptr > ( const std::string name,
const Policy::Ptr value 
)

◆ Policy::addValue< std::string >()

template<>
void lsst::pex::policy::Policy::addValue< std::string > ( const std::string name,
const std::string value 
)

◆ Policy::getValue< Policy::ConstPtr >()

◆ Policy::getValue< Policy::FilePtr >()

◆ Policy::getValue< std::string >()

◆ Policy::getValueArray< Policy::ConstPtr >()

◆ Policy::getValueArray< Policy::FilePtr >()

◆ Policy::getValueArray< Policy::Ptr >()

◆ Policy::getValueArray< std::string >()

◆ Policy::getValueType< Policy::ConstPtr >()

◆ Policy::getValueType< Policy::FilePtr >()

◆ Policy::getValueType< Policy::Ptr >()

◆ Policy::getValueType< std::string >()

◆ Policy::setValue< Policy::FilePtr >()

template<>
void lsst::pex::policy::Policy::setValue< Policy::FilePtr > ( const std::string name,
const Policy::FilePtr value 
)

◆ Policy::setValue< Policy::Ptr >()

template<>
void lsst::pex::policy::Policy::setValue< Policy::Ptr > ( const std::string name,
const Policy::Ptr value 
)

◆ Policy::setValue< std::string >()

template<>
void lsst::pex::policy::Policy::setValue< std::string > ( const std::string name,
const std::string value 
)