00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: YUI_util.h 00014 00015 Author: Stefan Hundhammer <sh@suse.de> 00016 00017 /-*/ 00018 00019 // -*- c++ -*- 00020 00021 #ifndef YUI_util_h 00022 #define YUI_util_h 00023 00024 #include <ycp/YCPString.h> 00025 #include <ycp/YCPVoid.h> 00026 #include <ycp/YCPTerm.h> 00027 #include <ycp/YCPInteger.h> 00028 #include <ycp/YCPFloat.h> 00029 #include <ycp/YCPMap.h> 00030 #include <ycp/YCPBoolean.h> 00031 00032 00036 bool isNum( const YCPValue & val ); 00037 00041 float toFloat( const YCPValue & val ); 00042 00043 00044 00045 00046 #endif // YUI_util_h