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 Fri Jun 16 18:07:45 2006 for yast2-core by  doxygen 1.4.6