yast2-core
|
#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 YCPBoolean | as_boolean (const YCPValue &v, const char *context) |
|
static |
Return the YCPBoolean or YCPNull if it is not one. Log an error.
References ycp2error.
Referenced by IniSection::setSectionProp().
|
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 pblah Martin Vidner os@s use.c zmvidn er@s use.c z
$Id$ Converts ycp value to string. Returns the string representation if the ycp value isn't a YCPString.
v | YCPValue to convert |
Referenced by IniSection::setMyValue().