LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Namespaces | Classes | Functions
lsst::pex::policy Namespace Reference

Namespaces

 paf
 
 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
 
class  DictionaryError
 
class  NameNotFound
 
class  TypeError
 
class  ParserError
 
class  EOFError
 
class  SyntaxError
 
class  FormatSyntaxError
 
class  UnsupportedSyntax
 
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
 
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. This class is used by the PolicySource class to determine the format of a stream of serialized Policy data and then parse it into a Policy instance. It is intended that for supported each format there is an implementation of this class and a corresponding PolicyParser class. More...
 
class  PolicySource
 an abstract class representing a source of serialized Policy parameter data. This might be a file or a stream; sub-classes handle the different possibilities. This class can determine which format the data is in (which may involve reading the first few characters) and load it into a Policy. More...
 
class  PolicyStreamDestination
 
class  PolicyString
 a representation of a string containing Policy parameter data More...
 
class  PolicyStringDestination
 
class  PolicyWriter
 
class  SupportedFormats
 a list of supported Policy formats. It can be used to determine the format type for a Policy data stream. 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)
 

Function Documentation

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

Definition at line 890 of file Policy.h.

890  {
891  p.print(os);
892  return os;
893 }
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 
)