12 #ifndef ZYPP_PARSER_INIDICT_H 13 #define ZYPP_PARSER_INIDICT_H 20 #include <zypp-core/base/InputStream> 23 #include <zypp-core/parser/IniParser> 45 using EntrySet = std::map<std::string, std::string>;
115 void insertEntry(
const std::string §ion,
116 const std::string &key,
117 const std::string &value );
125 void deleteSection(
const std::string §ion );
131 bool hasSection(
const std::string §ion )
const;
141 bool hasEntry(
const std::string §ion,
142 const std::string &entry )
const;
146 void consume(
const std::string §ion )
override;
148 void consume(
const std::string §ion,
149 const std::string &key,
150 const std::string &value )
override;
172 #endif // ZYPP_PARSER_INIDICT_H std::map< std::string, std::string > EntrySet
EntrySet _empty_map
empty map used to simulate iteration in non-existent sections
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
String related utilities and Regular expression matching.
std::map< std::string, EntrySet > SectionSet
std::ostream & operator<<(std::ostream &str, const ProductFileData &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
transform_iterator< GetPairFirst< typename MapType::value_type >, typename MapType::const_iterator > Key_const_iterator
The key iterator type.
Parses a INI file and offers its structure as a dictionary.
std::map< std::string, std::string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
EntrySet::const_iterator entry_const_iterator
MapKVIteratorTraits< SectionSet >::Key_const_iterator section_const_iterator
Easy-to use interface to the ZYPP dependency resolver.