Aggiunto metodo reopen
git-svn-id: svn://10.65.10.50/trunk@1615 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
17f49f6998
commit
84e7862e52
@ -156,6 +156,23 @@ HIDDEN void openall(bool changestudy, TBit_array& excl, int oldmax, TBit_array&
|
||||
fatal_box("Can't reopen file n. %d : error n. %d", i + 1, err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// @mfunc Riapre tutti gli archivi della ditta attiva
|
||||
void TPrefix::reopen() const
|
||||
|
||||
{
|
||||
if (_prefix != ".")
|
||||
{
|
||||
TBit_array excl, comfiles;
|
||||
comfiles.set(LF_PCON);
|
||||
comfiles.set(LF_CLIFO);
|
||||
comfiles.set(LF_CAUSALI);
|
||||
comfiles.set(LF_RCAUSALI);
|
||||
int max = closeall(FALSE, excl, comfiles);
|
||||
|
||||
openall(FALSE, excl, max, comfiles);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -79,6 +79,9 @@ public:
|
||||
bool is_com() const
|
||||
{ return !is_firm();}
|
||||
|
||||
// @cmember Riapre tutti gli archivi della ditta attiva
|
||||
void reopen() const ;
|
||||
|
||||
// @cmember Costruttore
|
||||
TPrefix();
|
||||
// @cmember Distruttore
|
||||
|
Loading…
x
Reference in New Issue
Block a user