Functions | Variables
messagefacility/messagefacility/MessageService/doc/cfg_validation.txt File Reference

Functions

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO DEBUG (Note that default is NOT present here) Within a default PSet at the main level
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO only the following non PSets are which stem from being able to establish defaults for only the following(all non-PSets) are allowed ParameterSet trackedPart () const
 
bool empty () const
 
the above two in tandem give us a way to check that everything is untracked size_t getParameterSetNames (std::vector< std::string > &output, bool trackiness=true) const
 
bool exists (std::string const &parameterName) const
 checks if a parameter exists More...
 
template<typename T >
bool existsAs (std::string const &parameterName, bool trackiness=true) const
 checks if a parameter exists as a given type More...
 
we have validateDestinationPSet ().And the various overall lists can be validated in context of the other lists.We ask whether a parameter exists as the expected type before looking at its value
 

Variables

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a job
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by hand
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are allowed
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A category
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following keywords
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default Note
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet However
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default desitnation
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main level
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics vstring
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are errors
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination PSet
 
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO only the following non PSets are which stem from being able to establish defaults for categories
 
that way
 

Function Documentation

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO DEBUG ( Note that default is NOT present  here)
bool empty ( ) const

Definition at line 1325 of file fhiclcpp_threading_notes_supporting_details.txt.

1325  : bool
1326  + exists(string const& name) const : bool
1327  + erase(string const& name, bool in_prolog = false) : void
1328  + get(string const& name) : template<typename T> T
1329  + put(string const& name, string const& value, bool in_prolog = false) : bool
1330  + put(string const& name, char const* value, bool in_prolog = false) : bool
1331  + put(string const& name, bool value, bool in_prolog = false) : bool
1332  + put(string const& name, complex<T> const& value, bool in_prolog = false) : template<typename T> bool
1333  + put(string const& name, vector<T> const& value, bool in_prolog = false) : template<typename T> bool
1334  + put( string const& name, T value, bool in_prolog = false) : template<typename T> typename enable_if<tt::is_numeric<T>::value, bool>::type
1335  + putEmptySequence(string const& name, bool in_prolog = false) : bool
1336  + putEmptyTable(string const& name, bool in_prolog = false) : bool
1337  + putNil(string const& name, bool in_prolog = false) : bool
1338 
1339  + begin() const : const_iterator
1340  + end() const : const_iterator
1341 
1342  + insert(string const& name, bool in_prolog, value_tag tag, boost::any const& value) : bool
1343  + insert(string const& name, extended_value const& value) : bool
1344  + insert(string const& name, extended_value&& value) : bool
1345 
1347  + locate(string const& name) : extended_value*
1348  + update(string const& name) : extended_value&
1349 
1350 -----
1351 
1353 
1354 -----
1355 
1356 + get_regex_replace_str(string const& istr) : string const { static regex const r("\\[|\\]"); auto ostr = regex_replace(istr, r, "\\$&"); return ostr; }
1357 
1358 struct Name
1359 
1360  + value : string
1361 
1362  - index(size_t const i) static : string { return "[" + to_string(i) + "]"; }
1363  + sequence_element(size_t const i) static : Name { return Name{index(i)}; }
1364  + sequence_element(string const& key_stem, size_t const i) static : Name { return Name{key_stem + index(i)}; }
1365  + regex_safe(string const& key) static : string { return fhicl::get_regex_replace_str(key); }
1366 
1367  + Name(string const& name = "") explicit : value(name) {}
std::string const get_regex_replace_str(std::string const &istr)
Definition: Name.cc:8
std::is_arithmetic< T > is_numeric
Definition: type_traits.h:72
void Validation()
Definition: Validation.cpp:272
Definition: InputTag.h:8
size_t i(0)
std::string string
Definition: nybbler.cc:12
std::pair< std::string, double > Parameter
bool exists(std::string path)
The Standard available from< memory > inherited from C(deprecated)*``std event put(std::move(myProdPtr))
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
Definition: type_traits.h:56
auto get(MyTuple< T... > const &t) -> decltype(auto)
extended_value(bool in_prolog, value_tag tag, boost::any value, Protection protection, string const &src={})
auto begin(Data< Value > const &data)
these are called *plugin *libraries Plugin libraries are loaded by the *LibraryManager *see above The source file in which a module is implemented must be named< module > _plugin cc It must contain an invocation of the *DEFINE_EDM_PLUGIN *macro The *DEFINE_EDM_PLUGIN *macro is responsible for writing the appropriate *factory **function and that takes a const reference to a *ParameterSet *and that returns a newly created instance of the associated module type
auto end(Data< Value > const &data)
keys erase(remove(keys.begin(), keys.end(),""), keys.end())
This is the output of a fcl file normally held as a data member of an intermediate_table The structure is recursive and may hold and TABLEID enum Protection PROTECT_IGNORE PROTECT_ERROR unsigned char NONE to_string(Protection p)
mapping_ boost::any THREADING all three data members must be interlocked against writers string THREADING all three data members must be interlocked against writers bool annotate const
std::string Name
const double T[4]
Definition: LAr.C:73
thus any information present in the drop and needed by the server needs to be added into the ErrorObject that will cross the client server boundary MessageLogger h uses the MessageDrop in the LogDebug macro to learn the value of debugEnabled If debugEnabled is set to false
bool exists ( std::string const parameterName) const

checks if a parameter exists

template<typename T >
bool existsAs ( std::string const parameterName,
bool  trackiness = true 
) const

checks if a parameter exists as a given type

Definition at line 208 of file cfg_validation.txt.

208  {
209  std::vector<std::string> names = getParameterNamesForType<T>(trackiness);
210  return std::find(names.begin(), names.end(), parameterName) != names.end();
211  }
and for the C binding for for a description of how the parameter values associated with these parameter names are available to C programs Top level names
Definition: PARAMETERS.txt:29
the above two in tandem give us a way to check that everything is untracked size_t getParameterSetNames ( std::vector< std::string > &  output,
bool  trackiness = true 
) const
Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO only the following non PSets are which stem from being able to establish defaults for only the following (all non-PSets) are allowed ParameterSet trackedPart ( ) const
we have validateDestinationPSet ( )

Variable Documentation

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO only the following non PSets are allowed

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level ERROR WARNING INFO only the following non PSets are which stem from being able to establish defaults for categories

Definition at line 85 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A category

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default desitnation

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are errors

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by hand

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet However

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a job

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination only the following non PSets are only the following PSets are as listed in the vstring categories or messageIDs One of the following keywords

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main level

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default Note

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories duplicate names or names matching one of the destinations or statistics or fwkJobReports or a keyword Any destination or category is used as anything other than a PSet debugModules vstring suppressInfo vstring suppressDebug vstring suppressWarning vstring The following are only the following non PSets non vstrings are only the following PSets are as listed in the vstring categories or messageIDs One of the following which are valid as PSets at this level default ERROR WARNING INFO DEBUG Within a destination PSet

Definition at line 6 of file cfg_validation.txt.

Design of validation for the cfg PSet for the MessageService The following errors in configuring the message service should be detected and reported rather than proceeding with a because the mysterious behavior they cause is too tough to track down by only the following PSets are as listed in the vstring destinations A as listed in the vstring categories or messageIDs One of the following which are valid as PSets at the main level default not a category PSet for the default At the main only the following vstrings are duplicate names In the statistics duplicate names In the fwkJobReports duplicate names In the categories vstring

Definition at line 6 of file cfg_validation.txt.

that way

Definition at line 225 of file cfg_validation.txt.