X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftype.h;h=85cfec40f2afc9aa79f38d646baf64dea473cd0a;hb=bdd957e58dc6fdaa3cac1202daf0d16d41491278;hp=701a5dc9786533f930e6c49778988f6816f83189;hpb=10c7c4157f02e3abbb7a0505bfc2985b67e04043;p=libs%2Fdatafile.git diff --git a/source/type.h b/source/type.h index 701a5dc..85cfec4 100644 --- a/source/type.h +++ b/source/type.h @@ -52,6 +52,16 @@ struct SymbolType typedef Symbol Store; }; +const char valid_signatures[] = +{ + IntType::signature, + FloatType::signature, + BoolType::signature, + StringType::signature, + SymbolType::signature, + 0 +}; + template struct HasLoadType { @@ -113,6 +123,12 @@ struct TypeInfo: BoolType { }; template<> struct TypeInfo: StringType { }; +template<> +struct TypeInfo: StringType { }; + +template<> +struct TypeInfo: StringType { }; + template struct TypeInfo: TypeInfo { };