2Patch level : 12.0 966

Files correlati     : ci1.exe
Commento            :

Aggiunta TString30

La stampoa rilevazione ore per commessa/CdC dave errore con codici commessa/Cdc più lunghi di 16 caratteri
This commit is contained in:
Alessandro Bonazzi 2020-06-04 19:08:38 +02:00
parent a4cb9fcf74
commit 436923a8fa

View File

@ -446,6 +446,23 @@ public:
};
class TString30 : public TFixed_string
{
char _str30[36];
protected:
virtual TObject* dup() const { return new TString30(_str30); }
public:
TString30(const char* s = "") : TFixed_string(_str30, 31) { set(s); }
TString30(const TString& s) : TFixed_string(_str30, 31) { set(s); }
TString30(const TString30& s) : TFixed_string(_str30, 31) { set(s); }
const TString& operator =(const char* s) { return set(s); }
const TString& operator =(const TString& s) { return set((const char*)s); }
const TString& operator =(const TString30& s) { return set((const char*)s); }
};
class TString40 : public TFixed_string
{
char _str40[48];