1 #ifndef FWCore_ParameterSet_PluginDescription_h 2 #define FWCore_ParameterSet_PluginDescription_h 121 std::set<ParameterTypes>& parameterTypes,
122 std::set<ParameterTypes>& wildcardTypes)
const final {}
128 auto n =
pset.getParameterNames();
129 validatedLabels.insert(
n.begin(),
n.end());
133 std::ostream& os,
bool optional,
bool& startWithComma,
int indentation,
bool& wroteSomething)
const final {
144 wroteSomething =
true;
157 std::stringstream
ss;
158 ss << dfh.section() <<
"." << dfh.counter();
162 os <<
"Section " << newSection <<
" " <<
Factory::get()->category() <<
" Plugins description:\n";
168 unsigned int pluginCount = 0;
170 for (
auto const&
info :
173 if (previousName ==
info.name_) {
177 std::stringstream
ss;
178 ss << dfh.section() <<
"." << dfh.counter();
181 os <<
"Section " << newSection <<
"." << ++pluginCount <<
" " <<
info.name_ <<
" Plugin description:\n";
191 previousName =
info.name_;
228 std::shared_ptr<ParameterSetDescription> desc = std::make_shared<ParameterSetDescription>(a->description());
248 mutable std::shared_ptr<ParameterSetDescription>
cache_;
const CategoryToInfos & categoryToInfos() const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
static PluginManager & configure(const Config &)
def create(alignables, pedeDump, additionalData, outputFile, config)
bool partiallyExists_(ParameterSet const &pset) const final
std::string findType(edm::ParameterSet const &iPSet) const
PluginDescription(std::string typeLabel, bool typeLabelIsTracked)
static bool isAvailable()
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const final
void loadPlugin(std::string const &iName) const
std::shared_ptr< ParameterSetDescription > loadDescription(std::string const &iName) const
PluginManager::Config config()
ParameterDescriptionNode * clone() const final
static Factory const * get()
void printNestedContent_(std::ostream &os, bool, DocFormatHelper &dfh) const final
static void printSpaces(std::ostream &os, int n)
PluginDescription(std::string typeLabel, std::string defaultType, bool typeLabelIsTracked)
bool exists(ParameterSet const &pset) const
bool hasNestedContent_() const final
std::shared_ptr< ParameterSetDescription > cache_
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const final
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const final
int howManyXORSubNodesExist_(ParameterSet const &pset) const final
bool exists_(ParameterSet const &pset) const final
static PluginManager * get()