Patch level : 4.0

Files correlati     : cg3
Ricompilazione Demo : [ ]
Commento            :
Aggiunto insertore per TVariant


git-svn-id: svn://10.65.10.50/trunk@14987 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2007-03-06 13:57:11 +00:00
parent b727f250cd
commit c75c684458
2 changed files with 6 additions and 0 deletions

View File

@ -200,6 +200,11 @@ void TVariant::copy(const TVariant& var)
}
}
void TVariant::print_on(ostream& out) const
{
out << as_string();
}
bool TVariant::is_kind_of(word cid) const
{
return cid == CLASS_VARIANT || TSortable::is_kind_of(cid);

View File

@ -59,6 +59,7 @@ public:
void convert_to(TFieldtypes ft);
virtual void print_on(ostream& out) const;
virtual int compare(const TSortable& s) const;
TVariant& add(const TVariant& var);
TVariant& sub(const TVariant& var);