libzypp 17.38.5

econfdict.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
11#ifndef ZYPP_PARSER_ECONFDICT_H
12#define ZYPP_PARSER_ECONFDICT_H
13
14#include <zypp-core/parser/IniDict>
15#include <zypp-core/parser/ParseException>
16#include <zypp-core/Pathname.h>
17
18 namespace zypp::parser {
19
35 struct EconfDict : public IniDict
36 {
37 EconfDict();
38 EconfDict( const std::string & stem_r, const Pathname & root_r = Pathname("/") );
39
40 static Pathname defaultDistconfDir();
41 static void defaultDistconfDir( Pathname path_r );
42 };
43} // namespace zypp::parser
44#endif // ZYPP_PARSER_ECONFDICT_H
Pathname.h
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:48
zypp::parser::IniDict::IniDict
IniDict(const InputStream &is, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc())
Creates a dictionary from a InputStream containing a ini structured file.
Definition inidict.cc:40
zypp::parser
Definition HistoryLogReader.cc:30
zypp::parser::EconfDict::defaultDistconfDir
static Pathname defaultDistconfDir()
Where the vendor configuration files live (APIConfig(LIBZYPP_ZYPPCONFDIR)).
Definition econfdict.cc:168
zypp::parser::EconfDict::EconfDict
EconfDict()
Definition econfdict.cc:156