Aggiunte le funzioni rewriteat.

git-svn-id: svn://10.65.10.50/trunk@44 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1994-08-22 11:10:49 +00:00
parent 76f5246fab
commit 22611ac7b5

View File

@ -451,6 +451,22 @@ int TBaseisamfile::rewrite(const TRectype& rec, TDate& atdate)
}
int TBaseisamfile::rewriteat(TRecnotype nrec)
{
NOT_OPEN(name());
return cisrewrec(_isamfile, nrec, curr().string(), &_lasterr);
}
int TBaseisamfile::rewriteat(const TRectype& rec, TRecnotype nrec)
{
NOT_OPEN(name());
return cisrewrec(_isamfile, nrec, curr().string(), &_lasterr);
}
int TBaseisamfile::remove(TDate& atdate)
{
@ -1048,7 +1064,7 @@ int TSystemisamfile::dump(const char* to, int nkey, char fs, char fd, char rs, b
for (i = 0; i < nitems && !p.iscancelled(); i++)
{
p.setstatus(i + 1);
readat(i);
readat(i + 1);
s="";
if (withdeleted || curr().valid())
{