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:
parent
d41d970279
commit
1b354e7c86
@ -277,6 +277,13 @@ TRecnotype TCSV_recordset::new_rec(const char* rec)
|
|||||||
return n;
|
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)
|
bool TCSV_recordset::load_file(const TFilename& n)
|
||||||
{
|
{
|
||||||
if (!TText_recordset::load_file(n))
|
if (!TText_recordset::load_file(n))
|
||||||
|
@ -78,6 +78,7 @@ public:
|
|||||||
virtual const TVariant& get(unsigned int column) const;
|
virtual const TVariant& get(unsigned int column) const;
|
||||||
virtual TRecnotype new_rec(const char* buf = NULL);
|
virtual TRecnotype new_rec(const char* buf = NULL);
|
||||||
virtual bool set(unsigned int fld, const TVariant& var);
|
virtual bool set(unsigned int fld, const TVariant& var);
|
||||||
|
virtual void create_columns(int cols);
|
||||||
virtual bool load_file(const TFilename& n);
|
virtual bool load_file(const TFilename& n);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user