1 #ifndef WIRECELL_CONFIGMANAGER 2 #define WIRECELL_CONFIGMANAGER 46 int size()
const {
return m_top.size(); }
std::vector< ClassInstance > configurables() const
std::pair< std::string, std::string > ClassInstance
Return a list of all known configurables.
void extend(Configuration more)
Extend current list of configuration objects with more.
Configuration all() const
Return top-level, aggregate configuration.
int size() const
Return the number of configuration objects.
Configuration at(int index) const
int add(Configuration &cfg)
int index(const std::string &type, const std::string &name="") const
Json::Value Configuration
Configuration pop(int ind)
Remove configuration at given index and return it.