1 #ifndef Fireworks_Core_FWConfiguration_h
2 #define Fireworks_Core_FWConfiguration_h
40 typedef std::vector<std::pair<std::string, FWConfiguration> >
KeyValues;
68 std::unique_ptr<std::vector<std::pair<std::string, FWConfiguration> > >
m_keyValues;
const StringValues * stringValues() const
FWConfiguration(unsigned int iVersion=1)
const KeyValues * keyValues() const
FWConfiguration(const std::string &iValue)
void streamTo(std::ostream &, const FWConfiguration &, const std::string &name)
unsigned int version() const
FWConfiguration & operator=(const FWConfiguration &)
void swap(FWConfiguration &)
std::unique_ptr< std::vector< std::pair< std::string, FWConfiguration > > > m_keyValues
std::vector< std::pair< std::string, FWConfiguration > > KeyValues
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
const std::string & value(unsigned int iIndex=0) const
FWConfiguration & addValue(const std::string &)
virtual ~FWConfiguration()
KeyValues::const_iterator KeyValuesIt
std::vector< std::string > StringValues
const FWConfiguration * valueForKey(const std::string &iKey) const
StringValues::const_iterator StringValuesIt
std::unique_ptr< std::vector< std::string > > m_stringValues
static void streamTo(std::ostream &oTo, const FWConfiguration &iConfig, const std::string &name)