#include <stdexcept>
#include <algorithm>
#include <boost/bind.hpp>
#include "Fireworks/Core/interface/FWConfiguration.h"
Go to the source code of this file.
Functions | |
std::string | attrEscape (std::string value) |
void | streamTo (std::ostream &oTo, const FWConfiguration &iConfig, const std::string &name) |
std::string attrEscape | ( | std::string | value | ) |
Helper function to make sure we escape correctly xml entities embedded in the string value.
Definition at line 160 of file FWConfiguration.cc.
References cmsHarvester::index, and relativeConstraints::value.
Referenced by streamTo().
void streamTo | ( | std::ostream & | oTo, |
const FWConfiguration & | iConfig, | ||
const std::string & | name | ||
) |
Streaming FWConfiguration objects to xml.
Example of dump is:
<config name="top" version="1"> <string value="S1"> <string value="S2"> ... <string value="SN"> <config name="c1"> ... </configuration> <config name="c2"> ... </config> ... </config>
Streaming the top level configuration item will stream all its children.
Definition at line 214 of file FWConfiguration.cc.
References attrEscape(), FWConfiguration::keyValues(), streamTo(), AlCaHLTBitMon_QueryRunRegistry::string, FWConfiguration::stringValues(), and FWConfiguration::version().
Referenced by streamTo(), and FWConfigurationManager::writeToFile().