Patch level : 10.0 nopatch

Files correlati     : pd6342.exe
Ricompilazione Demo : [ ]
Commento

Habilita ripartizione ricorsiva step 2


git-svn-id: svn://10.65.10.50/branches/R_10_00@20906 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2010-09-26 16:05:44 +00:00
parent d41d970279
commit 1b354e7c86
2 changed files with 8 additions and 0 deletions

View File

@ -277,6 +277,13 @@ TRecnotype TCSV_recordset::new_rec(const char* rec)
return n;
}
void TCSV_recordset::create_columns(int cols)
{
_trc.destroy();
for (int i = 0; i < cols; i++)
_trc.add(new TRecordset_column_info);
}
bool TCSV_recordset::load_file(const TFilename& n)
{
if (!TText_recordset::load_file(n))

View File

@ -78,6 +78,7 @@ public:
virtual const TVariant& get(unsigned int column) const;
virtual TRecnotype new_rec(const char* buf = NULL);
virtual bool set(unsigned int fld, const TVariant& var);
virtual void create_columns(int cols);
virtual bool load_file(const TFilename& n);
public: