Eliminato parametro data
git-svn-id: svn://10.65.10.50/trunk@4491 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e8642aaab8
commit
0a4be9355c
@ -64,9 +64,9 @@ int TMovimentoPN::read_mov_rows()
|
||||
}
|
||||
|
||||
|
||||
int TMovimentoPN::read(TIsamop op, TReclock lockop, TDate& atdate)
|
||||
int TMovimentoPN::read(TIsamop op, TReclock lockop)
|
||||
{
|
||||
const int err = TRelation::read(op, lockop, atdate);
|
||||
const int err = TRelation::read(op, lockop);
|
||||
if (err == NOERR)
|
||||
{
|
||||
_olddate = file().get("DATAREG"); // Memorizza data operazione per aggiornare i saldi
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
virtual int first(TReclock lockop = _nolock) { return (file().first(lockop) || read_mov_rows()); }
|
||||
virtual int last(TReclock lockop = _nolock) { return (file().last(lockop) || read_mov_rows()); }
|
||||
virtual int skip(TRecnotype nrec, TReclock lockop = _nolock) { return (file().skip(nrec, lockop) || read_mov_rows()); }
|
||||
virtual int read(TIsamop op = _isgteq, TReclock lockop = _nolock, TDate& atdate = (TDate&)botime);
|
||||
virtual int read(TIsamop op = _isgteq, TReclock lockop = _nolock);
|
||||
virtual int write (bool force = TRUE, TDate& atdate = (TDate&)botime);
|
||||
virtual int rewrite(bool force = TRUE, TDate& atdate = (TDate&)botime);
|
||||
virtual int remove (TDate& atdate = (TDate&)botime);
|
||||
|
@ -75,9 +75,9 @@ int TTree_rectype::fill_array()
|
||||
}
|
||||
|
||||
|
||||
int TTree_rectype::read(TBaseisamfile& f, word op, word lockop, TDate& date)
|
||||
int TTree_rectype::read(TBaseisamfile& f, word op, word lockop)
|
||||
{
|
||||
int err = TRectype::read(f, op, lockop, date);
|
||||
int err = TRectype::read(f, op, lockop);
|
||||
if (err == NOERR)
|
||||
fill_array();
|
||||
else
|
||||
@ -95,25 +95,25 @@ int TTree_rectype::next(TBaseisamfile& f, word lockop)
|
||||
return err;
|
||||
}
|
||||
|
||||
int TTree_rectype::write(TBaseisamfile& f, TDate& date) const
|
||||
int TTree_rectype::write(TBaseisamfile& f) const
|
||||
{
|
||||
int err = TRectype::write(f, date);
|
||||
int err = TRectype::write(f);
|
||||
if (err == NOERR)
|
||||
err = _recarr.write();
|
||||
return err;
|
||||
}
|
||||
|
||||
int TTree_rectype::rewrite(TBaseisamfile& f, TDate& date) const
|
||||
int TTree_rectype::rewrite(TBaseisamfile& f) const
|
||||
{
|
||||
int err = TRectype::rewrite(f, date);
|
||||
int err = TRectype::rewrite(f);
|
||||
if (err == NOERR)
|
||||
err = _recarr.rewrite();
|
||||
return err;
|
||||
}
|
||||
|
||||
int TTree_rectype::remove(TBaseisamfile& f, TDate& date) const
|
||||
int TTree_rectype::remove(TBaseisamfile& f) const
|
||||
{
|
||||
int err = TRectype::remove(f, date);
|
||||
int err = TRectype::remove(f);
|
||||
if (err == NOERR)
|
||||
err = _recarr.remove();
|
||||
return err;
|
||||
|
@ -26,11 +26,11 @@ protected:
|
||||
protected: // TRectype
|
||||
virtual TObject* dup() const;
|
||||
|
||||
virtual int read(TBaseisamfile& f, word op = _isequal, word lockop = _nolock, TDate& = (TDate&)botime);
|
||||
virtual int read(TBaseisamfile& f, word op = _isequal, word lockop = _nolock);
|
||||
virtual int next(TBaseisamfile& f, word lockop = _nolock);
|
||||
virtual int write(TBaseisamfile& f, TDate& atdate = (TDate&)botime) const;
|
||||
virtual int rewrite(TBaseisamfile& f, TDate& atdate = (TDate&)botime) const;
|
||||
virtual int remove(TBaseisamfile& f, TDate& atdate = (TDate&)botime) const;
|
||||
virtual int write(TBaseisamfile& f) const;
|
||||
virtual int rewrite(TBaseisamfile& f) const;
|
||||
virtual int remove(TBaseisamfile& f) const;
|
||||
virtual void renum_key(const char* field, const char* val);
|
||||
|
||||
const TRecord_array& rows_array() const { return _recarr; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user