YUI_util.h File Reference

#include <ycp/YCPString.h>
#include <ycp/YCPVoid.h>
#include <ycp/YCPTerm.h>
#include <ycp/YCPInteger.h>
#include <ycp/YCPFloat.h>
#include <ycp/YCPMap.h>
#include <ycp/YCPBoolean.h>

Go to the source code of this file.

Functions

bool isNum (const YCPValue &val)
float toFloat (const YCPValue &val)


Function Documentation

bool isNum ( const YCPValue val  ) 

Check if a YCPValue is a numerical value (YCPInteger or YCPFloat).

float toFloat ( const YCPValue val  ) 

Convert a numerical YCPValue (YCPInteger or YCPFloat) to float.


Generated on Tue Nov 6 01:20:21 2007 for yast2-core by  doxygen 1.5.0