5 #ifndef BALL_FORMAT_PARAMFILE_H
6 #define BALL_FORMAT_PARAMFILE_H
11 #include <QtCore/QXmlStreamReader>
12 #include <QtCore/QXmlStreamWriter>
13 #include <QtCore/QFile>
56 allowed_values.clear();
57 supported_formats.clear();
89 const String& category,
const std::list<std::pair<String,ParameterDescription> >& descriptions,
90 const std::map<
String,list<String> >& values);
97 String& category, std::list<std::pair<String, ParameterDescription> >& descriptions,
98 std::map<
String,list<String> >& values,
99 bool overwrite_existing=
false);
130 std::set<String> getTags(QXmlStreamAttributes& attributes);
void readSection(String &tool_name, String §ion_description, String &version, String §ion_helptext, String &category, std::list< std::pair< String, ParameterDescription > > &descriptions, std::map< String, list< String > > &values, bool overwrite_existing=false)
ParamFile(const String &name, File::OpenMode open_mode)
static String buildNestedParameterName(const String &category, const String ¶meter_name)
QXmlStreamWriter * xmlOut_
static Size parseNestedParameterName(const String ¶meter_name, String string_array[])
QXmlStreamReader * xmlIn_
void writeSection(String section_name, String section_description, String version, const String §ion_helptext, const String &category, const std::list< std::pair< String, ParameterDescription > > &descriptions, const std::map< String, list< String > > &values)
File::OpenMode open_mode_
list< String > allowed_values
list< String > supported_formats
std::ios::openmode OpenMode