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