#include <ycp/y2log.h>
#include <stdio.h>
#include <ctype.h>
#include <set>
#include <cassert>
#include "IniFile.h"
#include "IniParser.h"
Functions | |
string | to_string (const YCPValue &v) |
static YCPList | as_list (const YCPValue &v, const char *context) |
static YCPString | as_string (const YCPValue &v, const char *context) |
static YCPInteger | as_integer (const YCPValue &v, const char *context) |
static YCPInteger as_integer | ( | const YCPValue & | v, | |
const char * | context | |||
) | [static] |
Return the YCPInteger or YCPNull if it is not one. Log an error.
References ycp2error.
Referenced by IniSection::setMyValue(), and IniSection::setSectionProp().
Return the YCPList or YCPNull if it is not one. Log an error.
References ycp2error.
Referenced by IniSection::setMyValue(), and IniSection::setSectionProp().
Return the YCPString or YCPNull if it is not one. Log an error.
References ycp2error.
Referenced by IniSection::setMyValue(), and IniSection::setSectionProp().
string to_string | ( | const YCPValue & | v | ) |
YaST2: Core system
Description: YaST2 SCR: Ini file agent.
Authors: Petr Blahos <pblahos@suse.cz> Martin Vidner <mvidner@suse.cz>
v | YCPValue to convert |
Referenced by IniSection::setMyValue().