1 #ifndef Fireworks_Core_FWConfiguration_h 2 #define Fireworks_Core_FWConfiguration_h 23 #include <boost/scoped_ptr.hpp> 40 typedef std::vector<std::pair<std::string, FWConfiguration> >
KeyValues;
68 boost::scoped_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)
boost::scoped_ptr< std::vector< std::string > > m_stringValues
unsigned int version() const
FWConfiguration & operator=(const FWConfiguration &)
boost::scoped_ptr< std::vector< std::pair< std::string, FWConfiguration > > > m_keyValues
void swap(FWConfiguration &)
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
static void streamTo(std::ostream &oTo, const FWConfiguration &iConfig, const std::string &name)