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
@ -158,6 +158,23 @@ HIDDEN void openall(bool changestudy, TBit_array& excl, int oldmax, TBit_array&
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// @mfunc Setta la ditta corrente
|
// @mfunc Setta la ditta corrente
|
||||||
void TPrefix::set(
|
void TPrefix::set(
|
||||||
|
@ -79,6 +79,9 @@ public:
|
|||||||
bool is_com() const
|
bool is_com() const
|
||||||
{ return !is_firm();}
|
{ return !is_firm();}
|
||||||
|
|
||||||
|
// @cmember Riapre tutti gli archivi della ditta attiva
|
||||||
|
void reopen() const ;
|
||||||
|
|
||||||
// @cmember Costruttore
|
// @cmember Costruttore
|
||||||
TPrefix();
|
TPrefix();
|
||||||
// @cmember Distruttore
|
// @cmember Distruttore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user