4 #include "Kernel_global.h" 
    9 class KERNELSHARED_EXPORT 
Symbol{
 
   11     Symbol(
int scope=iUNDEF, quint64 tp=itUNKNOWN, 
const QVariant& v=QVariant()) ;
 
   23     enum GetAction { gaKEEP, gaREMOVE, gaREMOVEIFANON};
 
   27     void addSymbol(
const QString& name, 
int scope, quint64 tp, 
const QVariant &v=QVariant());
 
   28     QVariant getValue(
const QString& name, 
int scope=1000) 
const;
 
   29     Symbol getSymbol(
const QString& name, GetAction act=gaKEEP, 
int scope=1000);
 
   30     Symbol getSymbol(
const QString& name, 
int scope=1000) 
const;
 
   32     IlwisTypes ilwisType(
const QVariant &value, 
const QString &symname) 
const;
 
   34     static bool isNumerical(
const QVariant &var) ;
 
   35     static bool isRealNumerical(
const QVariant &var) ;
 
   36     static bool isIntegerNumerical(
const QVariant &var) ;
 
   37     static bool isDataLink(
const QVariant &value);
 
   38     static QString newAnonym();
 
   39     static bool isString(
const QVariant &var);
 
   42     QHash<QString, Symbol> _symbols;
 
   43     static quint64 _symbolid;
 
   50 #endif // SYMBOLTABLE_H